Bug 202103

Summary: kmail crashed after stopping sync of a disconnected IMAP folder when starting sync of an other
Product: [Unmaintained] kmail Reporter: BORGULYA Gábor <bugs2>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BORGULYA Gábor 2009-07-31 17:05:01 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

kmail crashed after stopping sync of a disconnected IMAP folder when starting sync of an other

Anwendung: KMail (kmail), Signal SIGABRT
[Current thread is 0 (LWP 4085)]

Thread 2 (Thread 0xac3f8b90 (LWP 16057)):
#0  0xb8051430 in __kernel_vsyscall ()
#1  0xb5c917b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5f65380 in QProcessManager::run (this=0x88af1e8) at io/qprocess_unix.cpp:305
#3  0xb5e9396e in QThreadPrivate::start (arg=0x88af1e8) at thread/qthread_unix.cpp:189
#4  0xb50c74ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5c9949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3cbdb40 (LWP 4085)):
[KCrash Handler]
#6  0xb8051430 in __kernel_vsyscall ()
#7  0xb5be06d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5be2098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5e8b595 in qt_message_output (msgType=QtFatalMsg, buf=0xce4d220 "ASSERT: \"!transferInProgress( serNum )\" in file /build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp, line 180")
    at global/qglobal.cpp:2006
#10 0xb5e8b681 in qFatal (msg=0xb5fda318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb5e8b775 in qt_assert (assertion=0xb793564b "!transferInProgress( serNum )", file=0xb79355f8 "/build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp", line=180) at global/qglobal.cpp:1777
#12 0xb74673a0 in KMail::MessageProperty::forget (msgBase=0xd0d11c8) at /build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp:180
#13 0xb74cba7a in ~KMMsgBase (this=0xd0d11c8) at /build/buildd/kdepim-4.2.2/kmail/kmmsgbase.cpp:125
#14 0xb732b424 in ~KMMessage (this=0xd0d11c8) at /build/buildd/kdepim-4.2.2/kmail/kmmessage.cpp:225
#15 0xb74d4bb9 in KMMsgList::clear (this=0x8ec6880, doDelete=true, syncDict=false) at /build/buildd/kdepim-4.2.2/kmail/kmmsglist.cpp:37
#16 0xb754a5af in KMFolderMaildir::reallyDoClose (this=0x8ec6830) at /build/buildd/kdepim-4.2.2/kmail/kmfoldermaildir.cpp:203
#17 0xb7532193 in KMFolderCachedImap::reallyDoClose (this=0x8ec6830) at /build/buildd/kdepim-4.2.2/kmail/kmfoldercachedimap.cpp:239
#18 0xb74549bd in FolderStorage::close (this=0x6, aForced=245) at /build/buildd/kdepim-4.2.2/kmail/folderstorage.cpp:110
#19 0xb74228a6 in KMFolder::close (this=0x8ec3450, owner=0xb799cddb "MessageListView::StorageModel", force=<value optimized out>) at /build/buildd/kdepim-4.2.2/kmail/kmfolder.cpp:542
#20 0xb77af0e9 in ~StorageModel (this=0x9e5a6f0) at /build/buildd/kdepim-4.2.2/kmail/messagelistview/storagemodel.cpp:193
#21 0xb7818b2f in KMail::MessageListView::Core::Widget::setStorageModel (this=0x8f70ad0, storageModel=0xfd48120, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.2.2/kmail/messagelistview/core/widgetbase.cpp:315
#22 0xb77b47e2 in KMail::MessageListView::Widget::setFolder (this=0x8f70ad0, fld=0x8a8cb20, icon=@0xbf96c118, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.2.2/kmail/messagelistview/widget.cpp:113
#23 0xb77acb86 in KMail::MessageListView::Pane::setCurrentFolder (this=0x8ef1068, fld=0x8a8cb20, preferEmptyTab=false, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected, 
    overrideLabel=@0xbf96c164) at /build/buildd/kdepim-4.2.2/kmail/messagelistview/pane.cpp:203
#24 0xb76694a6 in KMMainWidget::folderSelected (this=0x8ad67a8, aFolder=0x8a8cb20, forceJumpToUnread=false, preferNewTabForOpening=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/kmmainwidget.cpp:3067
#25 0xb7669954 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0x8ad67a8, fld=0x8a8cb20, middleClick=<value optimized out>) at /build/buildd/kdepim-4.2.2/kmail/kmmainwidget.cpp:2883
#26 0xb766ba4d in KMMainWidget::qt_metacall (this=0x8ad67a8, _c=QMetaObject::InvokeMetaMethod, _id=160, _a=0xbf96c298) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/kmmainwidget.moc:506
#27 0xb5f9dca8 in QMetaObject::activate (sender=0x89fe0f0, from_signal_index=5, to_signal_index=5, argv=0xbf96c298) at kernel/qobject.cpp:3069
#28 0xb5f9e932 in QMetaObject::activate (sender=0x89fe0f0, m=0xb7a92a58, local_signal_index=1, argv=0xbf96c298) at kernel/qobject.cpp:3143
#29 0xb73c248f in KMail::FolderViewManager::folderActivated (this=0x89fe0f0, _t1=0x8a8cb20, _t2=false) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:89
#30 0xb73ce2c1 in KMail::FolderView::activateItemInternal (this=0x916bc18, fvi=0xfb62f58, keepSelection=false, notifyManager=true, middleButton=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:999
#31 0xb73c2063 in KMail::FolderView::activateItem (this=0x916bc18, fvi=0xfb62f58, keepSelection=<value optimized out>, middleButton=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:976
#32 0xb73c336a in KMail::FolderView::slotItemClicked (this=0x916bc18, item=0xfb62f60, column=0) at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:529
#33 0xb73cf018 in KMail::FolderView::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf96c448) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:204
#34 0xb73d310a in KMail::MainFolderView::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=139, _a=0xbf96c448)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/mainfolderview.moc:64
#35 0xb5f9dca8 in QMetaObject::activate (sender=0x916bc18, from_signal_index=96, to_signal_index=96, argv=0xbf96c448) at kernel/qobject.cpp:3069
#36 0xb5f9e932 in QMetaObject::activate (sender=0x916bc18, m=0xb6acdad0, local_signal_index=1, argv=0xbf96c448) at kernel/qobject.cpp:3143
#37 0xb6824eb9 in QTreeWidget::itemClicked (this=0x916bc18, _t1=0xfb62f60, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#38 0xb6828d75 in QTreeWidgetPrivate::_q_emitItemClicked (this=0x8fa7490, index=@0x99a3d70) at itemviews/qtreewidget.cpp:2226
#39 0xb6832491 in QTreeWidget::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbf96c63c) at .moc/release-shared/moc_qtreewidget.cpp:144
#40 0xb71ba4da in KPIM::TreeWidget::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf96c63c)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/libkdepim/moc_treewidget.cpp:68
#41 0xb71ba67a in KPIM::FolderTreeWidget::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf96c63c)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/libkdepim/moc_foldertreewidget.cpp:64
#42 0xb73cee8a in KMail::FolderView::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf96c63c) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:186
#43 0xb73d310a in KMail::MainFolderView::qt_metacall (this=0x916bc18, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf96c63c)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/mainfolderview.moc:64
#44 0xb5f9dca8 in QMetaObject::activate (sender=0x916bc18, from_signal_index=32, to_signal_index=32, argv=0xbf96c63c) at kernel/qobject.cpp:3069
#45 0xb5f9e932 in QMetaObject::activate (sender=0x916bc18, m=0xb6acca24, local_signal_index=1, argv=0xbf96c63c) at kernel/qobject.cpp:3143
#46 0xb67a71b3 in QAbstractItemView::clicked (this=0x916bc18, _t1=@0x99a3d70) at .moc/release-shared/moc_qabstractitemview.cpp:321
#47 0xb67b47b5 in QAbstractItemView::mouseReleaseEvent (this=0x916bc18, event=0xbf96cf88) at itemviews/qabstractitemview.cpp:1655
#48 0xb67f778c in QTreeView::mouseReleaseEvent (this=0x916bc18, event=0xbf96cf88) at itemviews/qtreeview.cpp:1787
#49 0xb73c47d5 in KMail::FolderView::mouseReleaseEvent (this=0x916bc18, e=0xbf96cf88) at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:919
#50 0xb628bb43 in QWidget::event (this=0x916bc18, event=0xbf96cf88) at kernel/qwidget.cpp:7516
#51 0xb6665993 in QFrame::event (this=0x916bc18, e=0xbf96cf88) at widgets/qframe.cpp:559
#52 0xb670594f in QAbstractScrollArea::viewportEvent (this=0x916bc18, e=0x6) at widgets/qabstractscrollarea.cpp:962
#53 0xb67b7647 in QAbstractItemView::viewportEvent (this=0x916bc18, event=0xbf96cf88) at itemviews/qabstractitemview.cpp:1466
#54 0xb67f20c4 in QTreeView::viewportEvent (this=0x916bc18, event=0xbf96cf88) at itemviews/qtreeview.cpp:1257
#55 0xb6707f55 in QAbstractScrollAreaFilter::eventFilter (this=0x8fa8420, o=0x8f840c8, e=0xbf96cf88) at widgets/qabstractscrollarea_p.h:100
#56 0xb5f86c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x88ad8f0, receiver=0x8f840c8, event=0xbf96cf88) at kernel/qcoreapplication.cpp:718
#57 0xb6234e7a in QApplicationPrivate::notify_helper (this=0x88ad8f0, receiver=0x8f840c8, e=0xbf96cf88) at kernel/qapplication.cpp:4080
#58 0xb623db11 in QApplication::notify (this=0xbf96d928, receiver=0x8f840c8, e=0xbf96cf88) at kernel/qapplication.cpp:3786
#59 0xb7e8b94d in KApplication::notify (this=0xbf96d928, receiver=0x8f840c8, event=0xbf96cf88) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#60 0xb5f87a3b in QCoreApplication::notifyInternal (this=0xbf96d928, receiver=0x8f840c8, event=0xbf96cf88) at kernel/qcoreapplication.cpp:602
#61 0xb623cb7e in QApplicationPrivate::sendMouseEvent (receiver=0x8f840c8, event=0xbf96cf88, alienWidget=0x8f840c8, nativeWidget=0x8acbba8, buttonDown=0xb6adf200, lastMouseReceiver=@0xb6adf204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#62 0xb62ac97e in QETWidget::translateMouseEvent (this=0x8acbba8, event=0xbf96d5cc) at kernel/qapplication_x11.cpp:4425
#63 0xb62abca7 in QApplication::x11ProcessEvent (this=0xbf96d928, event=0xbf96d5cc) at kernel/qapplication_x11.cpp:3421
#64 0xb62d6c6a in x11EventSourceDispatch (s=0x88af100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0xb43bfb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0xb43c30eb in ?? () from /usr/lib/libglib-2.0.so.0
#67 0xb43c3268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0xb5fb3438 in QEventDispatcherGlib::processEvents (this=0x888a5a8, flags={i = -1080633464}) at kernel/qeventdispatcher_glib.cpp:323
#69 0xb62d6365 in QGuiEventDispatcherGlib::processEvents (this=0x888a5a8, flags={i = -1080633416}) at kernel/qguieventdispatcher_glib.cpp:202
#70 0xb5f8606a in QEventLoop::processEvents (this=0xbf96d830, flags={i = -1080633352}) at kernel/qeventloop.cpp:149
#71 0xb5f864aa in QEventLoop::exec (this=0xbf96d830, flags={i = -1080633288}) at kernel/qeventloop.cpp:200
#72 0xb5f88959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#73 0xb6234d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#74 0x0804a7a0 in main (argc=) at /build/buildd/kdepim-4.2.2/kmail/main.cpp:146
Comment 1 Dario Andres 2009-07-31 17:52:45 UTC
This may be related to bug 156991 / bug 176571
Could you check them to see if you find any coincidence in your situation?
Thanks
Comment 2 BORGULYA Gábor 2009-07-31 18:20:26 UTC
(In reply to comment #1)
> This may be related to bug 156991 / bug 176571
> Could you check them to see if you find any coincidence in your situation?
I am not sure if it is related. But I figured out a way to reproduce the crash on my system:

1. go to a disconnected IMAP folder where messages are waiting for upload
2. press F5 to start sync, upload begins
3. press the red minus icon to stop the upload of messages.
  (Kmail tells that it has aborted the sync, but the network monitor widget still shows upload.)
4. click on an other folder. kmail crashes.

The main difference from the earlier description is that pressing the F5 on the new folder is not necessary, it is sufficient to leftclick the name of an other folder.
Comment 3 BORGULYA Gábor 2009-07-31 18:21:18 UTC
> 1. go to a disconnected IMAP folder where messages are waiting for upload
> 2. press F5 to start sync, upload begins
> 3. press the red minus icon to stop the upload of messages.
>   (Kmail tells that it has aborted the sync, but the network monitor widget
> still shows upload.)
> 4. click on an other folder. kmail crashes.

Anwendung: KMail (kmail), Signal SIGABRT

Thread 1 (Thread 0xb3d00b40 (LWP 21425)):
[KCrash Handler]
#6  0xb8094430 in __kernel_vsyscall ()
#7  0xb5c236d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5c25098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5ece595 in qt_message_output (msgType=QtFatalMsg, buf=0x99ebc48 "ASSERT: \"!transferInProgress( serNum )\" in file /build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp, line 180")
    at global/qglobal.cpp:2006
#10 0xb5ece681 in qFatal (msg=0xb601d318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb5ece775 in qt_assert (assertion=0xb797864b "!transferInProgress( serNum )", file=0xb79785f8 "/build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp", line=180) at global/qglobal.cpp:1777
#12 0xb74aa3a0 in KMail::MessageProperty::forget (msgBase=0x9af0bc0) at /build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp:180
#13 0xb750ea7a in ~KMMsgBase (this=0x9af0bc0) at /build/buildd/kdepim-4.2.2/kmail/kmmsgbase.cpp:125
#14 0xb736e424 in ~KMMessage (this=0x9af0bc0) at /build/buildd/kdepim-4.2.2/kmail/kmmessage.cpp:225
#15 0xb7517bb9 in KMMsgList::clear (this=0x8ae5d98, doDelete=true, syncDict=false) at /build/buildd/kdepim-4.2.2/kmail/kmmsglist.cpp:37
#16 0xb758d5af in KMFolderMaildir::reallyDoClose (this=0x8ae5d48) at /build/buildd/kdepim-4.2.2/kmail/kmfoldermaildir.cpp:203
#17 0xb7575193 in KMFolderCachedImap::reallyDoClose (this=0x8ae5d48) at /build/buildd/kdepim-4.2.2/kmail/kmfoldercachedimap.cpp:239
#18 0xb74979bd in FolderStorage::close (this=0x6, aForced=177) at /build/buildd/kdepim-4.2.2/kmail/folderstorage.cpp:110
#19 0xb74658a6 in KMFolder::close (this=0x8aec198, owner=0xb79dfddb "MessageListView::StorageModel", force=<value optimized out>) at /build/buildd/kdepim-4.2.2/kmail/kmfolder.cpp:542
#20 0xb77f20e9 in ~StorageModel (this=0x968e788) at /build/buildd/kdepim-4.2.2/kmail/messagelistview/storagemodel.cpp:193
#21 0xb785bb2f in KMail::MessageListView::Core::Widget::setStorageModel (this=0x86e0658, storageModel=0x99973a0, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.2.2/kmail/messagelistview/core/widgetbase.cpp:315
#22 0xb77f77e2 in KMail::MessageListView::Widget::setFolder (this=0x86e0658, fld=0x86b5be8, icon=@0xbfdb0e08, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.2.2/kmail/messagelistview/widget.cpp:113
#23 0xb77efb86 in KMail::MessageListView::Pane::setCurrentFolder (this=0x8b1c9e8, fld=0x86b5be8, preferEmptyTab=false, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected, 
    overrideLabel=@0xbfdb0e54) at /build/buildd/kdepim-4.2.2/kmail/messagelistview/pane.cpp:203
#24 0xb76ac4a6 in KMMainWidget::folderSelected (this=0x84c7148, aFolder=0x86b5be8, forceJumpToUnread=false, preferNewTabForOpening=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/kmmainwidget.cpp:3067
#25 0xb76ac954 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0x84c7148, fld=0x86b5be8, middleClick=<value optimized out>) at /build/buildd/kdepim-4.2.2/kmail/kmmainwidget.cpp:2883
#26 0xb76aea4d in KMMainWidget::qt_metacall (this=0x84c7148, _c=QMetaObject::InvokeMetaMethod, _id=160, _a=0xbfdb0f88) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/kmmainwidget.moc:506
#27 0xb5fe0ca8 in QMetaObject::activate (sender=0x86cb6b8, from_signal_index=5, to_signal_index=5, argv=0xbfdb0f88) at kernel/qobject.cpp:3069
#28 0xb5fe1932 in QMetaObject::activate (sender=0x86cb6b8, m=0xb7ad5a58, local_signal_index=1, argv=0xbfdb0f88) at kernel/qobject.cpp:3143
#29 0xb740548f in KMail::FolderViewManager::folderActivated (this=0x86cb6b8, _t1=0x86b5be8, _t2=false) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:89
#30 0xb74112c1 in KMail::FolderView::activateItemInternal (this=0x8bf21c8, fvi=0x95d0d90, keepSelection=false, notifyManager=true, middleButton=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:999
#31 0xb7405063 in KMail::FolderView::activateItem (this=0x8bf21c8, fvi=0x95d0d90, keepSelection=<value optimized out>, middleButton=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:976
#32 0xb740636a in KMail::FolderView::slotItemClicked (this=0x8bf21c8, item=0x95d0d98, column=0) at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:529
#33 0xb7412018 in KMail::FolderView::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfdb1138) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:204
#34 0xb741610a in KMail::MainFolderView::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=139, _a=0xbfdb1138)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/mainfolderview.moc:64
#35 0xb5fe0ca8 in QMetaObject::activate (sender=0x8bf21c8, from_signal_index=96, to_signal_index=96, argv=0xbfdb1138) at kernel/qobject.cpp:3069
#36 0xb5fe1932 in QMetaObject::activate (sender=0x8bf21c8, m=0xb6b10ad0, local_signal_index=1, argv=0xbfdb1138) at kernel/qobject.cpp:3143
#37 0xb6867eb9 in QTreeWidget::itemClicked (this=0x8bf21c8, _t1=0x95d0d98, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#38 0xb686bd75 in QTreeWidgetPrivate::_q_emitItemClicked (this=0x8d94bf8, index=@0x9700fd0) at itemviews/qtreewidget.cpp:2226
#39 0xb6875491 in QTreeWidget::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfdb132c) at .moc/release-shared/moc_qtreewidget.cpp:144
#40 0xb71fd4da in KPIM::TreeWidget::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfdb132c)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/libkdepim/moc_treewidget.cpp:68
#41 0xb71fd67a in KPIM::FolderTreeWidget::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfdb132c)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/libkdepim/moc_foldertreewidget.cpp:64
#42 0xb7411e8a in KMail::FolderView::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfdb132c) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:186
#43 0xb741610a in KMail::MainFolderView::qt_metacall (this=0x8bf21c8, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfdb132c)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/mainfolderview.moc:64
#44 0xb5fe0ca8 in QMetaObject::activate (sender=0x8bf21c8, from_signal_index=32, to_signal_index=32, argv=0xbfdb132c) at kernel/qobject.cpp:3069
#45 0xb5fe1932 in QMetaObject::activate (sender=0x8bf21c8, m=0xb6b0fa24, local_signal_index=1, argv=0xbfdb132c) at kernel/qobject.cpp:3143
#46 0xb67ea1b3 in QAbstractItemView::clicked (this=0x8bf21c8, _t1=@0x9700fd0) at .moc/release-shared/moc_qabstractitemview.cpp:321
#47 0xb67f77b5 in QAbstractItemView::mouseReleaseEvent (this=0x8bf21c8, event=0xbfdb1c78) at itemviews/qabstractitemview.cpp:1655
#48 0xb683a78c in QTreeView::mouseReleaseEvent (this=0x8bf21c8, event=0xbfdb1c78) at itemviews/qtreeview.cpp:1787
#49 0xb74077d5 in KMail::FolderView::mouseReleaseEvent (this=0x8bf21c8, e=0xbfdb1c78) at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:919
#50 0xb62ceb43 in QWidget::event (this=0x8bf21c8, event=0xbfdb1c78) at kernel/qwidget.cpp:7516
#51 0xb66a8993 in QFrame::event (this=0x8bf21c8, e=0xbfdb1c78) at widgets/qframe.cpp:559
#52 0xb674894f in QAbstractScrollArea::viewportEvent (this=0x8bf21c8, e=0x6) at widgets/qabstractscrollarea.cpp:962
#53 0xb67fa647 in QAbstractItemView::viewportEvent (this=0x8bf21c8, event=0xbfdb1c78) at itemviews/qabstractitemview.cpp:1466
#54 0xb68350c4 in QTreeView::viewportEvent (this=0x8bf21c8, event=0xbfdb1c78) at itemviews/qtreeview.cpp:1257
#55 0xb674af55 in QAbstractScrollAreaFilter::eventFilter (this=0x8d8fec8, o=0x8d94f88, e=0xbfdb1c78) at widgets/qabstractscrollarea_p.h:100
#56 0xb5fc9c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x84ce688, receiver=0x8d94f88, event=0xbfdb1c78) at kernel/qcoreapplication.cpp:718
#57 0xb6277e7a in QApplicationPrivate::notify_helper (this=0x84ce688, receiver=0x8d94f88, e=0xbfdb1c78) at kernel/qapplication.cpp:4080
#58 0xb6280b11 in QApplication::notify (this=0xbfdb2618, receiver=0x8d94f88, e=0xbfdb1c78) at kernel/qapplication.cpp:3786
#59 0xb7ece94d in KApplication::notify (this=0xbfdb2618, receiver=0x8d94f88, event=0xbfdb1c78) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#60 0xb5fcaa3b in QCoreApplication::notifyInternal (this=0xbfdb2618, receiver=0x8d94f88, event=0xbfdb1c78) at kernel/qcoreapplication.cpp:602
#61 0xb627fb7e in QApplicationPrivate::sendMouseEvent (receiver=0x8d94f88, event=0xbfdb1c78, alienWidget=0x8d94f88, nativeWidget=0x84c6278, buttonDown=0xb6b22200, lastMouseReceiver=@0xb6b22204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#62 0xb62ef97e in QETWidget::translateMouseEvent (this=0x84c6278, event=0xbfdb22bc) at kernel/qapplication_x11.cpp:4425
#63 0xb62eeca7 in QApplication::x11ProcessEvent (this=0xbfdb2618, event=0xbfdb22bc) at kernel/qapplication_x11.cpp:3421
#64 0xb6319c6a in x11EventSourceDispatch (s=0x84d0bf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0xb4402b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0xb44060eb in ?? () from /usr/lib/libglib-2.0.so.0
#67 0xb4406268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0xb5ff6438 in QEventDispatcherGlib::processEvents (this=0x84b35a8, flags={i = -1076157320}) at kernel/qeventdispatcher_glib.cpp:323
#69 0xb6319365 in QGuiEventDispatcherGlib::processEvents (this=0x84b35a8, flags={i = -1076157272}) at kernel/qguieventdispatcher_glib.cpp:202
#70 0xb5fc906a in QEventLoop::processEvents (this=0xbfdb2520, flags={i = -1076157208}) at kernel/qeventloop.cpp:149
#71 0xb5fc94aa in QEventLoop::exec (this=0xbfdb2520, flags={i = -1076157144}) at kernel/qeventloop.cpp:200
#72 0xb5fcb959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#73 0xb6277d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#74 0x0804a7a0 in main (argc=) at /build/buildd/kdepim-4.2.2/kmail/main.cpp:146
Comment 4 BORGULYA Gábor 2009-07-31 18:22:32 UTC
> 1. go to a disconnected IMAP folder where messages are waiting for upload
> 2. press F5 to start sync, upload begins
> 3. press the red minus icon to stop the upload of messages.
>   (Kmail tells that it has aborted the sync, but the network monitor widget
> still shows upload.)
> 4. click on an other folder. kmail crashes.

