Bug 238702

Summary: Kontact crashed when clicking a a mail foder.
Product: [Unmaintained] kmail Reporter: Jean-Christophe Dubois <jcd>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern, stilor
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jean-Christophe Dubois 2010-05-24 17:45:59 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I was selecting (clicking) one of my mail foder because some new mails were reported in it.

Kontact/Kmail just went belly up on this simple opération.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0xb783a990 (LWP 2104))]

Thread 5 (Thread 0xb613db70 (LWP 2109)):
#0  0x00eee832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x042c9cf3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x04260697 in _L_lock_9637 () from /lib/tls/i686/cmov/libc.so.6
#3  0x0425eec6 in *__GI___libc_free (mem=0x969c740) at malloc.c:3736
#4  0x04629fc6 in g_free () from /lib/libglib-2.0.so.0
#5  0x04620f5a in ?? () from /lib/libglib-2.0.so.0
#6  0x00d400fd in ~QEventDispatcherGlib (this=0x9693160, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#7  0x00c10e9a in QThreadPrivate::finish (arg=0xe28890) at thread/qthread_unix.cpp:284
#8  0x00c11336 in ~__pthread_cleanup_class (arg=0xe28890) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0xe28890) at thread/qthread_unix.cpp:253
#10 0x08b1996e in start_thread (arg=0xb613db70) at pthread_create.c:300
#11 0x042bca0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb337cb70 (LWP 2316)):
#0  0x00eee832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x042aeb86 in *__GI___poll (fds=0x4344ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x046324eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x046250ac in ?? () from /lib/libglib-2.0.so.0
#4  0x046254b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00d3f60f in QEventDispatcherGlib::processEvents (this=0xb2a02010, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00d12059 in QEventLoop::processEvents (this=0xb337c270, flags=) at kernel/qeventloop.cpp:149
#7  0x00d124aa in QEventLoop::exec (this=0xb337c270, flags=...) at kernel/qeventloop.cpp:201
#8  0x00c0e5a8 in QThread::exec (this=0xa19e518) at thread/qthread.cpp:487
#9  0x00cf1c1b in QInotifyFileSystemWatcherEngine::run (this=0xa19e518) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00c1132e in QThreadPrivate::start (arg=0xa19e518) at thread/qthread_unix.cpp:248
#11 0x08b1996e in start_thread (arg=0xb337cb70) at pthread_create.c:300
#12 0x042bca0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb05ecb70 (LWP 19570)):
#0  0x00eee832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x08b1e342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x042c99f4 in __pthread_cond_timedwait (cond=0xbfd5548, mutex=0xbfd5530, abstime=0xb05ec300) at forward.c:152
#3  0x02ecbce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xaa959b70 (LWP 19572)):
#0  0x058dce16 in *__GI_clock_gettime (clock_id=93196276, tp=0xaa958fa8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x00d3c6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00d41825 in QTimerInfoList::updateCurrentTime (this=0xba8b734) at kernel/qeventdispatcher_unix.cpp:340
#3  0x00d4186a in QTimerInfoList::timerWait (this=0xba8b734, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00d3f818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaa95909c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x04624aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x04624ee9 in ?? () from /lib/libglib-2.0.so.0
#7  0x046254b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x00d3f60f in QEventDispatcherGlib::processEvents (this=0xa8b54c8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#9  0x00d12059 in QEventLoop::processEvents (this=0xaa959260, flags=) at kernel/qeventloop.cpp:149
#10 0x00d124aa in QEventLoop::exec (this=0xaa959260, flags=...) at kernel/qeventloop.cpp:201
#11 0x00c0e5a8 in QThread::exec (this=0xbc52ef0) at thread/qthread.cpp:487
#12 0x02e6a96a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0x00c1132e in QThreadPrivate::start (arg=0xbc52ef0) at thread/qthread_unix.cpp:248
#14 0x08b1996e in start_thread (arg=0xaa959b70) at pthread_create.c:300
#15 0x042bca0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb783a990 (LWP 2104)):
[KCrash Handler]
#6  0x00eee832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#7  0x04219651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0421ca82 in *__GI_abort () at abort.c:92
#9  0x0425049d in __libc_message (do_abort=2, fmt=0x4324f58 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x0425a591 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xe60f070) at malloc.c:6264
#11 0x0425bed3 in _int_free (av=<value optimized out>, p=0xe60f070) at malloc.c:4945
#12 0x0425eecd in *__GI___libc_free (mem=0xe60f088) at malloc.c:3738
#13 0x00c0ba5d in qFree (ptr=0xe60f088) at global/qmalloc.cpp:60
#14 0x00c5b2b0 in QString::free (d=0xe60f088) at tools/qstring.cpp:1108
#15 0xb3c036c9 in ~QString (this=0xdf4e970, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:869
#16 ~KMMsgBase (this=0xdf4e970, __in_chrg=<value optimized out>) at ../../kmail/kmmsgbase.cpp:133
#17 0xb3ba8947 in ~KMMsgInfo (this=0xdf4e970, __in_chrg=<value optimized out>) at ../../kmail/kmmsginfo.cpp:153
#18 0xb3c0b00b in KMMsgList::clear (this=0x9e6efd8, doDelete=true, syncDict=false) at ../../kmail/kmmsglist.cpp:37
#19 0xb3c76972 in KMFolderMaildir::reallyDoClose (this=0x9e6ef88) at ../../kmail/kmfoldermaildir.cpp:192
#20 0xb3b8ed2d in FolderStorage::close (this=0x0, aForced=56) at ../../kmail/folderstorage.cpp:110
#21 0xb3b5dbc6 in KMFolder::close (this=0x9e6f108, owner=0xb404d2f1 "MessageListView::StorageModel", force=<value optimized out>) at ../../kmail/kmfolder.cpp:554
#22 0xb3ec88f9 in ~StorageModel (this=0xb46a718, __in_chrg=<value optimized out>) at ../../kmail/messagelistview/storagemodel.cpp:232
#23 0x038924a5 in MessageList::Core::Widget::setStorageModel (this=0xa1ad890, storageModel=0xce807f0, preSelectionMode=MessageList::Core::PreSelectLastSelected)
    at ../../messagelist/core/widgetbase.cpp:377
