Bug 195638 - KMail crashes Kontact (KMFolderIndex::recreateIndex, KMMsgBase::getLongPart)
Summary: KMail crashes Kontact (KMFolderIndex::recreateIndex, KMMsgBase::getLongPart)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 195640 198156 241888 277110 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-08 07:58 UTC by Walter Mautner
Modified: 2012-08-19 11:01 UTC (History)
2 users (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 Walter Mautner 2009-06-08 07:58:21 UTC
Application that crashed: kontact
Version of the application: 4.3.0 pre
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-6-generic x86_64
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
happens every now and then wit various subfolders. Only remedy is to restart kontact/kmail

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f7769fbec98 in KMFolderIndex::recreateIndex (this=0x2520190) at ../../kmail/kmfolderindex.cpp:483
#6  0x00007f7769e53cad in KMMsgBase::getLongPart (this=0x2d51340, t=KMMsgBase::MsgStatusPart) at ../../kmail/kmmsgbase.cpp:1045
#7  0x00007f7769df8785 in KMMsgInfo::status (this=0x2d51340) at ../../kmail/kmmsginfo.cpp:503
#8  0x00007f7769fbfb53 in KMFolderIndex::readIndex (this=0x2520190) at ../../kmail/kmfolderindex.cpp:248
#9  0x00007f7769fc1270 in KMFolderIndex::openInternal (this=0x2520190, options=) at ../../kmail/kmfolderindex_common.cpp:153
#10 0x00007f7769eb8fb1 in KMFolderMaildir::open (this=0x2520190) at ../../kmail/kmfoldermaildir.cpp:133
#11 0x00007f776a0e8400 in StorageModel (this=0x2a260a0, folder=0x25087f0, parent=<value optimized out>) at ../../kmail/messagelistview/storagemodel.cpp:47
#12 0x00007f776a0eaa90 in KMail::MessageListView::Widget::setFolder (this=0x2543430, fld=<value optimized out>, icon=<value optimized out>, preSelectionMode=<value optimized out>)
    at ../../kmail/messagelistview/widget.cpp:113
#13 0x00007f776a0e4376 in KMail::MessageListView::Pane::setCurrentFolder (this=0x253a410, fld=0x25087f0, preferEmptyTab=<value optimized out>, 
    preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected, overrideLabel=@0x7fffc8f7f3f0) at ../../kmail/messagelistview/pane.cpp:201
