Bug 209849 - Disappearing message eventually caused a crash [KMFolder::unGetMsg, MessageListView::StorageModel::releaseMessage, MessageListView::Widget::setFolder]
Summary: Disappearing message eventually caused a crash [KMFolder::unGetMsg, MessageLi...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: new message list (show other bugs)
Version: 1.12.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 10:47 UTC by Tim McKenzie
Modified: 2012-08-19 11:03 UTC (History)
0 users

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 Tim McKenzie 2009-10-08 10:47:31 UTC
Application that crashed: kontact
Version of the application: 4.3.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.8-64.fc11.i586 i686

What I was doing when the application crashed:
I clicked on a new message in my inbox (Gmail via IMAP).  This message and several others (many --- perhaps all --- with the same subject line) disappeared.  They were still in my Gmail "All Mail" folder.  I read the new one, and then tried to copy it back to my inbox.  This is when the crash happened.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb4d2f5af in KMFolder::unGetMsg (this=0x2f003a, idx=24546) at /usr/src/debug/kdepim-4.3.1/kmail/kmfolder.cpp:373
#7  0xb5098c41 in KMail::MessageListView::StorageModel::releaseMessage (this=0x9d18178, row=24546) at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/storagemodel.cpp:247
#8  0xb509d95f in KMail::MessageListView::Widget::setFolder (this=0x8e60fa0, fld=0x0, icon=@0xbf90f25c, preSelectionMode=KMail::MessageListView::Core::PreSelectNone)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/widget.cpp:91
#9  0xb5095fa8 in KMail::MessageListView::Pane::setCurrentFolder (this=0x8e5f950, fld=0x0, preferEmptyTab=false, preSelectionMode=KMail::MessageListView::Core::PreSelectNone, 
    overrideLabel=@0xbf90f2c8) at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/pane.cpp:218
#10 0xb4f5dbbe in KMMainWidget::folderSelected (this=0x8e60880, aFolder=0x8cb9980, forceJumpToUnread=false, preferNewTabForOpening=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.1/kmail/kmmainwidget.cpp:3034
#11 0xb4f5dd24 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0x8e60880, fld=0x8cb9980, middleClick=<value optimized out>) at /usr/src/debug/kdepim-4.3.1/kmail/kmmainwidget.cpp:2897
#12 0xb4f5fece in KMMainWidget::qt_metacall (this=0x8e60880, _c=QMetaObject::InvokeMetaMethod, _id=161, _a=0xbf90f434) at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/kmmainwidget.moc:509
#13 0x00a7f853 in QMetaObject::activate (sender=0x89baba0, from_signal_index=5, to_signal_index=5, argv=0xbf90f434) at kernel/qobject.cpp:3113
#14 0x00a804b2 in QMetaObject::activate (sender=0x89baba0, m=0xb533b7f8, local_signal_index=1, argv=0xbf90f434) at kernel/qobject.cpp:3187
#15 0xb4cd3c5f in KMail::FolderViewManager::folderActivated (this=0x89baba0, _t1=0x8cb9980, _t2=false) at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/folderview.moc:89
#16 0xb4cdeade in KMail::FolderView::activateItemInternal (this=0x8eb88e8, fvi=0x9390660, keepSelection=false, notifyManager=true, middleButton=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:1010
#17 0xb4cd3833 in KMail::FolderView::activateItem (this=0x8eb88e8, fvi=0x9390660, keepSelection=<value optimized out>, middleButton=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:987
#18 0xb4cd4a69 in KMail::FolderView::slotItemClicked (this=0x8eb88e8, item=0x9390668, column=0) at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:527
#19 0xb4cdf5e5 in KMail::FolderView::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=141, _a=0xbf90f644)
    at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/folderview.moc:207
#20 0xb4ce367a in KMail::MainFolderView::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=141, _a=0xbf90f644)
    at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/mainfolderview.moc:64
#21 0x00a7f853 in QMetaObject::activate (sender=0x8eb88e8, from_signal_index=96, to_signal_index=96, argv=0xbf90f644) at kernel/qobject.cpp:3113
#22 0x00a804b2 in QMetaObject::activate (sender=0x8eb88e8, m=0x518f3f0, local_signal_index=1, argv=0xbf90f644) at kernel/qobject.cpp:3187
#23 0x04ee7b69 in QTreeWidget::itemClicked (this=0x8eb88e8, _t1=0x9390668, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#24 0x04eec9c2 in QTreeWidgetPrivate::_q_emitItemClicked (this=0x8eb8968, index=@0xc508468) at itemviews/qtreewidget.cpp:2228
#25 0x04ef5241 in QTreeWidget::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbf90f898) at .moc/release-shared/moc_qtreewidget.cpp:144
#26 0x004bd4da in KPIM::TreeWidget::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf90f898)
    at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/libkdepim/moc_treewidget.cpp:68
