[SailfishDevel] Segmentation fault: No such file or directory.

Sylvain B. sthocs at hotmail.com
Fri Jan 24 12:22:25 UTC 2014


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.mccarthy at jolla.com
> To: devel at 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 2727    tools/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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140124/3fbe72b4/attachment.html>


More information about the Devel mailing list