Application: plasma-desktop (4.11.11) KDE Platform Version: 4.14.2 Qt Version: 4.8.6 Operating System: Linux 3.13.0-24-generic i686 Distribution: Linux Mint 17.1 Rebecca -- Information about the crash: - What I was doing when the application crashed: I have started my System running in an Virtual Box and logged into my account The crash does not seem to be reproducible. -- Backtrace: Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0xb1335980 (LWP 2078))] Thread 6 (Thread 0xa404db40 (LWP 2079)): #0 0xb76e0424 in __kernel_vsyscall () #1 0xb2174d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0xb7599dcc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6 #3 0xb30a9c92 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4 #4 0xb30a9cdf in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4 #5 0xb2170f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #6 0xb758cbee in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 5 (Thread 0xa2346b40 (LWP 2080)): #0 0xb76e0424 in __kernel_vsyscall () #1 0xb759a872 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6 #2 0xb5f1c8cc in do_gettime (frac=0xa2345ff0, sec=0xa2345fe8) at tools/qelapsedtimer_unix.cpp:127 #3 qt_gettime () at tools/qelapsedtimer_unix.cpp:144 #4 0xb60052a2 in updateCurrentTime (this=0xa1a028e4) at kernel/qeventdispatcher_unix.cpp:354 #5 QTimerInfoList::timerWait (this=0xa1a028e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460 #6 0xb600382b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa23460ec) at kernel/qeventdispatcher_glib.cpp:143 #7 0xb60038bd in timerSourcePrepare (source=0xa1a028b0, timeout=0xa23460ec) at kernel/qeventdispatcher_glib.cpp:176 #8 0xb20539b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0xb20542df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #10 0xb2054528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #11 0xb600395f in QEventDispatcherGlib::processEvents (this=0xa1a00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #12 0xb5fd2823 in QEventLoop::processEvents (this=this@entry=0xa2346258, flags=...) at kernel/qeventloop.cpp:149 #13 0xb5fd2b49 in QEventLoop::exec (this=this@entry=0xa2346258, flags=...) at kernel/qeventloop.cpp:204 #14 0xb5ebf23d in QThread::exec (this=this@entry=0xa5adea8) at thread/qthread.cpp:537 #15 0xb5fb2c44 in QInotifyFileSystemWatcherEngine::run (this=0xa5adea8) at io/qfilesystemwatcher_inotify.cpp:265 #16 0xb5ec1b6f in QThreadPrivate::start (arg=0xa5adea8) at thread/qthread_unix.cpp:349 #17 0xb2170f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #18 0xb758cbee in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 4 (Thread 0xa0dffb40 (LWP 2082)): #0 0xb76e0424 in __kernel_vsyscall () #1 0xb757dc8b in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0xb206320b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0xb20543e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb205476b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xa182b36a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0 #6 0xb207a9aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0xb2170f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #8 0xb758cbee in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 3 (Thread 0xa03ffb40 (LWP 2083)): #0 0xb76e0424 in __kernel_vsyscall () #1 0xb759a872 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6 #2 0xb5f1c8cc in do_gettime (frac=0xa03feff0, sec=0xa03fefe8) at tools/qelapsedtimer_unix.cpp:127 #3 qt_gettime () at tools/qelapsedtimer_unix.cpp:144 #4 0xb60052a2 in updateCurrentTime (this=0x9fa028e4) at kernel/qeventdispatcher_unix.cpp:354 #5 QTimerInfoList::timerWait (this=0x9fa028e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460 #6 0xb600382b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa03ff0ec) at kernel/qeventdispatcher_glib.cpp:143 #7 0xb60038bd in timerSourcePrepare (source=0x9fa028b0, timeout=0xa03ff0ec) at kernel/qeventdispatcher_glib.cpp:176 #8 0xb20539b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0xb20542df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #10 0xb2054528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #11 0xb600395f in QEventDispatcherGlib::processEvents (this=0x9fa00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #12 0xb5fd2823 in QEventLoop::processEvents (this=this@entry=0xa03ff258, flags=...) at kernel/qeventloop.cpp:149 #13 0xb5fd2b49 in QEventLoop::exec (this=this@entry=0xa03ff258, flags=...) at kernel/qeventloop.cpp:204 #14 0xb5ebf23d in QThread::exec (this=this@entry=0xa625030) at thread/qthread.cpp:537 #15 0xb5fb2c44 in QInotifyFileSystemWatcherEngine::run (this=0xa625030) at io/qfilesystemwatcher_inotify.cpp:265 #16 0xb5ec1b6f in QThreadPrivate::start (arg=0xa625030) at thread/qthread_unix.cpp:349 #17 0xb2170f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #18 0xb758cbee in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 2 (Thread 0x9deb0b40 (LWP 2090)): #0 0xb76e0424 in __kernel_vsyscall () #1 0xb759a872 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6 #2 0xb5f1c8cc in do_gettime (frac=0x9deb0020, sec=0x9deb0018) at tools/qelapsedtimer_unix.cpp:127 #3 qt_gettime () at tools/qelapsedtimer_unix.cpp:144 #4 0xb60052a2 in updateCurrentTime (this=0x9d5026e4) at kernel/qeventdispatcher_unix.cpp:354 #5 QTimerInfoList::timerWait (this=0x9d5026e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460 #6 0xb600382b in timerSourcePrepareHelper (src=<optimized out>, timeout=0x9deb00fc) at kernel/qeventdispatcher_glib.cpp:143 #7 0xb20539b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #8 0xb20542df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0xb2054528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #10 0xb600395f in QEventDispatcherGlib::processEvents (this=0x9d500468, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #11 0xb5fd2823 in QEventLoop::processEvents (this=this@entry=0x9deb0268, flags=...) at kernel/qeventloop.cpp:149 #12 0xb5fd2b49 in QEventLoop::exec (this=this@entry=0x9deb0268, flags=...) at kernel/qeventloop.cpp:204 #13 0xb5ebf23d in QThread::exec (this=0xa73c758) at thread/qthread.cpp:537 #14 0x9eca28c7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so #15 0xb5ec1b6f in QThreadPrivate::start (arg=0xa73c758) at thread/qthread_unix.cpp:349 #16 0xb2170f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #17 0xb758cbee in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 1 (Thread 0xb1335980 (LWP 2078)): [KCrash Handler] #7 0xa26e66e5 in parent (this=0x0) at /usr/include/qt4/QtCore/qobject.h:273 #8 Akonadi::NotificationSource::setAllMonitored (this=0x0, allMonitored=false) at ../../akonadi/notificationsource.cpp:40 #9 0xa26dccc3 in Akonadi::MonitorPrivate::serverStateChanged (this=0xa56bf60, state=Akonadi::ServerManager::Running) at ../../akonadi/monitor_p.cpp:102 #10 0xa26d81c4 in Akonadi::Monitor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfa8f078, _c=<optimized out>) at ./moc_monitor.cpp:179 #11 0xb5fe90f7 in QMetaObject::activate (sender=sender@entry=0xa95ece8, m=m@entry=0xa283ead8 <Akonadi::ServerManager::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0xbfa8f078) at kernel/qobject.cpp:3539 #12 0xa272c735 in Akonadi::ServerManager::stateChanged (this=0xa95ece8, _t1=_t1@entry=Akonadi::ServerManager::Running) at ./moc_servermanager.cpp:125 #13 0xa272d447 in setState (state=Akonadi::ServerManager::Running, this=0xa270bc8) at ../../akonadi/servermanager.cpp:96 #14 checkStatusChanged (this=0xa270bc8) at ../../akonadi/servermanager.cpp:88 #15 Akonadi::ServerManager::qt_static_metacall (_o=0xa95ece8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xb04a310) at ./moc_servermanager.cpp:63 #16 0xb5fe58aa in QMetaCallEvent::placeMetaCall (this=0xb153b88, object=0xa95ece8) at kernel/qobject.cpp:524 #17 0xb5fed6fb in QObject::event (this=0xa95ece8, e=0xb153b88) at kernel/qobject.cpp:1194 #18 0xb54df7f4 in QApplicationPrivate::notify_helper (this=0x9f916e0, receiver=0xa95ece8, e=0xb153b88) at kernel/qapplication.cpp:4567 #19 0xb54e62d3 in QApplication::notify (this=0x9f82bb8, receiver=receiver@entry=0xa95ece8, e=e@entry=0xb153b88) at kernel/qapplication.cpp:4353 #20 0xb66481b4 in KApplication::notify (this=0x9f82bb8, receiver=0xa95ece8, event=0xb153b88) at ../../kdeui/kernel/kapplication.cpp:311 #21 0xb5fd3e4a in QCoreApplication::notifyInternal (this=0x9f82bb8, receiver=receiver@entry=0xa95ece8, event=event@entry=0xb153b88) at kernel/qcoreapplication.cpp:953 #22 0xb5fd770d in sendEvent (event=0xb153b88, receiver=0xa95ece8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9f36fc8) at kernel/qcoreapplication.cpp:1577 #24 0xb5fd7c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470 #25 0xb600423e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #26 postEventSourceDispatch (s=0x9f91ab8) at kernel/qeventdispatcher_glib.cpp:287 #27 0xb20541e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #28 0xb2054468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #29 0xb2054528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #30 0xb600393b in QEventDispatcherGlib::processEvents (this=this@entry=0x9f37d50, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #31 0xb55945de in QGuiEventDispatcherGlib::processEvents (this=0x9f37d50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #32 0xb5fd2823 in QEventLoop::processEvents (this=this@entry=0xbfa8f698, flags=...) at kernel/qeventloop.cpp:149 #33 0xb5fd2b49 in QEventLoop::exec (this=this@entry=0xbfa8f698, flags=...) at kernel/qeventloop.cpp:204 #34 0xb5fd88fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #35 0xb54dda24 in QApplication::exec () at kernel/qapplication.cpp:3828 #36 0xb769cd27 in kdemain (argc=1, argv=0xbfa8f834) at ../../../../plasma/desktop/shell/main.cpp:126 #37 0x0804855b in main (argc=1, argv=0xbfa8f834) at plasma-desktop_dummy.cpp:3 Reported using DrKonqi
probable fix: In MonitorPrivate::serverStateChanged() check the return status of connectToNotificationManager() which is a bool and can fail; in which case notificationSource is 0.
Git commit bab49f4c6898faeeb55f63d43b9dae47046ff921 by Allen Winter. Committed on 07/03/2015 at 20:19. Pushed by winterz into branch 'KDE/4.14'. akonadi/monitor_p.cpp - prevent a crash in serverStateChanged() Skip setting the monitors when unable to connect to the notification manager. M +24 -22 akonadi/monitor_p.cpp http://commits.kde.org/kdepimlibs/bab49f4c6898faeeb55f63d43b9dae47046ff921