#24 0xb3ece4ba in KMail::MessageListView::Widget::setFolder (this=0xa1ad890, fld=0x9f51178, icon=..., preSelectionMode=MessageList::Core::PreSelectLastSelected)
    at ../../kmail/messagelistview/widget.cpp:116
#25 0xb3ec6258 in KMail::MessageListView::Pane::setCurrentFolder (this=0xa118450, fld=0x9f51178, preferEmptyTab=false, preSelectionMode=MessageList::Core::PreSelectLastSelected, overrideLabel=...)
    at ../../kmail/messagelistview/pane.cpp:235
#26 0xb3d8f998 in KMMainWidget::folderSelected (this=0xa1ab958, aFolder=0x9f51178, forceJumpToUnread=false, preferNewTabForOpening=<value optimized out>) at ../../kmail/kmmainwidget.cpp:3021
#27 0xb3d8fe24 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0xa1ab958, fld=0x9f51178, middleClick=<value optimized out>) at ../../kmail/kmmainwidget.cpp:2837
#28 0xb3d90f1e in KMMainWidget::qt_metacall (this=0xa1ab958, _c=QMetaObject::InvokeMetaMethod, _id=162, _a=0xbfe1e5b4) at ./kmmainwidget.moc:518
#29 0x00d18c9a in QMetaObject::metacall (object=0xa1ab958, cl=2104, idx=189, argv=0xbfe1e5b4) at kernel/qmetaobject.cpp:237
#30 0x00d273d5 in QMetaObject::activate (sender=0xa145918, m=0xb4135038, local_signal_index=1, argv=0xbfe1e5b4) at kernel/qobject.cpp:3293
#31 0xb3b05b5f in KMail::FolderViewManager::folderActivated (this=0xa145918, _t1=0x9f51178, _t2=false) at ./folderview.moc:95
#32 0xb3b11116 in KMail::FolderView::activateItemInternal (this=0x98590f8, fvi=0xa2bf2e0, keepSelection=false, notifyManager=true, middleButton=<value optimized out>)
    at ../../kmail/folderview.cpp:1016