And one more tracebeck (I have no idea if having more of the same kind helps or not):

Anwendung: KMail (kmail), Signal SIGABRT

Thread 1 (Thread 0xb3b86b40 (LWP 25516)):
[KCrash Handler]
#6  0xb7f1a430 in __kernel_vsyscall ()
#7  0xb5aa96d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5aab098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5d54595 in qt_message_output (msgType=QtFatalMsg, buf=0xaa917b8 "ASSERT: \"!transferInProgress( serNum )\" in file /build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp, line 180")
    at global/qglobal.cpp:2006
#10 0xb5d54681 in qFatal (msg=0xb5ea3318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb5d54775 in qt_assert (assertion=0xb77fe64b "!transferInProgress( serNum )", file=0xb77fe5f8 "/build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp", line=180) at global/qglobal.cpp:1777
#12 0xb73303a0 in KMail::MessageProperty::forget (msgBase=0xaa8fe90) at /build/buildd/kdepim-4.2.2/kmail/messageproperty.cpp:180
#13 0xb7394a7a in ~KMMsgBase (this=0xaa8fe90) at /build/buildd/kdepim-4.2.2/kmail/kmmsgbase.cpp:125
#14 0xb71f4424 in ~KMMessage (this=0xaa8fe90) at /build/buildd/kdepim-4.2.2/kmail/kmmessage.cpp:225
#15 0xb739dbb9 in KMMsgList::clear (this=0x9b9a830, doDelete=true, syncDict=false) at /build/buildd/kdepim-4.2.2/kmail/kmmsglist.cpp:37
#16 0xb74135af in KMFolderMaildir::reallyDoClose (this=0x9b9a7e0) at /build/buildd/kdepim-4.2.2/kmail/kmfoldermaildir.cpp:203
#17 0xb73fb193 in KMFolderCachedImap::reallyDoClose (this=0x9b9a7e0) at /build/buildd/kdepim-4.2.2/kmail/kmfoldercachedimap.cpp:239
#18 0xb731d9bd in FolderStorage::close (this=0x6, aForced=172) at /build/buildd/kdepim-4.2.2/kmail/folderstorage.cpp:110
#19 0xb72eb8a6 in KMFolder::close (this=0x9b999e0, owner=0xb7865ddb "MessageListView::StorageModel", force=<value optimized out>) at /build/buildd/kdepim-4.2.2/kmail/kmfolder.cpp:542
#20 0xb76780e9 in ~StorageModel (this=0xa9fde10) at /build/buildd/kdepim-4.2.2/kmail/messagelistview/storagemodel.cpp:193
#21 0xb76e1b2f in KMail::MessageListView::Core::Widget::setStorageModel (this=0x9aab060, storageModel=0xaa7fc40, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.2.2/kmail/messagelistview/core/widgetbase.cpp:315
#22 0xb767d7e2 in KMail::MessageListView::Widget::setFolder (this=0x9aab060, fld=0x977fd30, icon=@0xbfe34688, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.2.2/kmail/messagelistview/widget.cpp:113
#23 0xb7675b86 in KMail::MessageListView::Pane::setCurrentFolder (this=0x963aad0, fld=0x977fd30, preferEmptyTab=false, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected, 
    overrideLabel=@0xbfe346d4) at /build/buildd/kdepim-4.2.2/kmail/messagelistview/pane.cpp:203
#24 0xb75324a6 in KMMainWidget::folderSelected (this=0x9570148, aFolder=0x977fd30, forceJumpToUnread=false, preferNewTabForOpening=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/kmmainwidget.cpp:3067
#25 0xb7532954 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0x9570148, fld=0x977fd30, middleClick=<value optimized out>) at /build/buildd/kdepim-4.2.2/kmail/kmmainwidget.cpp:2883
#26 0xb7534a4d in KMMainWidget::qt_metacall (this=0x9570148, _c=QMetaObject::InvokeMetaMethod, _id=160, _a=0xbfe34808) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/kmmainwidget.moc:506
#27 0xb5e66ca8 in QMetaObject::activate (sender=0x96be0e8, from_signal_index=5, to_signal_index=5, argv=0xbfe34808) at kernel/qobject.cpp:3069
#28 0xb5e67932 in QMetaObject::activate (sender=0x96be0e8, m=0xb795ba58, local_signal_index=1, argv=0xbfe34808) at kernel/qobject.cpp:3143
#29 0xb728b48f in KMail::FolderViewManager::folderActivated (this=0x96be0e8, _t1=0x977fd30, _t2=false) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:89
#30 0xb72972c1 in KMail::FolderView::activateItemInternal (this=0x9c9c128, fvi=0xa676508, keepSelection=false, notifyManager=true, middleButton=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:999
#31 0xb728b063 in KMail::FolderView::activateItem (this=0x9c9c128, fvi=0xa676508, keepSelection=<value optimized out>, middleButton=<value optimized out>)
    at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:976
