Bug 285571

Summary: Akonadi/Kmail/Plasma crashes
Product: [Plasma] plasma4 Reporter: Tianyu Zhu <tian.tian098>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tianyu Zhu 2011-11-02 15:01:52 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Turned on computer, opened Kmail

- Unusual behavior I noticed:
Plasma begins crashing. Even if I restart plasma-desktop, within the minute it will crash again. This only seems to happen when I'm connected to wifi (I've tried this one three networks, the one using Ethernet works fine, but the two wifi networks causes plasma to crash.

- Custom settings of the application:
Akonadi was subscribed to a google calendar and google mail account. Now that these accounts have been removed, everything seems stable again.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0xb76e8b20 (LWP 1768))]

Thread 5 (Thread 0xb17e0b70 (LWP 1769)):
#0  0x002f7416 in __kernel_vsyscall ()
#1  0x00c26063 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00bba135 in _L_lock_10306 () from /lib/i386-linux-gnu/libc.so.6
#3  0x00bb8946 in __GI___libc_free (mem=0x8d1d960) at malloc.c:3736
#4  0x01bb1c1b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01bb1ef6 in g_free () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x01ba8109 in g_main_context_unref () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x041569c7 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x8d01f10, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:399
#8  0x04156a52 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x8d01f10, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#9  0x0402c6dc in QThreadPrivate::finish (arg=0x42623c8) at thread/qthread_unix.cpp:367
#10 0x0402d7bb in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#11 ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#12 QThreadPrivate::start (arg=0x42623c8) at thread/qthread_unix.cpp:290
#13 0x01e86d31 in start_thread (arg=0xb17e0b70) at pthread_create.c:304
#14 0x00c180ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb0dffb70 (LWP 1771)):
#0  0x0469cd10 in __GI_clock_gettime (clock_id=1, tp=0xb0dff018) at ../sysdeps/unix/clock_gettime.c:116
#1  0x040847d5 in do_gettime (frac=0xb0dff010, sec=0xb0dff008) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x041574b6 in QTimerInfoList::updateCurrentTime (this=0xb0e01f34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0415780a in QTimerInfoList::timerWait (this=0xb0e01f34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x04156053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb0dff11c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x041560ed in timerSourcePrepare (source=0xb0e01f00, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x01baa88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01bab637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01babc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x04156b37 in QEventDispatcherGlib::processEvents (this=0xb0e00468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x041271dd in QEventLoop::processEvents (this=0xb0dff2a0, flags=...) at kernel/qeventloop.cpp:149
#12 0x04127421 in QEventLoop::exec (this=0xb0dff2a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0402a90b in QThread::exec (this=0x8e96a90) at thread/qthread.cpp:498
#14 0x04107e2d in QInotifyFileSystemWatcherEngine::run (this=0x8e96a90) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0402d7b3 in QThreadPrivate::start (arg=0x8e96a90) at thread/qthread_unix.cpp:331
#16 0x01e86d31 in start_thread (arg=0xb0dffb70) at pthread_create.c:304
#17 0x00c180ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xaf678b70 (LWP 1772)):
#0  0x002f7416 in __kernel_vsyscall ()
#1  0x00c26063 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00bba135 in _L_lock_10306 () from /lib/i386-linux-gnu/libc.so.6
#3  0x00bb8946 in __GI___libc_free (mem=0x8f3c318) at malloc.c:3736
#4  0x00ea580f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x04156cfc in QEventDispatcherGlib::unregisterSocketNotifier (this=0x8f497d0, notifier=0xaf6782fc) at kernel/qeventdispatcher_glib.cpp:503
#6  0x04144be8 in setEnabled (enable=<optimized out>, this=0xaf6782fc) at kernel/qsocketnotifier.cpp:298
#7  QSocketNotifier::setEnabled (this=0xaf6782fc, enable=false) at kernel/qsocketnotifier.cpp:284
#8  0x0415629d in socketNotifierSourceCheck (source=0x8f496c0) at kernel/qeventdispatcher_glib.cpp:92
#9  0x01baaf24 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01bab8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x01babc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0x04156ada in QEventDispatcherGlib::processEvents (this=0x8f497d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#13 0x041271dd in QEventLoop::processEvents (this=0xaf6782a0, flags=...) at kernel/qeventloop.cpp:149
#14 0x04127421 in QEventLoop::exec (this=0xaf6782a0, flags=...) at kernel/qeventloop.cpp:201
#15 0x0402a90b in QThread::exec (this=0x8f49328) at thread/qthread.cpp:498
#16 0x04107e2d in QInotifyFileSystemWatcherEngine::run (this=0x8f49328) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x0402d7b3 in QThreadPrivate::start (arg=0x8f49328) at thread/qthread_unix.cpp:331
#18 0x01e86d31 in start_thread (arg=0xaf678b70) at pthread_create.c:304
#19 0x00c180ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xada76b70 (LWP 1775)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xb0e0ae34, decr=1) at pthread_mutex_unlock.c:37
#1  0x00c25f54 in pthread_mutex_unlock (mutex=0xb0e0ae34) at forward.c:184
#2  0x01baa87f in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01bab637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01babf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04d70cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x01bd25f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x01e86d31 in start_thread (arg=0xada76b70) at pthread_create.c:304
#8  0x00c180ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb76e8b20 (LWP 1768)):
[KCrash Handler]
#7  0x002f7416 in __kernel_vsyscall ()
#8  0x00b73c8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x00b772b5 in __GI_abort () at abort.c:92
#10 0x00ba9dfc in __libc_message (do_abort=2, fmt=0xc83080 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#11 0x00bb4bc2 in malloc_printerr (action=<optimized out>, str=<optimized out>, ptr=0xa7a4158) at malloc.c:6283
#12 0x00bb6cf3 in _int_malloc (av=0xcbf400, bytes=3) at malloc.c:4308
#13 0x00bb8498 in __GI___libc_malloc (bytes=3) at malloc.c:3660
#14 0x01214f62 in getDisplay () at ../../kdeui/util/kcrash.cpp:660
#15 openSocket () at ../../kdeui/util/kcrash.cpp:774
#16 startFromKdeinit (argc=2, argv=0x8851f48) at ../../kdeui/util/kcrash.cpp:569
#17 0x012154f4 in startProcessInternal (argc=2, argv=0x8851f48, waitAndExit=false, directly=false) at ../../kdeui/util/kcrash.cpp:537
#18 0x01215e73 in KCrash::startProcess (argc=2, argv=0x8851f48, waitAndExit=false) at ../../kdeui/util/kcrash.cpp:524
#19 0x0121602f in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:311
#20 <signal handler called>
#21 __memmove_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:1295
#22 0x0404dfd3 in QListData::remove (this=0xa093900, i=-1) at /usr/include/i386-linux-gnu/bits/string3.h:58
#23 0x043d1e07 in takeAt (i=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:474
#24 Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0x9579970, item=...) at ../../akonadi/entitytreemodel_p.cpp:1022
#25 0x043c14d2 in Akonadi::EntityTreeModel::qt_metacall (this=0x959e728, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdb9f18) at ./entitytreemodel.moc:168
#26 0x03e1c233 in CalendarSupport::CalendarModel::qt_metacall (this=0x959e728, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfdb9f18) at moc_calendarmodel.cpp:66
#27 0x0412eb7d in metacall (argv=0xbfdb9f18, idx=50, cl=QMetaObject::InvokeMetaMethod, object=0x959e728) at kernel/qmetaobject.cpp:237
#28 QMetaObject::metacall (object=0x959e728, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbfdb9f18) at kernel/qmetaobject.cpp:232
#29 0x0413da6a in QMetaObject::activate (sender=0x8b53990, m=0x4515618, local_signal_index=3, argv=0xbfdb9f18) at kernel/qobject.cpp:3278
#30 0x044111a5 in Akonadi::Monitor::itemRemoved (this=0x8b53990, _t1=...) at ./monitor.moc:190
#31 0x04416317 in Akonadi::MonitorPrivate::emitItemNotification (this=0x933bf88, msg=..., item=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:525
#32 0x04417559 in Akonadi::MonitorPrivate::emitNotification (this=0x933bf88, msg=...) at ../../akonadi/monitor_p.cpp:284
#33 0x0436e729 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x933bf88, msg=...) at ../../akonadi/changerecorder_p.h:60
#34 0x044171d6 in Akonadi::MonitorPrivate::flushPipeline (this=0x933bf88) at ../../akonadi/monitor_p.cpp:425
#35 0x04417700 in Akonadi::MonitorPrivate::dataAvailable (this=0x933bf88) at ../../akonadi/monitor_p.cpp:434
#36 0x044117d6 in Akonadi::Monitor::qt_metacall (this=0x8b53990, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdba254) at ./monitor.moc:156
#37 0x0436d92e in Akonadi::ChangeRecorder::qt_metacall (this=0x8b53990, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfdba254) at ./changerecorder.moc:72
#38 0x0412eb7d in metacall (argv=0xbfdba254, idx=27, cl=QMetaObject::InvokeMetaMethod, object=0x8b53990) at kernel/qmetaobject.cpp:237
#39 QMetaObject::metacall (object=0x8b53990, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfdba254) at kernel/qmetaobject.cpp:232
#40 0x0413da6a in QMetaObject::activate (sender=0x8fe57b0, m=0x45142dc, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#41 0x043b9aa5 in Akonadi::EntityCacheBase::dataAvailable (this=0x8fe57b0) at ./entitycache_p.moc:88
#42 0x04419dee in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x8fe57b0, job=0xa54aa88) at ../../akonadi/entitycache_p.h:190
#43 0x043b9b4a in Akonadi::EntityCacheBase::qt_metacall (this=0x8fe57b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdba418) at ./entitycache_p.moc:77
#44 0x0412eb7d in metacall (argv=0xbfdba418, idx=5, cl=QMetaObject::InvokeMetaMethod, object=0x8fe57b0) at kernel/qmetaobject.cpp:237
#45 QMetaObject::metacall (object=0x8fe57b0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfdba418) at kernel/qmetaobject.cpp:232
#46 0x0413da6a in QMetaObject::activate (sender=0xa54aa88, m=0x5c0a58c, local_signal_index=3, argv=0xbfdba418) at kernel/qobject.cpp:3278
#47 0x05a5ceb5 in KJob::result (this=0xa54aa88, _t1=0xa54aa88) at ./kjob.moc:194
#48 0x05a5cf08 in KJob::emitResult (this=0xa54aa88) at ../../kdecore/jobs/kjob.cpp:312
#49 0x0440cbf0 in Akonadi::JobPrivate::handleResponse (this=0xa584560, tag=..., data=...) at ../../akonadi/job.cpp:66
#50 0x044456a2 in Akonadi::SessionPrivate::dataReceived (this=0x9534ad0) at ../../akonadi/session.cpp:218
#51 0x0444885f in Akonadi::Session::qt_metacall (this=0x8e9ce78, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdba624) at ./session.moc:96
#52 0x0412eb7d in metacall (argv=0xbfdba624, idx=9, cl=QMetaObject::InvokeMetaMethod, object=0x8e9ce78) at kernel/qmetaobject.cpp:237
#53 QMetaObject::metacall (object=0x8e9ce78, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbfdba624) at kernel/qmetaobject.cpp:232
#54 0x0413da6a in QMetaObject::activate (sender=0x8c9c4b0, m=0x425ecd8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#55 0x0418a225 in QIODevice::readyRead (this=0x8c9c4b0) at .moc/release-shared/moc_qiodevice.cpp:91
#56 0x0418a3f0 in QIODevice::qt_metacall (this=0x8c9c4b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdba774) at .moc/release-shared/moc_qiodevice.cpp:77
#57 0x036a39f2 in QLocalSocket::qt_metacall (this=0x8c9c4b0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfdba774) at .moc/release-shared/moc_qlocalsocket.cpp:81
#58 0x0412eb7d in metacall (argv=0xbfdba774, idx=4, cl=QMetaObject::InvokeMetaMethod, object=0x8c9c4b0) at kernel/qmetaobject.cpp:237
#59 QMetaObject::metacall (object=0x8c9c4b0, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfdba774) at kernel/qmetaobject.cpp:232
#60 0x0413da6a in QMetaObject::activate (sender=0x9112eb8, m=0x425ecd8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#61 0x0418a225 in QIODevice::readyRead (this=0x9112eb8) at .moc/release-shared/moc_qiodevice.cpp:91
#62 0x0369cf9f in QAbstractSocketPrivate::canReadNotification (this=0x933bc70) at socket/qabstractsocket.cpp:643
#63 0x03689869 in QAbstractSocketEngine::readNotification (this=0x8bfa848) at socket/qabstractsocketengine.cpp:154
#64 0x0368a48b in event (this=0x9565ef8, e=<optimized out>) at socket/qnativesocketengine.cpp:1103
#65 QReadNotifier::event (this=0x9565ef8, e=0xbfdbaaf4) at socket/qnativesocketengine.cpp:1100
#66 0x020e2d54 in notify_helper (e=0xbfdbaaf4, receiver=0x9565ef8, this=0x87de940) at kernel/qapplication.cpp:4486
#67 QApplicationPrivate::notify_helper (this=0x87de940, receiver=0x9565ef8, e=0xbfdbaaf4) at kernel/qapplication.cpp:4458
#68 0x020e8103 in QApplication::notify (this=0xbfdbaaf4, receiver=0x9565ef8, e=0xbfdbaaf4) at kernel/qapplication.cpp:3886
#69 0x011a4681 in KApplication::notify (this=0x87c57d0, receiver=0x9565ef8, event=0xbfdbaaf4) at ../../kdeui/kernel/kapplication.cpp:311
#70 0x0412819e in QCoreApplication::notifyInternal (this=0x87c57d0, receiver=0x9565ef8, event=0xbfdbaaf4) at kernel/qcoreapplication.cpp:787
#71 0x041561d8 in sendEvent (event=0xbfdbaaf4, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#72 socketNotifierSourceDispatch (source=0x87dc498) at kernel/qeventdispatcher_glib.cpp:110
#73 0x01bab25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x01bab990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#75 0x01babc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#76 0x04156ada in QEventDispatcherGlib::processEvents (this=0x878b218, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#77 0x0219ae3a in QGuiEventDispatcherGlib::processEvents (this=0x878b218, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x041271dd in QEventLoop::processEvents (this=0xbfdbad44, flags=...) at kernel/qeventloop.cpp:149
#79 0x04127421 in QEventLoop::exec (this=0xbfdbad44, flags=...) at kernel/qeventloop.cpp:201
#80 0x0412c19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#81 0x020e08f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#82 0x0014518b in kdemain (argc=1, argv=0xbfdbaf44) at ../../../../plasma/desktop/shell/main.cpp:120
#83 0x0804850b in main (argc=1, argv=0xbfdbaf44) at plasma-desktop_dummy.cpp:3

This bug may be a duplicate of or related to bug 283789.

Possible duplicates by query: bug 285198, bug 284455, bug 284119, bug 283789, bug 279590.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-19 01:13:08 UTC

*** This bug has been marked as a duplicate of bug 279101 ***