Bug 220930 - kmail crashes when trying to compress a folder with more than 15 mails in it
Summary: kmail crashes when trying to compress a folder with more than 15 mails in it
Status: RESOLVED DUPLICATE of bug 199271
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-01 22:23 UTC by Sven Suska
Modified: 2010-01-01 22:52 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 Sven Suska 2010-01-01 22:23:49 UTC
Application that crashed: kmail
Version of the application: 1.12.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
OK, now it's the third report on the same bug, 
this time much more precise.

What I have done now, is try to reduce the number
of mails in the folder and see if kmail would still crash.

What I found was:
If I create a new mbox-folder and copy 15 mails into it,
then the compress will work.
If I then take another mail and copy it to this folder,
then the attempt to compress will crash kmail.

I tried this three times with different mails (all quite small).


 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fe148fd07f0 (LWP 5308))]

Thread 2 (Thread 0x7fe12a9f9910 (LWP 5310)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fe1466c8462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2a42270, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2a42270, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe1466be4f2 in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x00007fe1466c7445 in QThreadPrivate::start (arg=0x32b1170) at thread/qthread_unix.cpp:188
#5  0x00007fe140fdfa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fe145eb27bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe148fd07f0 (LWP 5308)):
[KCrash Handler]
#5  KMail::MessageListView::StorageModel::initializeMessageItem (this=0x326ec70, mi=0x333d3a0, row=<value optimized out>, bUseReceiver=false) at ../../kmail/messagelistview/storagemodel.cpp:402
#6  0x00007fe147eb31b7 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill (this=0x293f660, job=<value optimized out>, tStart=<value optimized out>)
    at ../../kmail/messagelistview/core/model.cpp:2714
#7  0x00007fe147eb4aa5 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob (this=0x293f660, job=0xf, tStart=...) at ../../kmail/messagelistview/core/model.cpp:3356
#8  0x00007fe147eb50aa in KMail::MessageListView::Core::Model::viewItemJobStepInternal (this=0x293f660) at ../../kmail/messagelistview/core/model.cpp:3728
#9  0x00007fe147eb5ca8 in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x293f660) at ../../kmail/messagelistview/core/model.cpp:3916
#10 0x00007fe147eb6f5f in KMail::MessageListView::Core::Model::setStorageModel (this=0x293f660, storageModel=<value optimized out>, 
    preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected) at ../../kmail/messagelistview/core/model.cpp:808
