Bug 221366 - Marble crash after starting it [QAbstractSlider::setMinimum, Marble::NavigationFloatItem::eventFilter, QCoreApplicationPrivate::sendThroughObjectEventFilters]
Summary: Marble crash after starting it [QAbstractSlider::setMinimum, Marble::Navigati...
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: 0.8 (KDE 4.3)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-05 11:54 UTC by Roman K.
Modified: 2013-10-20 08:02 UTC (History)
1 user (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 Roman K. 2010-01-05 11:54:12 UTC
Application: marble (0.9 SVN)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) "release 203"
Qt Version: 4.6.0
Operating System: Linux 2.6.31.8-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
I tried to start marble, but then it immediately crashed. This happens every time I try to start it

The crash can be reproduced everytime.

 -- Backtrace:
Application: Marble-Schreibtischglobus (marble), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f62da1407f0 (LWP 15253))]

Thread 3 (Thread 0x7f62c7f67910 (LWP 15392)):
#0  0x00007f62d6d6f033 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f62d21f058c in g_main_context_poll (n_fds=<value optimized out>, fds=<value optimized out>, priority=<value optimized out>, timeout=<value optimized out>, context=<value optimized out>)
    at gmain.c:2904
#2  g_main_context_iterate (n_fds=<value optimized out>, fds=<value optimized out>, priority=<value optimized out>, timeout=<value optimized out>, context=<value optimized out>) at gmain.c:2586
#3  0x00007f62d21f08d0 in IA__g_main_context_iteration (context=0x9cd700, may_block=1) at gmain.c:2654
#4  0x00007f62d845ab66 in QEventDispatcherGlib::processEvents (this=0x8fd5f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007f62d842fe52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f62d843022c in QEventLoop::exec (this=0x7f62c7f66f60, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f62d833bc79 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f62d8410758 in QInotifyFileSystemWatcherEngine::run (this=0x814a70) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f62d833e6b5 in QThreadPrivate::start (arg=0x814a70) at thread/qthread_unix.cpp:244
#10 0x00007f62d684965d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00007f62d6d7814d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f62c660b910 (LWP 15475)):
#0  0x00007f62d6d6a0d5 in __xstat (vers=<value optimized out>, name=<value optimized out>, buf=0x1637598) at ../sysdeps/unix/sysv/linux/wordsize-64/xstat.c:38
#1  0x00007f62d8408186 in stat64 (__statbuf=<value optimized out>, __path=<value optimized out>) at /usr/include/sys/stat.h:504
#2  QFSFileEnginePrivate::doStat (__statbuf=<value optimized out>, __path=<value optimized out>) at io/qfsfileengine_unix.cpp:663
#3  0x00007f62d840a4f8 in QFSFileEngine::fileFlags (this=0x1637598, type=) at io/qfsfileengine_unix.cpp:736
#4  0x00007f62d83c1fa2 in QFileInfoPrivate::getFileFlags (this=0x1c07f50, request=) at io/qfileinfo.cpp:154
#5  0x00007f62d83c2112 in QFileInfo::isDir (this=<value optimized out>) at io/qfileinfo.cpp:979
#6  0x00007f62d83baf40 in QDirIteratorPrivate::checkAndPushDirectory (this=0xb8bbc0, fileInfo=...) at io/qdiriterator.cpp:248
#7  0x00007f62d83bb16a in QDirIteratorPrivate::advance (this=0xb8bbc0) at io/qdiriterator.cpp:220
#8  0x00007f62d83bb30d in QDirIterator::next (this=0x1637598) at io/qdiriterator.cpp:459
#9  0x00007f62d9815421 in ?? () from /usr/lib64/libmarblewidget.so.4
#10 0x00007f62d9817e5c in ?? () from /usr/lib64/libmarblewidget.so.4
#11 0x00007f62d833e6b5 in QThreadPrivate::start (arg=0x79b360) at thread/qthread_unix.cpp:244
#12 0x00007f62d684965d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#13 0x00007f62d6d7814d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f62da1407f0 (LWP 15253)):
[KCrash Handler]
#5  QAbstractSlider::setMinimum (this=0x2e, min=900) at widgets/qabstractslider.cpp:331
#6  0x00007f62cc1b5f78 in Marble::NavigationFloatItem::eventFilter (this=0x72bbe0, object=0x7d9c90, e=0x7fff3d678100)
    at /usr/src/debug/kdeedu-4.3.85/marble/src/plugins/render/navigation/NavigationFloatItem.cpp:133
