[Bug 210777] compact folder crashes kmail

Tomasz tomasz at cs.uni.wroc.pl
Sat Oct 17 21:44:07 BST 2009


https://bugs.kde.org/show_bug.cgi?id=210777





--- Comment #2 from Tomasz <tomasz cs uni wroc pl>  2009-10-17 22:44:04 ---
Yes, it happens every time I try to compact a big folder (say 50-100 MB) in
mbox format. Small folders (several kB) are compacted ok. I created the folders
few years ago under KDE 3.5 and then migrated to KDE 4. Here is the bug report
you asked for:

Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f13446f8033 in
KMail::MessageListView::StorageModel::initializeMessageItem (this=0x2d77a80,
mi=0x3369c50, row=<value optimized out>, bUseReceiver=false)
    at ../../kmail/messagelistview/storagemodel.cpp:402
#6  0x00007f134471e710 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill
(this=0x27be520, job=0x3121ee0, tStart=...) at
../../kmail/messagelistview/core/model.cpp:2750
#7  0x00007f1344720025 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob
(this=0x27be520, job=0xff81, tStart=...) at
../../kmail/messagelistview/core/model.cpp:3392
#8  0x00007f134472083b in
KMail::MessageListView::Core::Model::viewItemJobStepInternal (this=0x27be520)
at ../../kmail/messagelistview/core/model.cpp:3764
#9  0x00007f134472139e in KMail::MessageListView::Core::Model::viewItemJobStep
(this=0x27be520) at ../../kmail/messagelistview/core/model.cpp:3952
#10 0x00007f134472263f in KMail::MessageListView::Core::Model::setStorageModel
(this=0x27be520, storageModel=<value optimized out>, 
    preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected) at