#27 0x005233ea in KPIM::FolderTreeWidget::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf90f898)
    at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/libkdepim/foldertreewidget.moc:68
#28 0xb4cdf41a in KMail::FolderView::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf90f898)
    at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/folderview.moc:188
#29 0xb4ce367a in KMail::MainFolderView::qt_metacall (this=0x8eb88e8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf90f898)
    at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/mainfolderview.moc:64
#30 0x00a7f853 in QMetaObject::activate (sender=0x8eb88e8, from_signal_index=32, to_signal_index=32, argv=0xbf90f898) at kernel/qobject.cpp:3113
#31 0x00a804b2 in QMetaObject::activate (sender=0x8eb88e8, m=0x518e344, local_signal_index=1, argv=0xbf90f898) at kernel/qobject.cpp:3187
#32 0x04e67e03 in QAbstractItemView::clicked (this=0x8eb88e8, _t1=@0xc508468) at .moc/release-shared/moc_qabstractitemview.cpp:321
#33 0x04e7598a in QAbstractItemView::mouseReleaseEvent (this=0x8eb88e8, event=0xbf910210) at itemviews/qabstractitemview.cpp:1660
#34 0x04eba09c in QTreeView::mouseReleaseEvent (this=0x8eb88e8, event=0xbf910210) at itemviews/qtreeview.cpp:1796
#35 0xb4cd53bd in KMail::FolderView::mouseReleaseEvent (this=0x8eb88e8, e=0xbf910210) at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:927
#36 0x04978b9a in QWidget::event (this=0x8eb88e8, event=0xbf910210) at kernel/qwidget.cpp:7549
#37 0x04d26463 in QFrame::event (this=0x8eb88e8, e=0xbf910210) at widgets/qframe.cpp:559
#38 0x04dc55a4 in QAbstractScrollArea::viewportEvent (this=0x5fe2, e=0xc1ac5589) at widgets/qabstractscrollarea.cpp:962
#39 0x04e78def in QAbstractItemView::viewportEvent (this=0x8eb88e8, event=0xbf910210) at itemviews/qabstractitemview.cpp:1476
#40 0x04eb4214 in QTreeView::viewportEvent (this=0x8eb88e8, event=0xbf910210) at itemviews/qtreeview.cpp:1266
#41 0x04dc7bb5 in QAbstractScrollAreaPrivate::viewportEvent (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:100
#42 QAbstractScrollAreaFilter::eventFilter (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:111
#43 0x00a68c9a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x88c1810, receiver=0x91b2330, event=0xbf910210) at kernel/qcoreapplication.cpp:726
#44 0x0492394c in QApplicationPrivate::notify_helper (this=0x88c1810, receiver=0x91b2330, e=0xbf910210) at kernel/qapplication.cpp:4052
#45 0x0492ba9b in QApplication::notify (this=0xbf911bf4, receiver=0x91b2330, e=0xbf910210) at kernel/qapplication.cpp:3758
#46 0x0551460a in KApplication::notify (this=0xbf911bf4, receiver=0x91b2330, event=0xbf910210) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#47 0x00a69b0b in QCoreApplication::notifyInternal (this=0xbf911bf4, receiver=0x91b2330, event=0xbf910210) at kernel/qcoreapplication.cpp:610
#48 0x0492a9de in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#49 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#50 0x04999090 in QETWidget::translateMouseEvent (this=0x8e60880, event=0xbf91185c) at kernel/qapplication_x11.cpp:4404
#51 0x04998523 in QApplication::x11ProcessEvent (this=0xbf911bf4, event=0xbf91185c) at kernel/qapplication_x11.cpp:3423
#52 0x049c35d2 in x11EventSourceDispatch (s=0x88c7468, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x00d03308 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#54 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#55 0x00d069e0 in g_main_context_iterate (context=0x88c6690, block=<value optimized out>, dispatch=1, self=0x88c3c68) at gmain.c:2455
#56 0x00d06b13 in IA__g_main_context_iteration (context=0x88c6690, may_block=1) at gmain.c:2518
#57 0x00a945ec in QEventDispatcherGlib::processEvents (this=0x889da28, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#58 0x049c2cb5 in QGuiEventDispatcherGlib::processEvents (this=0x889da28, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#59 0x00a680d9 in QEventLoop::processEvents (this=0xbf911b54, flags={i = 36}) at kernel/qeventloop.cpp:149
#60 0x00a6852a in QEventLoop::exec (this=0xbf911b54, flags={i = 0}) at kernel/qeventloop.cpp:201
#61 0x00a6a9af in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#62 0x049237f7 in QApplication::exec () at kernel/qapplication.cpp:3525
#63 0x0804b2e6 in main (argc=1, argv=0xbf911e14) at /usr/src/debug/kdepim-4.3.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-19 11:03:08 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