#7  0x00007f62d8430947 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7d9c90, event=0x7fff3d678100) at kernel/qcoreapplication.cpp:819
#8  0x00007f62d77f5b9c in QApplicationPrivate::notify_helper (this=0x686850, receiver=0x7d9c90, e=0x7fff3d678100) at kernel/qapplication.cpp:4238
#9  0x00007f62d77fc1ed in QApplication::notify (this=0x7fff3d6791e0, receiver=0x7d9c90, e=0x7fff3d678100) at kernel/qapplication.cpp:4125
#10 0x00007f62d8df1a76 in KApplication::notify (this=0x7fff3d6791e0, receiver=0x7d9c90, event=0x7fff3d678100) at /usr/src/debug/kdelibs-4.3.85/kdeui/kernel/kapplication.cpp:302
#11 0x00007f62d843153c in QCoreApplication::notifyInternal (this=0x7fff3d6791e0, receiver=0x7d9c90, event=0x7fff3d678100) at kernel/qcoreapplication.cpp:704
#12 0x00007f62d78533bd in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#13 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5322
#14 0x00007f62d7a08466 in QWidgetBackingStore::sync (this=0xa5f040) at painting/qbackingstore.cpp:1281
#15 0x00007f62d7844800 in QWidgetPrivate::syncBackingStore (this=0xb3e880) at kernel/qwidget.cpp:1662
#16 0x00007f62d784b525 in QWidget::event (this=0xb3e7f0, event=0xb491e0) at kernel/qwidget.cpp:8266
#17 0x00007f62d7c3b80c in QProgressBar::event (this=0xb3e7f0, e=0xb491e0) at widgets/qprogressbar.cpp:562
#18 0x00007f62d77f5bcc in QApplicationPrivate::notify_helper (this=0x686850, receiver=0xb3e7f0, e=0xb491e0) at kernel/qapplication.cpp:4242
#19 0x00007f62d77fc1ed in QApplication::notify (this=0x7fff3d6791e0, receiver=0xb3e7f0, e=0xb491e0) at kernel/qapplication.cpp:4125
#20 0x00007f62d8df1a76 in KApplication::notify (this=0x7fff3d6791e0, receiver=0xb3e7f0, event=0xb491e0) at /usr/src/debug/kdelibs-4.3.85/kdeui/kernel/kapplication.cpp:302
#21 0x00007f62d843153c in QCoreApplication::notifyInternal (this=0x7fff3d6791e0, receiver=0xb3e7f0, event=0xb491e0) at kernel/qcoreapplication.cpp:704
#22 0x00007f62d8433cb7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#24 0x00007f62d845afd3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#25 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#26 0x00007f62d21ecdde in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#27 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#28 0x00007f62d21f07a8 in g_main_context_iterate (context=0x66de80, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#29 0x00007f62d21f08d0 in IA__g_main_context_iteration (context=0x66de80, may_block=1) at gmain.c:2654
#30 0x00007f62d845ab13 in QEventDispatcherGlib::processEvents (this=0x66bee0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#31 0x00007f62d78a294e in QGuiEventDispatcherGlib::processEvents (this=0x2e, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f62d842fe52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f62d843022c in QEventLoop::exec (this=0x7fff3d679130, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f62d8433f7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x00000000004163e5 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdeedu-4.3.85/marble/src/kdemain.cpp:293

Reported using DrKonqi
Comment 1 Dennis Nienhüser 2010-01-06 18:11:11 UTC
Fixed in http://websvn.kde.org/?view=revision&revision=1064404 which was committed after KDE 4.4 Beta2. The fix will be part of KDE 4.4 RC1.

If it doesn't work after upgrading to KDE 4.4 RC1 (to appear in about a week), please reopen this bug.

As a workaround until then, you can delete /usr/lib/kde4/plugins/marble/NavigationFloatItem.so (the name of the directory may be different on openSUSE). As far as I know, the other plugins are not affected by this.