#14 0x00007f7769fba8a6 in KMMainWidget::folderSelected (this=0x254a4e0, aFolder=<value optimized out>, forceJumpToUnread=false, preferNewTabForOpening=81) at ../../kmail/kmmainwidget.cpp:3077
#15 0x00007f7769fbcd7c in KMMainWidget::qt_metacall (this=0x254a4e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc8f7f580) at ./kmmainwidget.moc:509
#16 0x00007f777fbcae12 in QMetaObject::activate (sender=0x252f7e0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3120
#17 0x00007f7769d60340 in KMail::FolderViewManager::folderActivated (this=0x2520190, _t1=0x25087f0, _t2=false) at ./folderview.moc:89
#18 0x00007f7769d6a7d7 in KMail::FolderView::activateItemInternal (this=0x261d570, fvi=0x2948ca0, keepSelection=false, notifyManager=true, middleButton=false) at ../../kmail/folderview.cpp:1018
#19 0x00007f7769d6b293 in KMail::FolderView::qt_metacall (this=0x261d570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc8f7f750) at ./folderview.moc:204
#20 0x00007f7769d6ef40 in KMail::MainFolderView::qt_metacall (this=0x2520190, _c=2136123192, _id=81, _a=0x0) at ./mainfolderview.moc:64
#21 0x00007f777fbcae12 in QMetaObject::activate (sender=0x261d570, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3120
#22 0x00007f7780a4bae0 in QTreeWidget::itemClicked (this=0x2520190, _t1=0x2948cb0, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#23 0x00007f7780a58933 in QTreeWidget::qt_metacall (this=0x261d570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc8f7f950) at .moc/release-shared/moc_qtreewidget.cpp:144
#24 0x00007f77815ade20 in KPIM::TreeWidget::qt_metacall (this=0x2520190, _c=2136123192, _id=81, _a=0x0) at moc_treewidget.cpp:68
#25 0x00007f77816094a0 in KPIM::FolderTreeWidget::qt_metacall (this=0x2520190, _c=2136123192, _id=81, _a=0x0) at ./foldertreewidget.moc:68
#26 0x00007f7769d6b0d0 in KMail::FolderView::qt_metacall (this=0x2520190, _c=2136123192, _id=81, _a=0x0) at ./folderview.moc:186
#27 0x00007f7769d6ef40 in KMail::MainFolderView::qt_metacall (this=0x2520190, _c=2136123192, _id=81, _a=0x0) at ./mainfolderview.moc:64
#28 0x00007f777fbcae12 in QMetaObject::activate (sender=0x261d570, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3120
#29 0x00007f77809d2ec5 in QAbstractItemView::clicked (this=0x2520190, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:321
#30 0x00007f77809dfd5b in QAbstractItemView::mouseReleaseEvent (this=0x261d570, event=0x7fffc8f805f0) at itemviews/qabstractitemview.cpp:1655
#31 0x00007f778051dd0f in QWidget::event (this=0x261d570, event=0x7fffc8f805f0) at kernel/qwidget.cpp:7521
#32 0x00007f77808ae186 in QFrame::event (this=0x261d570, e=0x7fffc8f805f0) at widgets/qframe.cpp:559
#33 0x00007f77809e33fd in QAbstractItemView::viewportEvent (this=0x261d570, event=0x7fffc8f805f0) at itemviews/qabstractitemview.cpp:1471
#34 0x00007f7780a19d70 in QTreeView::viewportEvent (this=0x261d570, event=0x7fffc8f805f0) at itemviews/qtreeview.cpp:1264
#35 0x00007f777fbb46e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2613140, event=0x7fffc8f805f0) at kernel/qcoreapplication.cpp:726
#36 0x00007f77804ce3cc in QApplicationPrivate::notify_helper (this=0x1f12880, receiver=0x2613140, e=0x7fffc8f805f0) at kernel/qapplication.cpp:4053
#37 0x00007f77804d5db1 in QApplication::notify (this=<value optimized out>, receiver=0x2613140, e=0x7fffc8f805f0) at kernel/qapplication.cpp:3759
#38 0x00007f778113bc36 in KApplication::notify (this=0x7fffc8f82510, receiver=0x2613140, event=0x7fffc8f805f0) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007f777fbb53ec in QCoreApplication::notifyInternal (this=0x7fffc8f82510, receiver=0x2613140, event=0x7fffc8f805f0) at kernel/qcoreapplication.cpp:610
#40 0x00007f77804d4ff0 in QApplicationPrivate::sendMouseEvent (receiver=0x2613140, event=0x7fffc8f805f0, alienWidget=0x2613140, nativeWidget=0x254a4e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#41 0x00007f778053c27e in QETWidget::translateMouseEvent (this=0x254a4e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4448
#42 0x00007f778053b2a8 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffc8f82120) at kernel/qapplication_x11.cpp:3566
#43 0x00007f7780564a34 in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007f77799b08be in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0x00007f77799b3f98 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x00007f77799b40c0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0x00007f777fbde706 in QEventDispatcherGlib::processEvents (this=0x1ee7850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#48 0x00007f77805641de in QGuiEventDispatcherGlib::processEvents (this=0x2520190, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#49 0x00007f777fbb3cc2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#50 0x00007f777fbb4094 in QEventLoop::exec (this=0x7fffc8f82450, flags=) at kernel/qeventloop.cpp:200
#51 0x00007f777fbb6189 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#52 0x0000000000403f2e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218
Comment 1 FiNeX 2009-06-08 10:12:59 UTC
*** Bug 195640 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2009-07-04 16:03:48 UTC
*** Bug 198156 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas L. 2010-06-17 10:44:49 UTC
*** Bug 241888 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-07-08 08:44:31 UTC
*** Bug 277110 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2012-08-19 11:01:45 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding