Hello,

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


For the second, I have a SilicaListView with images in the sections. If I click 
on an Item and come back quickly on this page, once in a while I get:

Program received signal SIGSEGV, Segmentation fault.
QQuickWindowPrivate::polishItems (this=0x2a0352c0) at items/qquickwindow.cpp:258
258     items/qquickwindow.cpp: No such file or directory.
(gdb) backtrace
#0  QQuickWindowPrivate::polishItems (this=0x2a0352c0) at 
items/qquickwindow.cpp:258
#1  0x4019856c in polishAndSync (this=0x2a032f50) at 
scenegraph/qsgthreadedrenderloop.cpp:1002
#2  QSGThreadedRenderLoop::polishAndSync (this=0x2a032f50) at 
scenegraph/qsgthreadedrenderloop.cpp:978
#3  0x40199038 in QSGThreadedRenderLoop::event (this=<optimized out>, 
e=<optimized out>) at scenegraph/qsgthreadedrenderloop.cpp:1070
#4  0x40b71f8c in QCoreApplicationPrivate::notify_helper (this=0x2a016d88, 
receiver=0x2a032f50, event=0xbefff544) at kernel/qcoreapplication.cpp:992
#5  0x40b71fe4 in QCoreApplication::notify (this=<optimized out>, 
receiver=<optimized out>, event=<optimized out>) at 
kernel/qcoreapplication.cpp:937
#6  0x40b71c78 in QCoreApplication::notifyInternal (this=0x2a015af8, 
receiver=<optimized out>, event=0xbefff544) at kernel/qcoreapplication.cpp:875
#7  0x40bbc520 in sendEvent (event=0xbefff53c, receiver=<optimized out>) at 
../../src/corelib/kernel/qcoreapplication.h:232


Thank you for any advice you can give me. (I can provide the complete backtrace)

-- 
Sylvain.
                                          
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to