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

[bug] SmoothedAnimation giving Segmentation Fault [not relevant]

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

kimmoli gravatar image

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

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

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

Robin Burchell _ w00t gravatar image

Can you provide a small example demonstrating the problem?

edit flag offensive delete publish link more


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 +0300 )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 +0300 )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 +0300 )edit

Question tools



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

Seen: 80 times

Last updated: Jan 05 '14