Bug 232161

Summary: Marble crashes on start
Product: [Applications] marble Reporter: Christos Gourdoupis <xrigou>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: crash CC: bastianholst, nienhueser, xrigou
Priority: NOR    
Version: unspecified   
Target Milestone: 0.8 (KDE 4.3)   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christos Gourdoupis 2010-03-25 23:05:23 UTC
Application: marble (0.10.0 SVN)
KDE Platform Version: 4.4.69 (KDE 4.4.69 (KDE 4.5 >= 20100324)) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
This backtrace is when I start marble manually. But since I use it as a desktop wallpaper it brings down the whole plasma desktop on login. Btw this happens at least since 4.4.65svn1095508. The last good build I used was 4.4.64svn1093220

The crash can be reproduced every time.

-- Backtrace:
Application: Marble Desktop Globe (marble), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa7e95d5c94 in Marble::RenderPlugin::setDataFacade (this=0x842e80, dataFacade=0x911bc0) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/lib/RenderPlugin.cpp:76
#7  0x00007fa7e956fdc7 in Marble::LayerManager::LayerManager (this=0xba3bf0, dataFacade=0xbb82a0, pluginManager=0x7fa7e984f480, parent=<value optimized out>)
    at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/lib/LayerManager.cpp:85
#8  0x00007fa7e9524117 in Marble::MarbleModel::MarbleModel (this=0x8730f0, parent=<value optimized out>) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/lib/MarbleModel.cpp:207
#9  0x00007fa7e952b2a0 in Marble::MarbleMap::MarbleMap (this=0x893780) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/lib/MarbleMap.cpp:355
#10 0x00007fa7e951dd27 in Marble::MarbleWidget::MarbleWidget (this=0x869600, parent=<value optimized out>) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/lib/MarbleWidget.cpp:141
#11 0x0000000000411125 in Marble::ControlView::ControlView (this=0x7d8ed0, parent=<value optimized out>) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/ControlView.cpp:43
#12 0x000000000041b49a in Marble::MarblePart::MarblePart (this=0x7d3180, parentWidget=0x7ea870, parent=0x7ea870, arguments=<value optimized out>, __in_chrg=<value optimized out>, 
    __vtt_parm=<value optimized out>) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/marble_part.cpp:116
#13 0x0000000000416ccb in Marble::MainWindow::MainWindow (this=0x7ea870, marbleDataPath=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, 
    __vtt_parm=<value optimized out>) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/KdeMainWindow.cpp:41
#14 0x00000000004163a0 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdeedu-4.4.69svn1106999/marble/src/kdemain.cpp:251

Reported using DrKonqi
Comment 1 Bastian Senst 2010-03-27 15:55:36 UTC
Try to uninstall marble and delete every existing marble lib you find in /usr and reinstall marble then. You could have an old marble binary somewhere and as Marble major versions are not binary compatible, it could have resulted into a crash.

Thanks for the bug report!
Comment 2 Dennis Nienhüser 2010-03-27 21:08:44 UTC
SVN commit 1108098 by nienhueser:

Increase the interface version (rev. 1093625 introduced a binary incompatible change). Fixes old plugins crashing marble on startup.
CCBUG: 232161

 M  +1 -1      RenderPluginInterface.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1108098
Comment 3 Dennis Nienhüser 2010-03-27 21:12:13 UTC
I suspect an old plugin which was not compiled against the latest SVN trunk causing the crash. The change above should fix that (older plugins not rebuild against trunk are ignored).

Please reopen the bug if I'm wrong.
Comment 4 Christos Gourdoupis 2010-03-28 18:34:28 UTC
You were right Sir. Updating the rpms while running marble on the desktop left the old version of kde4/plugins/marble/ExternalDraw.so in the system.
Comment 5 Dennis Nienhüser 2010-03-28 21:54:56 UTC
Thanks for the confirmation.