#11 0x00007fe147eb7a26 in KMail::MessageListView::Core::Model::slotStorageModelLayoutChanged (this=<value optimized out>) at ../../kmail/messagelistview/core/model.cpp:4399
#12 0x00007fe147a8e684 in KMail::MessageListView::Core::Model::qt_metacall (this=0x293f660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe6d30230) at moc_model.cpp:80
#13 0x00007fe1467c2ddc in QMetaObject::activate (sender=0x326ec70, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#14 0x00007fe1467a77f3 in QAbstractItemModel::reset (this=0x326ec70) at kernel/qabstractitemmodel.cpp:2263
#15 0x00007fe147a8e7dc in KMail::MessageListView::StorageModel::qt_metacall (this=0x326ec70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe6d30390) at moc_storagemodel.cpp:92
#16 0x00007fe1467c2ddc in QMetaObject::activate (sender=0x25981c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#17 0x00007fe147b6c8f8 in KMFolder::setUserWhoField (this=0x25981c0, whoField=..., writeConfig=false) at ../../kmail/kmfolder.cpp:774
#18 0x00007fe147b6d392 in KMFolder::readConfig (this=0x25981c0, configGroup=...) at ../../kmail/kmfolder.cpp:219
#19 0x00007fe147b98569 in FolderStorage::readConfig (this=0x2598460) at ../../kmail/folderstorage.cpp:963
#20 0x00007fe147b94840 in FolderStorage::countUnread (this=0x2598460) at ../../kmail/folderstorage.cpp:866
#21 0x00007fe147d45755 in KMMainWidget::updateMarkAsReadAction (this=0x29574f0) at ../../kmail/kmmainwidget.cpp:4427
#22 0x00007fe147d69ebd in KMMainWidget::qt_metacall (this=0x29574f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe6d30960) at ./kmmainwidget.moc:478
#23 0x00007fe1467c2ddc in QMetaObject::activate (sender=0x25981c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#24 0x00007fe147b6ac8a in KMFolder::qt_metacall (this=0x25981c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe6d30a70) at ./kmfolder.moc:117
#25 0x00007fe1467c2ddc in QMetaObject::activate (sender=0x2598460, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#26 0x00007fe147c2afa9 in KMFolderMbox::compact (this=0x2598460, silent=<value optimized out>) at ../../kmail/kmfoldermbox.cpp:1325
#27 0x00007fe147d4712e in KMMainWidget::slotCompactFolder (this=0x29574f0) at ../../kmail/kmmainwidget.cpp:1476
#28 0x00007fe147d69a1d in KMMainWidget::qt_metacall (this=0x29574f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe6d30c60) at ./kmmainwidget.moc:405
#29 0x00007fe1467c2ddc in QMetaObject::activate (sender=0x2f11550, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#30 0x00007fe146c3b0a7 in QAction::triggered (this=0x2598460, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#31 0x00007fe146c3c4ef in QAction::activate (this=0x2f11550, event=<value optimized out>) at kernel/qaction.cpp:1160
#32 0x00007fe147028ecd in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x2f11550, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#33 0x00007fe14702edea in QMenuPrivate::activateAction (this=0x32f2f20, action=0x2f11550, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#34 0x00007fe148ad62be in KMenu::mouseReleaseEvent (this=0x32ec640, e=0xf) at ../../kdeui/widgets/kmenu.cpp:456
#35 0x00007fe146c8f9c0 in QWidget::event (this=0x32ec640, event=0x7fffe6d31680) at kernel/qwidget.cpp:7549
#36 0x00007fe1470315ab in QMenu::event (this=0x32ec640, e=0x7fffe6d31680) at widgets/qmenu.cpp:2353
#37 0x00007fe146c40efc in QApplicationPrivate::notify_helper (this=0x1d55d70, receiver=0x32ec640, e=0x7fffe6d31680) at kernel/qapplication.cpp:4056
#38 0x00007fe146c48011 in QApplication::notify (this=<value optimized out>, receiver=0x32ec640, e=0x7fffe6d31680) at kernel/qapplication.cpp:3758
#39 0x00007fe148a03ab6 in KApplication::notify (this=0x7fffe6d36120, receiver=0x32ec640, event=0x7fffe6d31680) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x00007fe1467adc2c in QCoreApplication::notifyInternal (this=0x7fffe6d36120, receiver=0x32ec640, event=0x7fffe6d31680) at kernel/qcoreapplication.cpp:610
#41 0x00007fe146c478e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x32ec640, event=0x7fffe6d31680, alienWidget=0x0, nativeWidget=0x32ec640, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#42 QApplicationPrivate::sendMouseEvent (receiver=0x32ec640, event=0x7fffe6d31680, alienWidget=0x0, nativeWidget=0x32ec640, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2924
#43 0x00007fe146cade2e in QETWidget::translateMouseEvent (this=0x32ec640, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#44 0x00007fe146cacaa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe6d331b0) at kernel/qapplication_x11.cpp:3550
#45 0x00007fe146cd5d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007fe13da46bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x00007fe13da4a598 in ?? () from /lib/libglib-2.0.so.0
#48 0x00007fe13da4a6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00007fe1467d61a6 in QEventDispatcherGlib::processEvents (this=0x1d1c930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#50 0x00007fe146cd54be in QGuiEventDispatcherGlib::processEvents (this=0x2598460, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007fe1467ac532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007fe1467ac904 in QEventLoop::exec (this=0x7fffe6d334e0, flags=) at kernel/qeventloop.cpp:201
#53 0x00007fe147031425 in QMenu::exec (this=0x32ec640, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:1993
#54 0x00007fe147b1a9fa in KMail::FolderView::contextMenuEvent (this=0x2ea8360, e=0x7fffe6d340c0) at ../../kmail/folderview.cpp:1563
#55 0x00007fe146c8fe55 in QWidget::event (this=0x2ea8360, event=0x7fffe6d340c0) at kernel/qwidget.cpp:7708
#56 0x00007fe146feb2a6 in QFrame::event (this=0x2ea8360, e=0x7fffe6d340c0) at widgets/qframe.cpp:559
#57 0x00007fe14711e21b in QAbstractItemView::viewportEvent (this=0x2ea8360, event=0x7fffe6d340c0) at itemviews/qabstractitemview.cpp:1476
#58 0x00007fe147155420 in QTreeView::viewportEvent (this=0x2ea8360, event=0x7fffe6d340c0) at itemviews/qtreeview.cpp:1266
#59 0x00007fe1467acf47 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2ea7830, event=0x7fffe6d340c0) at kernel/qcoreapplication.cpp:726
#60 0x00007fe146c40ecc in QApplicationPrivate::notify_helper (this=0x1d55d70, receiver=0x2ea7830, e=0x7fffe6d340c0) at kernel/qapplication.cpp:4052
#61 0x00007fe146c48527 in QApplication::notify (this=0x7fffe6d36120, receiver=0x2ea7830, e=0x7fffe6d340c0) at kernel/qapplication.cpp:3845
#62 0x00007fe148a03ab6 in KApplication::notify (this=0x7fffe6d36120, receiver=0x2ea7830, event=0x7fffe6d340c0) at ../../kdeui/kernel/kapplication.cpp:302
#63 0x00007fe1467adc2c in QCoreApplication::notifyInternal (this=0x7fffe6d36120, receiver=0x2ea7830, event=0x7fffe6d340c0) at kernel/qcoreapplication.cpp:610
#64 0x00007fe146cadfae in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4415
#65 0x00007fe146cacaa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe6d35c20) at kernel/qapplication_x11.cpp:3550
#66 0x00007fe146cd5d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007fe13da46bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#68 0x00007fe13da4a598 in ?? () from /lib/libglib-2.0.so.0
#69 0x00007fe13da4a6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#70 0x00007fe1467d61a6 in QEventDispatcherGlib::processEvents (this=0x1d1c930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#71 0x00007fe146cd54be in QGuiEventDispatcherGlib::processEvents (this=0x2598460, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#72 0x00007fe1467ac532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#73 0x00007fe1467ac904 in QEventLoop::exec (this=0x7fffe6d35f50, flags=) at kernel/qeventloop.cpp:201
#74 0x00007fe1467aeab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#75 0x0000000000402fe9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 220912

Reported using DrKonqi
Comment 1 Christophe Marin 2010-01-01 22:52:37 UTC

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