Bug 182827 - Marble widget crashes (SIGSEGV)
Summary: Marble widget crashes (SIGSEGV)
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Torsten Rahn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 06:33 UTC by Xavier Fung
Modified: 2018-08-27 17:11 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Fung 2009-02-02 06:33:32 UTC
Version:            (using Devel)
Compiler:          gcc version 4.3.3 (Ubuntu 4.3.3-3ubuntu1) 
OS:                Linux
Installed from:    Compiled sources

It is compiled using the build script kdesvn-build and it simply crashes after the displaying the splash screen. Here is the backtrace.

Application: digiKam (digikam), signal SIGSEGV
[Current thread is 0 (LWP 7830)]

Thread 10 (Thread 0xb348ab90 (LWP 7831)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb625e0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62c1982 in QWaitCondition::wait (this=0x9246db8, mutex=0x9246db4, time=4294967295) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0x0828a009 in Digikam::ScanController::run (this=0x9246b80) at /media/disk/kdesvn/extragear-graphics/digikam/digikam/scancontroller.cpp:412
#4  0xb62c0bc0 in QThreadPrivate::start (arg=0x9246b80) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb625a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb58183fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb21b5b90 (LWP 7834)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb625e0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62c1982 in QWaitCondition::wait (this=0x9470d58, mutex=0x9470d54, time=4294967295) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb71bc2ea in Digikam::LoadSaveThread::run (this=0x9470d48) at /media/disk/kdesvn/extragear-graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb62c0bc0 in QThreadPrivate::start (arg=0x9470d48) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb625a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb58183fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb2a06b90 (LWP 7835)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb625e0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62c1982 in QWaitCondition::wait (this=0x952b290, mutex=0x952b28c, time=4294967295) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb71bc2ea in Digikam::LoadSaveThread::run (this=0x952b280) at /media/disk/kdesvn/extragear-graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb62c0bc0 in QThreadPrivate::start (arg=0x952b280) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb625a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb58183fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xae9adb90 (LWP 7836)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb625e412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xaf53eaf3 in ?? () from /usr/lib/libxine.so.1

Thread 6 (Thread 0xadccdb90 (LWP 7837)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb5810741 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xaf56837e in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 5 (Thread 0xad4ccb90 (LWP 7838)):
#0  0xb625ba2c in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb52aa65c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb52ab26d in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb52ab541 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb63c2767 in QEventDispatcherGlib::processEvents (this=0x95f3400, flags={i = -1387478440}) at /media/disk/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:321
#5  0xb639a6fa in QEventLoop::processEvents (this=0xad4cc2c0, flags={i = -1387478376}) at /media/disk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#6  0xb639a8ba in QEventLoop::exec (this=0xad4cc2c0, flags={i = -1387478328}) at /media/disk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:190
#7  0xb62bdd33 in QThread::exec (this=0x95922b0) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qthread.cpp:458
#8  0xaf58cb62 in Phonon::Xine::XineThread::run (this=0x95922b0) at /media/disk/kdesvn/kdesupport/phonon/xine/xinethread.cpp:143
#9  0xb62c0bc0 in QThreadPrivate::start (arg=0x95922b0) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#10 0xb625a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb58183fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa8ccab90 (LWP 7844)):
#0  0xb625d0c6 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xae11eb5a in ?? () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xaccc5b90 (LWP 7845)):
#0  0xb7eef430 in __kernel_vsyscall ()
#1  0xb625e0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xaf54fc36 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xaaaf8b90 (LWP 7855)):
#0  0xb62ffd2d in QString::operator= (this=0xaaaf7e68, other=@0xaaaf7e60) at ../../include/QtCore/../../../../qt-copy/src/corelib/arch/qatomic_i386.h:128
#1  0xb62b9d7b in qt_error_string (errorCode=9) at /media/disk/kdesvn/qt-copy/src/corelib/global/qglobal.cpp:2000
#2  0xb637589c in QFSFileEnginePrivate::readFdFh (this=0xa4ff128, data=0xaaaf80b4 "d\201���\200��", len=8) at /media/disk/kdesvn/qt-copy/src/corelib/io/qfsfileengine.cpp:630
#3  0xb637b845 in QFSFileEnginePrivate::nativeRead (this=0xa4ff128, data=0xaaaf80b4 "d\201���\200��", len=8) at /media/disk/kdesvn/qt-copy/src/corelib/io/qfsfileengine_unix.cpp:301
#4  0xb6374c64 in QFSFileEngine::read (this=0xa6ac8f8, data=0xaaaf80b4 "d\201���\200��", maxlen=8) at /media/disk/kdesvn/qt-copy/src/corelib/io/qfsfileengine.cpp:590
#5  0xb633847e in QFile::readData (this=0xaaaf8154, data=0xaaaf80b4 "d\201���\200��", len=8) at /media/disk/kdesvn/qt-copy/src/corelib/io/qfile.cpp:1465
#6  0xb633e492 in QIODevice::read (this=0xaaaf8154, data=0xaaaf80b4 "d\201���\200��", maxSize=8) at /media/disk/kdesvn/qt-copy/src/corelib/io/qiodevice.cpp:825
#7  0xb632bf71 in QDataStream::operator>> (this=0xaaaf810c, f=@0xaaaf8140) at /media/disk/kdesvn/qt-copy/src/corelib/io/qdatastream.cpp:753
#8  0xb6e7c0cd in Marble::PlaceMarkLoader::loadFile (this=0xa67d478, filename=@0xaaaf8314, placeMarkContainer=0xa53cac8) at /media/disk/kdesvn/kdeedu/marble/src/lib/PlaceMarkLoader.cpp:278
#9  0xb6e7cb99 in Marble::PlaceMarkLoader::run (this=0xa67d478) at /media/disk/kdesvn/kdeedu/marble/src/lib/PlaceMarkLoader.cpp:96
#10 0xb62c0bc0 in QThreadPrivate::start (arg=0xa67d478) at /media/disk/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#11 0xb625a4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb58183fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4a96920 (LWP 7830)):
[KCrash Handler]
#6  0xb62fd42b in QString::operator== (this=0x9c808ac, other=@0xbfa0c5c0) at /media/disk/kdesvn/qt-copy/src/corelib/tools/qstring.cpp:1768
#7  0xb5b159a7 in QAction::setToolTip (this=0x9bdf2f8, tooltip=@0xbfa0c5c0) at /media/disk/kdesvn/qt-copy/src/gui/kernel/qaction.cpp:800
#8  0xb6eb2f78 in Marble::MarbleRenderPlugin::action (this=0x9c82440) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleRenderPlugin.cpp:80
#9  0xb6e58f68 in Marble::LayerManager::syncViewParamsAndPlugins (this=0x9bcc740, mapTheme=0xa4fe858) at /media/disk/kdesvn/kdeedu/marble/src/lib/LayerManager.cpp:136
#10 0xb6e1bad9 in Marble::MarbleModel::setMapTheme (this=0x9bcc480, mapTheme=0xa4fe858, currentProjection=Marble::Spherical) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleModel.cpp:466
#11 0xb6e22fc8 in Marble::MarbleMap::setMapThemeId (this=0x9bcbe20, mapThemeId=@0xbfa0ca44) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleMap.cpp:988
#12 0xb6e169e2 in Marble::MarbleWidget::setMapThemeId (this=0x9bcbc20, mapThemeId=@0xbfa0ca44) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleWidget.cpp:871
#13 0xb7287b7f in WorldMapWidget (this=0x9bcba80, w=256, h=256, parent=0x9bc2850) at /media/disk/kdesvn/extragear-graphics/digikam/libs/imageproperties/worldmapwidget.cpp:79
#14 0xb7283e8f in ImagePropertiesGPSTab (this=0x9bc2850, parent=0x9286708) at /media/disk/kdesvn/extragear-graphics/digikam/libs/imageproperties/imagepropertiesgpstab.cpp:96
#15 0xb726a932 in ImagePropertiesSideBar (this=0x9b596a0, parent=0x9286708, splitter=0x91ef678, side=KMultiTabBar::Right, mimimizedDefault=<value optimized out>)
    at /media/disk/kdesvn/extragear-graphics/digikam/libs/imageproperties/imagepropertiessidebar.cpp:82
#16 0x0809e091 in ImagePropertiesSideBarDB (this=0x9b596a0, parent=0x9286708, splitter=0x91ef678, side=KMultiTabBar::Right, mimimizedDefault=<value optimized out>)
    at /media/disk/kdesvn/extragear-graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:89
#17 0x082585c9 in DigikamView (this=0x9286708, parent=0x921f8f0) at /media/disk/kdesvn/extragear-graphics/digikam/digikam/digikamview.cpp:199
#18 0x08241753 in Digikam::DigikamApp::setupView (this=0x921f8f0) at /media/disk/kdesvn/extragear-graphics/digikam/digikam/digikamapp.cpp:400
#19 0x0824cdd3 in DigikamApp (this=0x921f8f0) at /media/disk/kdesvn/extragear-graphics/digikam/digikam/digikamapp.cpp:191
#20 0x082af454 in main (argc=5, argv=0xbfa0d254) at /media/disk/kdesvn/extragear-graphics/digikam/digikam/main.cpp:167
Comment 1 caulier.gilles 2009-02-02 07:36:20 UTC
Crash appear in Marble. Are you installed marble data package (maps)

Gilles Caulier

Comment 2 Xavier Fung 2009-02-02 07:54:48 UTC
Hello Gilles,

Thanks. Do you mean the map data package from my distribution (Ubuntu)? I remember I did not download any new maps in Marble, which is also compiled from SVN.

Thanks,
Xavier
Comment 3 caulier.gilles 2009-02-02 08:09:44 UTC
Ok,

You compile and install marble from svn ? me too. I don't have this crash here.

The crash appear when an image with GPS info is selected in album gui, and marble try to set marker on the map. This is done during initialization with current album from digiKam.

Gilles Caulier

Comment 4 caulier.gilles 2009-02-02 13:12:41 UTC
Here, with a fresh marble checkout, digiKam do not crash at startup, but when digiKam is closed...


#0  0xb54504ec in Marble::MarbleRenderPlugin::setDataFacade (this=0x9017ce0, dataFacade=0x0) at /mnt/data/devel/SVN/trunk/kdeedu/marble/src/lib/MarbleRenderPlugin.cpp:71
#1  0xb540a2cc in ~LayerManager (this=0x9015ee0) at /mnt/data/devel/SVN/trunk/kdeedu/marble/src/lib/LayerManager.cpp:64
#2  0xb53d6206 in ~MarbleModel (this=0x9015c30) at /mnt/data/devel/SVN/trunk/kdeedu/marble/src/lib/MarbleModel.cpp:242
#3  0xb53dabca in ~MarbleMap (this=0x90155d0) at /mnt/data/devel/SVN/trunk/kdeedu/marble/src/lib/MarbleMap.cpp:389
#4  0xb53d24c8 in ~MarbleWidgetPrivate (this=0x91a07e0) at /mnt/data/devel/SVN/trunk/kdeedu/marble/src/lib/MarbleWidget.cpp:86
#5  0xb53d1c28 in ~MarbleWidget (this=0x900c080) at /mnt/data/devel/SVN/trunk/kdeedu/marble/src/lib/MarbleWidget.cpp:151
#6  0xb6977084 in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#7  0xb5832414 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#8  0xb5b84ccf in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
#9  0xb7e41f6a in ~WorldMapWidget (this=0x900d170) at /home/gilles/Documents/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/worldmapwidget.cpp:96
#10 0xb6977084 in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#11 0xb5832414 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#12 0xb7e3d34d in ~ImagePropertiesGPSTab (this=0x900bf90) at /home/gilles/Documents/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiesgpstab.cpp:158
#13 0xb6977084 in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#14 0xb5832414 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#15 0xb5b84ccf in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
#16 0xb5bf4ae5 in QStackedWidget::~QStackedWidget () from /usr/lib/libQtGui.so.4
#17 0xb6977084 in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#18 0xb5832414 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#19 0xb5b84ccf in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
#20 0xb5bee1a4 in QSplitter::~QSplitter () from /usr/lib/libQtGui.so.4
#21 0xb7db0ba8 in ~SidebarSplitter (this=0x88d0020) at /home/gilles/Documents/data/devel/SVN/trunk/graphics/digikam/libs/widgets/common/sidebar.cpp:419
#22 0xb6977084 in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#23 0xb5832414 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#24 0xb5b84ccf in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
#25 0xb71add1f in KHBox::~KHBox () from /usr/lib/libkdeui.so.5
#26 0x082919a9 in ~DigikamView (this=0x88e1fb8) at /home/gilles/Documents/data/devel/SVN/trunk/graphics/digikam/digikam/digikamview.cpp:268
#27 0x08285709 in ~DigikamApp (this=0x889ebd0) at /home/gilles/Documents/data/devel/SVN/trunk/graphics/digikam/digikam/digikamapp.cpp:254
#28 0xb6976d5a in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#29 0xb69787b7 in QObject::event () from /usr/lib/libQtCore.so.4
#30 0xb583108f in QWidget::event () from /usr/lib/libQtGui.so.4
#31 0xb5ba195c in QMainWindow::event () from /usr/lib/libQtGui.so.4
#32 0xb71c4599 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#33 0xb72089a2 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#34 0xb57d6fac in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#35 0xb57df2dd in QApplication::notify () from /usr/lib/libQtGui.so.4
#36 0xb70f7b91 in KApplication::notify () from /usr/lib/libkdeui.so.5
#37 0xb6968853 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#38 0xb6969535 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#39 0xb696971c in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#40 0xb699472d in ?? () from /usr/lib/libQtCore.so.4
#41 0xb4f157ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb4f18ee8 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb4f190a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb699434a in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb587395a in ?? () from /usr/lib/libQtGui.so.4
#46 0xb6966ec3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb6967081 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#48 0xb69697f2 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#49 0xb57d6e14 in QApplication::exec () from /usr/lib/libQtGui.so.4
#50 0x082f7b12 in main (argc=1, argv=0xbfebb3c4) at /home/gilles/Documents/data/devel/SVN/trunk/graphics/digikam/digikam/main.cpp:188
Comment 5 Marcel Wiesweg 2009-02-05 23:09:24 UTC
KDE4.2 Opensuse - current main stable target - do not crash. Do you have the checkout from trunk, pre-4.3, or 4.2 branch?
Comment 6 Xavier Fung 2009-02-12 08:25:44 UTC
This is a trunk checkout and using kdesvn-build script to build. Both Marble and digiKam are compiled fresh and still get this error. Also noticed that Marble also crashed during startup with SIGSERV:

Application: Marble Desktop Globe (marble), signal SIGSEGV

Thread 1 (Thread 0xb52b3920 (LWP 17056)):
[KCrash Handler]
#6  0xb7e3d0ac in Marble::MarbleRenderPlugin::setDataFacade (this=0xa1bbf88, dataFacade=0xa109de0) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleRenderPlugin.cpp:71
#7  0xb7de496d in LayerManager (this=0xa1afc30, dataFacade=0xa109de0, parent=0xa1afa70) at /media/disk/kdesvn/kdeedu/marble/src/lib/LayerManager.cpp:56
#8  0xb7da4051 in MarbleModel (this=0xa1afa70, parent=0xa1af118) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleModel.cpp:149
#9  0xb7dae174 in MarbleMap (this=0xa1af118) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleMap.cpp:366
#10 0xb7d9f160 in MarbleWidget (this=0xa0f2258, parent=0xa0eeb98) at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleWidget.cpp:124
#11 0x08054e25 in ControlView (this=0xa0eeb98, parent=0xa0f0670) at /media/disk/kdesvn/kdeedu/marble/src/ControlView.cpp:43
#12 0x0805c60f in MarblePart (this=0xa0f3040, parentWidget=0xa0f0670, parent=0xa0f0670, arguments=@0xbfb2e3f4) at /media/disk/kdesvn/kdeedu/marble/src/marble_part.cpp:87
#13 0x08057e04 in MainWindow (this=0xa0f0670, marbleDataPath=@0xbfb2e4a0, parent=0x0) at /media/disk/kdesvn/kdeedu/marble/src/KdeMainWindow.cpp:37
#14 0x08057474 in main (argc=1, argv=0xbfb2e5f4) at /media/disk/kdesvn/kdeedu/marble/src/kdemain.cpp:74

Seems like the culprit is this line in Marble:

0xb7f570ac in Marble::MarbleRenderPlugin::setDataFacade (this=0x8b8bf88,
    dataFacade=0x8ad9de0)
    at /media/disk/kdesvn/kdeedu/marble/src/lib/MarbleRenderPlugin.cpp:71
71          d->m_dataFacade = dataFacade;

Thanks,
Xavier
Comment 7 Médéric Boquien 2009-07-25 20:03:01 UTC
Hello. Does it still crash in KDE 4.3 RC3? Thanks.
Comment 8 disabled account 2010-01-21 05:46:15 UTC
(In reply to comment #7)
> Hello. Does it still crash in KDE 4.3 RC3? Thanks.

Seems not to, works for me in KDE SC 4.3.90.