../../kmail/messagelistview/core/model.cpp:806
#11 0x00007f13447230e9 in
KMail::MessageListView::Core::Model::slotStorageModelLayoutChanged (this=<value
optimized out>) at ../../kmail/messagelistview/core/model.cpp:4435
#12 0x00007f13442f8718 in KMail::MessageListView::Core::Model::qt_metacall
(this=0x27be520, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff04284b50) at moc_model.cpp:80
#13 0x00007f135b5dd682 in QMetaObject::activate (sender=0x2d77a80,
from_signal_index=<value optimized out>, to_signal_index=17, argv=0x0) at
kernel/qobject.cpp:3112
#14 0x00007f135b5c2314 in QAbstractItemModel::reset (this=0x2d77a80) at
kernel/qabstractitemmodel.cpp:2263
#15 0x00007f13442f7718 in KMail::MessageListView::StorageModel::qt_metacall
(this=0x2d77a80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff04284ca0) at moc_storagemodel.cpp:92
#16 0x00007f135b5dd682 in QMetaObject::activate (sender=0x2761550,
from_signal_index=<value optimized out>, to_signal_index=22, argv=0x0) at
kernel/qobject.cpp:3112
#17 0x00007f13443d4eef in KMFolder::setUserWhoField (this=0x2761550,
whoField=..., writeConfig=false) at ../../kmail/kmfolder.cpp:745
#18 0x00007f13443d5c42 in KMFolder::readConfig (this=0x2761550,
configGroup=...) at ../../kmail/kmfolder.cpp:211
#19 0x00007f1344400c34 in FolderStorage::readConfig (this=0x276a120) at
../../kmail/folderstorage.cpp:963
#20 0x00007f13443fcf20 in FolderStorage::countUnread (this=0x276a120) at
../../kmail/folderstorage.cpp:866
#21 0x00007f13445b0ba5 in KMMainWidget::updateMarkAsReadAction (this=0x2795530)
at ../../kmail/kmmainwidget.cpp:4428
#22 0x00007f13445d48fd in KMMainWidget::qt_metacall (this=0x2795530,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff04285280)
at ./kmmainwidget.moc:478
#23 0x00007f135b5dd682 in QMetaObject::activate (sender=0x2761550,
from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at
kernel/qobject.cpp:3112
#24 0x00007f13443d0a0d in KMFolder::qt_metacall (this=0x2761550,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff04285380)
at ./kmfolder.moc:111
#25 0x00007f135b5dd682 in QMetaObject::activate (sender=0x276a120,
from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at
kernel/qobject.cpp:3112
#26 0x00007f1344494628 in KMFolderMbox::compact (this=0x276a120, silent=<value
optimized out>) at ../../kmail/kmfoldermbox.cpp:1325
#27 0x00007f13445b2449 in KMMainWidget::slotCompactFolder (this=0x2795530) at
../../kmail/kmmainwidget.cpp:1476
#28 0x00007f13445d4d9d in KMMainWidget::qt_metacall (this=0x2795530,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff04285560)
at ./kmmainwidget.moc:405
#29 0x00007f135b5dd682 in QMetaObject::activate (sender=0x2b66540,
from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0) at
kernel/qobject.cpp:3112
#30 0x00007f135aa3a937 in QAction::triggered (this=0x276a120, _t1=false) at
.moc/release-shared/moc_qaction.cpp:236
#31 0x00007f135aa3bdb0 in QAction::activate (this=0x2b66540, event=<value
optimized out>) at kernel/qaction.cpp:1160
#32 0x00007f135ae375ed in QMenuPrivate::activateCausedStack (this=0x3297cd0,
causedStack=..., action=0x2b66540, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:967
#33 0x00007f135ae3d55f in QMenuPrivate::activateAction (this=0x3297cd0,
action=0x2b66540, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1060
#34 0x00007f135c036b11 in KMenu::mouseReleaseEvent (this=0x2b936a0,
e=0x7fff042861a0) at ../../kdeui/widgets/kmenu.cpp:456
#35 0x00007f135aa90b4f in QWidget::event (this=0x2b936a0, event=0x7fff042861a0)
at kernel/qwidget.cpp:7549
#36 0x00007f135ae3fcbb in QMenu::event (this=0x2b936a0, e=0x7fff042861a0) at
widgets/qmenu.cpp:2353
#37 0x00007f135aa4080d in QApplicationPrivate::notify_helper (this=0x2128710,
receiver=0x2b936a0, e=0x7fff042861a0) at kernel/qapplication.cpp:4056
#38 0x00007f135aa48fba in QApplication::notify (this=<value optimized out>,
receiver=0x2b936a0, e=0x7fff042861a0) at kernel/qapplication.cpp:3758
#39 0x00007f135bf6543b in KApplication::notify (this=0x7fff0428ab70,
receiver=0x2b936a0, event=0x7fff042861a0) at
../../kdeui/kernel/kapplication.cpp:302
#40 0x00007f135b5c851c in QCoreApplication::notifyInternal
(this=0x7fff0428ab70, receiver=0x2b936a0, event=0x7fff042861a0) at
kernel/qcoreapplication.cpp:610
#41 0x00007f135aa48268 in QCoreApplication::sendSpontaneousEvent
(receiver=0x2b936a0, event=0x7fff042861a0, alienWidget=0x0,
nativeWidget=0x2b936a0, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#42 QApplicationPrivate::sendMouseEvent (receiver=0x2b936a0,
event=0x7fff042861a0, alienWidget=0x0, nativeWidget=0x2b936a0,
buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#43 0x00007f135aab0fb4 in QETWidget::translateMouseEvent (this=0x2b936a0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#44 0x00007f135aaafbaf in QApplication::x11ProcessEvent (this=0x7fff0428ab70,
event=0x7fff04287b70) at kernel/qapplication_x11.cpp:3550
#45 0x00007f135aad7e9c in x11EventSourceDispatch (s=0x2135f10, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007f13546f912a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x00007f13546fc988 in ?? () from /lib/libglib-2.0.so.0
#48 0x00007f13546fcb3c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#49 0x00007f135b5f0bff in QEventDispatcherGlib::processEvents (this=0x20f7f70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#50 0x00007f135aad764f in QGuiEventDispatcherGlib::processEvents
(this=0x276a120, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007f135b5c6de2 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f135b5c71b4 in QEventLoop::exec (this=0x7fff04287ea0, flags=...) at
kernel/qeventloop.cpp:201
#53 0x00007f135ae3fb35 in QMenu::exec (this=<value optimized out>, p=...,
action=0x0) at widgets/qmenu.cpp:1993
#54 0x00007f134438450f in KMail::FolderView::contextMenuEvent (this=0x24454c0,
e=0x7fff04288ca0) at ../../kmail/folderview.cpp:1563
#55 0x00007f135aa9101b in QWidget::event (this=0x24454c0, event=0x7fff04288ca0)
at kernel/qwidget.cpp:7708
#56 0x00007f135adf9cdb in QFrame::event (this=0x24454c0, e=0x7fff04288ca0) at
widgets/qframe.cpp:559
#57 0x00007f135af2c77b in QAbstractItemView::viewportEvent (this=0x24454c0,
event=0x7fff04288ca0) at itemviews/qabstractitemview.cpp:1476
#58 0x00007f135af644e9 in QTreeView::viewportEvent (this=0x24454c0,
event=0x7fff04288ca0) at itemviews/qtreeview.cpp:1266
#59 0x00007f135b5c7838 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x2446680, event=0x7fff04288ca0) at
kernel/qcoreapplication.cpp:726
#60 0x00007f135aa407dc in QApplicationPrivate::notify_helper (this=0x2128710,
receiver=0x2446680, e=0x7fff04288ca0) at kernel/qapplication.cpp:4052
#61 0x00007f135aa48cfa in QApplication::notify (this=<value optimized out>,
receiver=0x2446680, e=0x7fff04288ca0) at kernel/qapplication.cpp:3845
#62 0x00007f135bf6543b in KApplication::notify (this=0x7fff0428ab70,
receiver=0x2446680, event=0x7fff04288ca0) at
../../kdeui/kernel/kapplication.cpp:302
#63 0x00007f135b5c851c in QCoreApplication::notifyInternal
(this=0x7fff0428ab70, receiver=0x2446680, event=0x7fff04288ca0) at
kernel/qcoreapplication.cpp:610
#64 0x00007f135aab143b in QETWidget::translateMouseEvent (this=0x226d3c0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4415
#65 0x00007f135aaafbaf in QApplication::x11ProcessEvent (this=0x7fff0428ab70,
event=0x7fff0428a6a0) at kernel/qapplication_x11.cpp:3550
#66 0x00007f135aad7e9c in x11EventSourceDispatch (s=0x2135f10, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007f13546f912a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#68 0x00007f13546fc988 in ?? () from /lib/libglib-2.0.so.0
#69 0x00007f13546fcb3c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#70 0x00007f135b5f0bff in QEventDispatcherGlib::processEvents (this=0x20f7f70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#71 0x00007f135aad764f in QGuiEventDispatcherGlib::processEvents
(this=0x276a120, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#72 0x00007f135b5c6de2 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007f135b5c71b4 in QEventLoop::exec (this=0x7fff0428a9d0, flags=...) at
kernel/qeventloop.cpp:201
#74 0x00007f135b5c9424 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#75 0x0000000000404751 in main (argc=1, argv=0x7fff0428b148) at
../../../kontact/src/main.cpp:218

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list