#32 0xb728c36a in KMail::FolderView::slotItemClicked (this=0x9c9c128, item=0xa676510, column=0) at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:529
#33 0xb7298018 in KMail::FolderView::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfe349b8) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:204
#34 0xb729c10a in KMail::MainFolderView::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=139, _a=0xbfe349b8)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/mainfolderview.moc:64
#35 0xb5e66ca8 in QMetaObject::activate (sender=0x9c9c128, from_signal_index=96, to_signal_index=96, argv=0xbfe349b8) at kernel/qobject.cpp:3069
#36 0xb5e67932 in QMetaObject::activate (sender=0x9c9c128, m=0xb6996ad0, local_signal_index=1, argv=0xbfe349b8) at kernel/qobject.cpp:3143
#37 0xb66edeb9 in QTreeWidget::itemClicked (this=0x9c9c128, _t1=0xa676510, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#38 0xb66f1d75 in QTreeWidgetPrivate::_q_emitItemClicked (this=0x9e483a8, index=@0xa829ce8) at itemviews/qtreewidget.cpp:2226
#39 0xb66fb491 in QTreeWidget::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfe34bac) at .moc/release-shared/moc_qtreewidget.cpp:144
#40 0xb70834da in KPIM::TreeWidget::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfe34bac)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/libkdepim/moc_treewidget.cpp:68
#41 0xb708367a in KPIM::FolderTreeWidget::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfe34bac)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/libkdepim/moc_foldertreewidget.cpp:64
#42 0xb7297e8a in KMail::FolderView::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfe34bac) at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/folderview.moc:186
#43 0xb729c10a in KMail::MainFolderView::qt_metacall (this=0x9c9c128, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbfe34bac)
    at /build/buildd/kdepim-4.2.2/obj-i486-linux-gnu/kmail/mainfolderview.moc:64
