We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

[bug] SmoothedAnimation giving Segmentation Fault [not relevant]

asked 2014-01-04 01:44:31 +0200

kimmoli gravatar image

updated 2014-01-04 14:17:48 +0200

penpen gravatar image

While porting N9 app to Sailfish, i suffered from sporadic Segmentation Faults. (QtQuick 2.0) After some debugging, i isolated it to animation (Behaviour on x/y) using SmoothedAnimation.

Googling this issue gives some hits

My workaround was to use NumberedAnimation.

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by kimmoli
close date 2014-10-11 21:44:43.030000

1 Answer

Sort by » oldest newest most voted
0

answered 2014-01-05 21:13:28 +0200

Robin Burchell _ w00t gravatar image

Can you provide a small example demonstrating the problem?

edit flag offensive delete publish link more

Comments

It is difficult to isolate (SSCCE (look dad, I have learned something)) as i have succesfully used SmoothedAnimation in other apps, but it fails on this app, which i did port from N9 to Sailfisu. As it now works with numberedanimation, i have no big rush to look this now. I will try in a week or so.

kimmoli ( 2014-01-05 21:42:11 +0200 )edit

Thanks! I know it can be frustrating to do, but it helps get to the bottom of problems immensely. Without a clear example showing off the issue, it can be really hard to get to the bottom & fix things.

Robin Burchell _ w00t ( 2014-01-05 21:49:14 +0200 )edit

I used one night to printf (or console.log) debug it out. My emulator doesn't work, so had to run on real device.

kimmoli ( 2014-01-05 21:50:41 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2014-01-04 01:44:31 +0200

Seen: 105 times

Last updated: Jan 05 '14