Re: [SailfishDevel] Segmentation fault: No such file or directory.
From: aaron.mccar...@jolla.com To: devel@lists.sailfishos.org Date: Tue, 28 Jan 2014 11:19:12 +1000 Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory. Hi, I replied to a duplicate email off list. Yes sorry my bad, I originally replied only to you by mistake and then forwarded my answer to the mailing list.Thanks for all the clarifications, I am copying your original email on the list in case other people want to follow the issue. From: aaron.mccar...@jolla.com To: sth...@hotmail.com Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory. Date: Tue, 28 Jan 2014 10:57:07 +1000 On Fri, 24 Jan 2014 10:36:23 you wrote: I did more tests today in the subway with a limited connectivity and it was actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace suggest, it has something to do with the caching operation.Now that I have a better 3G connectivity, I can reproduce it more often but not as often than yesterday in Wifi. It never occurs at the first attempt, I'd say I have to try between 2 and 10 times, it depends, while in Wifi it was almost always crashing at the first attempt. When not panning the Map, it occurs less frequently, but I am not sure how frequently. I will make more tests this WE. But If I simply push/pop/push/pop/... the Map without panning it, it never crashes. Ok, thank you for this information. While we're talking about Maps, I have some questions:You have entered this bug in your tracking system because I am using the Nokia plugin? No it is a general issue which would affect all plugins that use the tile cache implementation provided by Qt Location. In fact I should have filed it upstream in the Qt bug tracker. I have done so now, see https://bugreports.qt-project.org/browse/QTBUG-36486 Or do you work on the general Map API? I work mostly in positioning (GPS etc), location (including Maps application) and connectivity, including the Qt libraries. The underlying question are: where to report Map bugs? It varies. General questions go to devel@lists.sailfishos.org. Bug reports for Jolla go either to devel@lists.sailfishos.org or together.jolla.com, I monitor both places. If you are sure it is a bug that affects upstream Qt, then you can file bug reports at bugreports.qt-project.org. And why the only available docs are on developer.ubuntu.com? Because Qt Location has not been officially released yet. You will find documentation for Qt Positioning at http://qt-project.org/doc with the reset of the Qt 5.2 documentation. Once Qt Location is official released its documentation will appear there as well. Neither Qt Positioning nor Qt Location is an officially supported API for SailfishOS yet. Qt Positioning will be once SailfishOS is updated to Qt 5.2. Qt Location once it is released upstream. This is why neither of these APIs are documented with the rest of the SailfishOS documentation in the SDK. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Segmentation fault: No such file or directory.
Hi, I replied to a duplicate email off list. On Fri, 24 Jan 2014 12:22:25 Sylvain B. wrote: I did more tests today in the subway with a limited connectivity and it was actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace suggest, it has something to do with the caching operation.Now that I have a better 3G connectivity, I can reproduce it more often but not as often than yesterday in Wifi. It never occurs at the first attempt, I'd say I have to try between 2 and 10 times, it depends, while in Wifi it was almost always crashing at the first attempt. When not panning the Map, it occurs less frequently, but I am not sure how frequently. I will make more tests this WE. But If I simply push/pop/push/pop/... the Map without panning it, it never crashes. Thanks for the information. And why the only available docs are on developer.ubuntu.com? Qt Positioning and Qt Location are not currently supported APIs in SailfishOS. Once they are their documentation will be available with the rest of the SailfishOS developer documentation. Qt Positioning documentation is available as part of the Qt 5.2 docs at qt- project.org/doc. Qt Location has not been officially released yet. Once it is it will be documented there as well. Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Segmentation fault: No such file or directory.
Thank you Aaron, I did more tests today in the subway with a limited connectivity and it was actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace suggest, it has something to do with the caching operation.Now that I have a better 3G connectivity, I can reproduce it more often but not as often than yesterday in Wifi. It never occurs at the first attempt, I'd say I have to try between 2 and 10 times, it depends, while in Wifi it was almost always crashing at the first attempt. When not panning the Map, it occurs less frequently, but I am not sure how frequently. I will make more tests this WE. But If I simply push/pop/push/pop/... the Map without panning it, it never crashes. While we're talking about Maps, I have some questions:You have entered this bug in your tracking system because I am using the Nokia plugin? Or do you work on the general Map API? The underlying question are: where to report Map bugs? And why the only available docs are on developer.ubuntu.com? Regards,Sylvain. From: aaron.mccar...@jolla.com To: devel@lists.sailfishos.org Date: Fri, 24 Jan 2014 11:21:02 +1000 Subject: Re: [SailfishDevel] Segmentation fault: No such file or directory. Hi, On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote: I am facing some segfaults so I've decided to install GDB and the debug packages of some Qt5 libs on my phone (Hope that won't cause issues with future Sailfish updates?). But this does not help me, since they apparently aren't coming from my code. For the first, I have a back button on a Map. If I start a flick and I press the back button while the Map is still flicking, it crashes. But it also crashes sometimes when the flick has finished so I can't simply test that flick is finished before doing the pagestack.pop(): Program received signal SIGSEGV, Segmentation fault. QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at tools/qstring.cpp:2727 2727tools/qstring.cpp: No such file or directory. (gdb) backtrace #0 QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at tools/qstring.cpp:2727 #1 0x40089bf0 in QGeoTileCache::~QGeoTileCache (this=0x400a750c, __in_chrg=optimized out) at maps/qgeotilecache.cpp:202 #2 0x4008a06c in QGeoTileCache::~QGeoTileCache (this=0x2ad71fd0, __in_chrg=optimized out) at maps/qgeotilecache.cpp:208 #3 0x4007ad98 in QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate (this=0x2a2b6b10, __in_chrg=optimized out) at maps/qgeotiledmappingmanagerengine.cpp:328 #4 0x4007aefc in QGeoTiledMappingManagerEngine::~QGeoTiledMappingManagerEngine (this=0x2a4d5a68, __in_chrg=optimized out) at maps/qgeotiledmappingmanagerengine.cpp:68 #5 0x47ca43b0 in QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia (this=0x2a4d5a68, __in_chrg=optimized out) at qgeotiledmappingmanagerengine_nokia.cpp:139 #6 0x47ca43fc in QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia (this=0x2a4d5a68, __in_chrg=optimized out) at qgeotiledmappingmanagerengine_nokia.cpp:139 #7 0x4007a210 in ~QGeoMappingManagerPrivate (this=0x2a84d6c0, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:190 #8 QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:96 #9 0x4007a244 in QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:97 Thank you for reporting this. I have created a bug for it in our bug tracking system. Does the crash happen every time when popping the pagestack while the Map is still panning? How frequently does it happen when not panning the Map? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Segmentation fault: No such file or directory.
Hi, On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote: I am facing some segfaults so I've decided to install GDB and the debug packages of some Qt5 libs on my phone (Hope that won't cause issues with future Sailfish updates?). But this does not help me, since they apparently aren't coming from my code. For the first, I have a back button on a Map. If I start a flick and I press the back button while the Map is still flicking, it crashes. But it also crashes sometimes when the flick has finished so I can't simply test that flick is finished before doing the pagestack.pop(): Program received signal SIGSEGV, Segmentation fault. QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at tools/qstring.cpp:2727 2727tools/qstring.cpp: No such file or directory. (gdb) backtrace #0 QString::lastIndexOf (this=0x4, ch=..., from=-1, cs=Qt::CaseSensitive) at tools/qstring.cpp:2727 #1 0x40089bf0 in QGeoTileCache::~QGeoTileCache (this=0x400a750c, __in_chrg=optimized out) at maps/qgeotilecache.cpp:202 #2 0x4008a06c in QGeoTileCache::~QGeoTileCache (this=0x2ad71fd0, __in_chrg=optimized out) at maps/qgeotilecache.cpp:208 #3 0x4007ad98 in QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate (this=0x2a2b6b10, __in_chrg=optimized out) at maps/qgeotiledmappingmanagerengine.cpp:328 #4 0x4007aefc in QGeoTiledMappingManagerEngine::~QGeoTiledMappingManagerEngine (this=0x2a4d5a68, __in_chrg=optimized out) at maps/qgeotiledmappingmanagerengine.cpp:68 #5 0x47ca43b0 in QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia (this=0x2a4d5a68, __in_chrg=optimized out) at qgeotiledmappingmanagerengine_nokia.cpp:139 #6 0x47ca43fc in QGeoTiledMappingManagerEngineNokia::~QGeoTiledMappingManagerEngineNokia (this=0x2a4d5a68, __in_chrg=optimized out) at qgeotiledmappingmanagerengine_nokia.cpp:139 #7 0x4007a210 in ~QGeoMappingManagerPrivate (this=0x2a84d6c0, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:190 #8 QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:96 #9 0x4007a244 in QGeoMappingManager::~QGeoMappingManager (this=0x2a51a010, __in_chrg=optimized out) at maps/qgeomappingmanager.cpp:97 Thank you for reporting this. I have created a bug for it in our bug tracking system. Does the crash happen every time when popping the pagestack while the Map is still panning? How frequently does it happen when not panning the Map? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list