#44 0xb5e66ca8 in QMetaObject::activate (sender=0x9c9c128, from_signal_index=32, to_signal_index=32, argv=0xbfe34bac) at kernel/qobject.cpp:3069
#45 0xb5e67932 in QMetaObject::activate (sender=0x9c9c128, m=0xb6995a24, local_signal_index=1, argv=0xbfe34bac) at kernel/qobject.cpp:3143
#46 0xb66701b3 in QAbstractItemView::clicked (this=0x9c9c128, _t1=@0xa829ce8) at .moc/release-shared/moc_qabstractitemview.cpp:321
#47 0xb667d7b5 in QAbstractItemView::mouseReleaseEvent (this=0x9c9c128, event=0xbfe354f8) at itemviews/qabstractitemview.cpp:1655
#48 0xb66c078c in QTreeView::mouseReleaseEvent (this=0x9c9c128, event=0xbfe354f8) at itemviews/qtreeview.cpp:1787
#49 0xb728d7d5 in KMail::FolderView::mouseReleaseEvent (this=0x9c9c128, e=0xbfe354f8) at /build/buildd/kdepim-4.2.2/kmail/folderview.cpp:919
#50 0xb6154b43 in QWidget::event (this=0x9c9c128, event=0xbfe354f8) at kernel/qwidget.cpp:7516
#51 0xb652e993 in QFrame::event (this=0x9c9c128, e=0xbfe354f8) at widgets/qframe.cpp:559
#52 0xb65ce94f in QAbstractScrollArea::viewportEvent (this=0x9c9c128, e=0x6) at widgets/qabstractscrollarea.cpp:962
#53 0xb6680647 in QAbstractItemView::viewportEvent (this=0x9c9c128, event=0xbfe354f8) at itemviews/qabstractitemview.cpp:1466
#54 0xb66bb0c4 in QTreeView::viewportEvent (this=0x9c9c128, event=0xbfe354f8) at itemviews/qtreeview.cpp:1257
#55 0xb65d0f55 in QAbstractScrollAreaFilter::eventFilter (this=0x9e47868, o=0x9e3de38, e=0xbfe354f8) at widgets/qabstractscrollarea_p.h:100
#56 0xb5e4fc5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9577688, receiver=0x9e3de38, event=0xbfe354f8) at kernel/qcoreapplication.cpp:718
#57 0xb60fde7a in QApplicationPrivate::notify_helper (this=0x9577688, receiver=0x9e3de38, e=0xbfe354f8) at kernel/qapplication.cpp:4080
#58 0xb6106b11 in QApplication::notify (this=0xbfe35e98, receiver=0x9e3de38, e=0xbfe354f8) at kernel/qapplication.cpp:3786
#59 0xb7d5494d in KApplication::notify (this=0xbfe35e98, receiver=0x9e3de38, event=0xbfe354f8) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#60 0xb5e50a3b in QCoreApplication::notifyInternal (this=0xbfe35e98, receiver=0x9e3de38, event=0xbfe354f8) at kernel/qcoreapplication.cpp:602
#61 0xb6105b7e in QApplicationPrivate::sendMouseEvent (receiver=0x9e3de38, event=0xbfe354f8, alienWidget=0x9e3de38, nativeWidget=0x956f278, buttonDown=0xb69a8200, lastMouseReceiver=@0xb69a8204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#62 0xb617597e in QETWidget::translateMouseEvent (this=0x956f278, event=0xbfe35b3c) at kernel/qapplication_x11.cpp:4425
#63 0xb6174ca7 in QApplication::x11ProcessEvent (this=0xbfe35e98, event=0xbfe35b3c) at kernel/qapplication_x11.cpp:3421
#64 0xb619fc6a in x11EventSourceDispatch (s=0x9579bf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0xb4288b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0xb428c0eb in ?? () from /usr/lib/libglib-2.0.so.0
#67 0xb428c268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0xb5e7c438 in QEventDispatcherGlib::processEvents (this=0x955c5a8, flags={i = -1075618568}) at kernel/qeventdispatcher_glib.cpp:323
#69 0xb619f365 in QGuiEventDispatcherGlib::processEvents (this=0x955c5a8, flags={i = -1075618520}) at kernel/qguieventdispatcher_glib.cpp:202
#70 0xb5e4f06a in QEventLoop::processEvents (this=0xbfe35da0, flags={i = -1075618456}) at kernel/qeventloop.cpp:149
#71 0xb5e4f4aa in QEventLoop::exec (this=0xbfe35da0, flags={i = -1075618392}) at kernel/qeventloop.cpp:200
#72 0xb5e51959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#73 0xb60fdd17 in QApplication::exec () at kernel/qapplication.cpp:3553
#74 0x0804a7a0 in main (argc=) at /build/buildd/kdepim-4.2.2/kmail/main.cpp:146
Comment 5 Christophe Marin 2009-07-31 20:08:43 UTC

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