#33 0xb3b05703 in KMail::FolderView::activateItem (this=0x98590f8, fvi=0xa2bf2e0, keepSelection=<value optimized out>, middleButton=<value optimized out>) at ../../kmail/folderview.cpp:993
#34 0xb3b06a19 in KMail::FolderView::slotItemClicked (this=0x98590f8, item=0xa2bf2e8, column=0) at ../../kmail/folderview.cpp:528
#35 0xb3b11c35 in KMail::FolderView::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=134, _a=0xbfe1e7d4) at ./folderview.moc:219
#36 0xb3b1660a in KMail::MainFolderView::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=134, _a=0xbfe1e7d4) at ./mainfolderview.moc:70
#37 0x00d18c9a in QMetaObject::metacall (object=0x98590f8, cl=2104, idx=134, argv=0xbfe1e7d4) at kernel/qmetaobject.cpp:237
#38 0x00d273d5 in QMetaObject::activate (sender=0x98590f8, m=0x1976510, local_signal_index=1, argv=0xbfe1e7d4) at kernel/qobject.cpp:3293
#39 0x01660519 in QTreeWidget::itemClicked (this=0x98590f8, _t1=0xa2bf2e8, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:207
#40 0x01662dc2 in QTreeWidgetPrivate::_q_emitItemClicked (this=0xa1bb598, index=...) at itemviews/qtreewidget.cpp:2236
#41 0x0166cb71 in QTreeWidget::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfe1ea38) at .moc/release-shared/moc_qtreewidget.cpp:150
#42 0x001689fa in KPIM::TreeWidget::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=104, _a=0xbfe1ea38) at moc_treewidget.cpp:74
#43 0x001e917a in KPIM::FolderTreeWidget::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=104, _a=0xbfe1ea38) at ./foldertreewidget.moc:74
#44 0xb3b11a6a in KMail::FolderView::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=104, _a=0xbfe1ea38) at ./folderview.moc:200
#45 0xb3b1660a in KMail::MainFolderView::qt_metacall (this=0x98590f8, _c=QMetaObject::InvokeMetaMethod, _id=104, _a=0xbfe1ea38) at ./mainfolderview.moc:70
#46 0x00d18c9a in QMetaObject::metacall (object=0x98590f8, cl=2104, idx=104, argv=0xbfe1ea38) at kernel/qmetaobject.cpp:237
#47 0x00d273d5 in QMetaObject::activate (sender=0x98590f8, m=0x1975164, local_signal_index=1, argv=0xbfe1ea38) at kernel/qobject.cpp:3293
#48 0x015d9053 in QAbstractItemView::clicked (this=0x98590f8, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:331
#49 0x015e6d6a in QAbstractItemView::mouseReleaseEvent (this=0x98590f8, event=0xbfe1f450) at itemviews/qabstractitemview.cpp:1780
#50 0x0163143c in QTreeView::mouseReleaseEvent (this=0x98590f8, event=0xbfe1f450) at itemviews/qtreeview.cpp:1820
#51 0xb3b0732e in KMail::FolderView::mouseReleaseEvent (this=0x98590f8, e=0xbfe1f450) at ../../kmail/folderview.cpp:933
#52 0x0109e7f8 in QWidget::event (this=0x98590f8, event=0xbfe1f450) at kernel/qwidget.cpp:7998
#53 0x0149afd3 in QFrame::event (this=0x98590f8, e=0xbfe1f450) at widgets/qframe.cpp:557
#54 0x01535382 in QAbstractScrollArea::viewportEvent (this=0x838, e=0x6) at widgets/qabstractscrollarea.cpp:1036
#55 0x015e9bd7 in QAbstractItemView::viewportEvent (this=0x98590f8, event=0xbfe1f450) at itemviews/qabstractitemview.cpp:1610
#56 0x0162af7c in QTreeView::viewportEvent (this=0x98590f8, event=0xbfe1f450) at itemviews/qtreeview.cpp:1248
#57 0x01537c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa1bc7b0, o=0xa1bb9a0, e=0xbfe1f450) at widgets/qabstractscrollarea_p.h:100
#58 QAbstractScrollAreaFilter::eventFilter (this=0xa1bc7b0, o=0xa1bb9a0, e=0xbfe1f450) at widgets/qabstractscrollarea_p.h:116
#59 0x00d12cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x95a4cf0, receiver=0xa1bb9a0, event=0xbfe1f450) at kernel/qcoreapplication.cpp:819
#60 0x010404b9 in QApplicationPrivate::notify_helper (this=0x95a4cf0, receiver=0xa1bb9a0, e=0xbfe1f450) at kernel/qapplication.cpp:4296
#61 0x010479f7 in QApplication::notify (this=0xbfe1fd04, receiver=0xa1bb9a0, e=0xbfe1f450) at kernel/qapplication.cpp:3865
#62 0x006cbf2a in KApplication::notify (this=0xbfe1fd04, receiver=0xa1bb9a0, event=0xbfe1f450) at ../../kdeui/kernel/kapplication.cpp:302
#63 0x00d13a3b in QCoreApplication::notifyInternal (this=0xbfe1fd04, receiver=0xa1bb9a0, event=0xbfe1f450) at kernel/qcoreapplication.cpp:704
#64 0x01046952 in QCoreApplication::sendEvent (receiver=0xa1bb9a0, event=0xbfe1f450, alienWidget=0xa1bb9a0, nativeWidget=0xa251188, buttonDown=0x1984058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#65 QApplicationPrivate::sendMouseEvent (receiver=0xa1bb9a0, event=0xbfe1f450, alienWidget=0xa1bb9a0, nativeWidget=0xa251188, buttonDown=0x1984058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#66 0x010d2088 in QETWidget::translateMouseEvent (this=0xa251188, event=0xbfe1f96c) at kernel/qapplication_x11.cpp:4368
#67 0x010d1511 in QApplication::x11ProcessEvent (this=0xbfe1fd04, event=0xbfe1f96c) at kernel/qapplication_x11.cpp:3379
#68 0x0110060a in x11EventSourceDispatch (s=0x95b0c18, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x046215e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#70 0x046252d8 in ?? () from /lib/libglib-2.0.so.0
#71 0x046254b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#72 0x00d3f5d5 in QEventDispatcherGlib::processEvents (this=0x9585070, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#73 0x01100135 in QGuiEventDispatcherGlib::processEvents (this=0x9585070, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00d12059 in QEventLoop::processEvents (this=0xbfe1fc64, flags=) at kernel/qeventloop.cpp:149
#75 0x00d124aa in QEventLoop::exec (this=0xbfe1fc64, flags=...) at kernel/qeventloop.cpp:201
#76 0x00d1669f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#77 0x01040577 in QApplication::exec () at kernel/qapplication.cpp:3579
#78 0x0804b472 in main (argc=1, argv=0xbfe1ff24) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 236379, bug 228333, bug 220452, bug 214079, bug 205197.

Reported using DrKonqi
Comment 1 Alexey Neyman 2010-07-22 23:36:34 UTC
Created attachment 49416 [details]
New crash information added by DrKonqi

Crash happened during the same operation (switching to another mail folder), although, judging by the backtrace, in a different destructor.
Comment 2 Björn Ruberg 2010-08-08 17:01:43 UTC

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