[Bug 205610] New: Kmail crashes when manually requested to compact folder

Jakub Krajewski jakub at krajewski.org
Sat Aug 29 20:18:04 BST 2009


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

           Summary: Kmail crashes when manually requested to compact
                    folder
           Product: kmail
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: jakub at krajewski.org


Application that crashed: kmail
Version of the application: 1.12.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.29.4 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Requested KMail to compact folder and it will crash. Folder is quite big (~100
MB) file in mbox format.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb7848c8b in KMail::MessageListView::StorageModel::initializeMessageItem
(this=0x9991428, mi=0x98faa10, row=11, bUseReceiver=false) at
../../kmail/messagelistview/storagemodel.cpp:299
#7  0xb7871e07 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill
(this=0x9596b80, job=0x964e108, tStart=...) at
../../kmail/messagelistview/core/model.cpp:2735
#8  0xb7873556 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob
(this=0x9596b80, job=0x964e108, tStart=...) at
../../kmail/messagelistview/core/model.cpp:3397
#9  0xb7873d19 in KMail::MessageListView::Core::Model::viewItemJobStepInternal
(this=0x9596b80) at ../../kmail/messagelistview/core/model.cpp:3769
#10 0xb7874a40 in KMail::MessageListView::Core::Model::viewItemJobStep
(this=0x9596b80) at ../../kmail/messagelistview/core/model.cpp:3957
#11 0xb7875e27 in KMail::MessageListView::Core::Model::setStorageModel
(this=0x9596b80, storageModel=0x9991428,
preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at ../../kmail/messagelistview/core/model.cpp:791
#12 0xb78767bf in
KMail::MessageListView::Core::Model::slotStorageModelLayoutChanged
(this=0x9596b80) at ../../kmail/messagelistview/core/model.cpp:4440
#13 0xb740153b in KMail::MessageListView::Core::Model::qt_metacall
(this=0x9596b80, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfff6f08) at
moc_model.cpp:80
#14 0xb717db33 in QMetaObject::activate (sender=0x9991428,
from_signal_index=17, to_signal_index=17, argv=0x0) at kernel/qobject.cpp:3112
#15 0xb717e782 in QMetaObject::activate (sender=0x9991428, m=0xb72599d8,
local_signal_index=13, argv=0x0) at kernel/qobject.cpp:3186
#16 0xb71b8107 in QAbstractItemModel::modelReset (this=0x9991428) at
.moc/release-shared/moc_qabstractitemmodel.cpp:213
#17 0xb7162624 in QAbstractItemModel::reset (this=0x9991428) at
kernel/qabstractitemmodel.cpp:2263
#18 0xb78477ed in KMail::MessageListView::StorageModel::slotViewConfigChanged
(this=0x9991428) at ../../kmail/messagelistview/storagemodel.cpp:644
#19 0xb7401f63 in KMail::MessageListView::StorageModel::qt_metacall
(this=0x9991428, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfff7058) at
moc_storagemodel.cpp:92
#20 0xb717db33 in QMetaObject::activate (sender=0x940b980,
from_signal_index=22, to_signal_index=22, argv=0x0) at kernel/qobject.cpp:3112
#21 0xb717e782 in QMetaObject::activate (sender=0x940b980, m=0xb7ae7da0,
local_signal_index=18, argv=0x0) at kernel/qobject.cpp:3186
#22 0xb74ed1d7 in KMFolder::viewConfigChanged (this=0x940b980) at
./kmfolder.moc:269
#23 0xb74f24f2 in KMFolder::setUserWhoField (this=0x940b980, whoField=...,
writeConfig=false) at ../../kmail/kmfolder.cpp:745
#24 0xb74f3393 in KMFolder::readConfig (this=0x940b980, configGroup=...) at
../../kmail/kmfolder.cpp:211
#25 0xb7521395 in FolderStorage::readConfig (this=0x936c270) at
../../kmail/folderstorage.cpp:963
#26 0xb751ce0a in FolderStorage::countUnread (this=0x936c270) at
../../kmail/folderstorage.cpp:866
#27 0xb74eca37 in KMFolder::countUnread (this=0x940b980) at
../../kmail/kmfolder.cpp:497
#28 0xb76ecd7c in KMMainWidget::updateMarkAsReadAction (this=0x9584d70) at
../../kmail/kmmainwidget.cpp:4438
#29 0xb7715597 in KMMainWidget::qt_metacall (this=0x9584d70,
_c=QMetaObject::InvokeMetaMethod, _id=130, _a=0xbfff7508) at
./kmmainwidget.moc:478
#30 0xb717db33 in QMetaObject::activate (sender=0x940b980, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#31 0xb717e782 in QMetaObject::activate (sender=0x940b980, m=0xb7ae7da0,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#32 0xb74ed757 in KMFolder::changed (this=0x940b980) at ./kmfolder.moc:149
#33 0xb74edc61 in KMFolder::qt_metacall (this=0x940b980,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfff75f8) at ./kmfolder.moc:111
#34 0xb717db33 in QMetaObject::activate (sender=0x936c270, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#35 0xb717e782 in QMetaObject::activate (sender=0x936c270, m=0xb7ae8388,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#36 0xb751d897 in FolderStorage::changed (this=0x936c270) at
./folderstorage.moc:159
#37 0xb75bf074 in KMFolderMbox::compact (this=0x936c270, silent=<value
optimized out>) at ../../kmail/kmfoldermbox.cpp:1325
#38 0xb74ede43 in KMFolder::compact (this=0x940b980,
options=KMFolder::CompactNow) at ../../kmail/kmfolder.cpp:865
#39 0xb76eec30 in KMMainWidget::slotCompactFolder (this=0x9584d70) at
../../kmail/kmmainwidget.cpp:1476
#40 0xb7715a84 in KMMainWidget::qt_metacall (this=0x9584d70,
_c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbfff781c) at
./kmmainwidget.moc:405
#41 0xb717db33 in QMetaObject::activate (sender=0x97c4ed0, from_signal_index=5,
to_signal_index=6, argv=0xbfff781c) at kernel/qobject.cpp:3112
#42 0xb717df60 in QMetaObject::activate (sender=0x97c4ed0, m=0xb70006c8,
from_local_signal_index=1, to_local_signal_index=2, argv=0xbfff781c) at
kernel/qobject.cpp:3206
#43 0xb67a2311 in QAction::triggered (this=0x97c4ed0, _t1=false) at
.moc/release-shared/moc_qaction.cpp:236
#44 0xb67a385f in QAction::activate (this=0x97c4ed0, event=QAction::Trigger) at
kernel/qaction.cpp:1160
#45 0xb6be8ce4 in QMenuPrivate::activateCausedStack (this=0x9a266b0,
causedStack=..., action=0x97c4ed0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:967
#46 0xb6bef3eb in QMenuPrivate::activateAction (this=0x9a266b0,
action=0x97c4ed0, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1060
#47 0xb6beff32 in QMenu::mouseReleaseEvent (this=0x9853dd0, e=0xbfff7ffc) at
widgets/qmenu.cpp:2254
#48 0xb7fec4a5 in KMenu::mouseReleaseEvent (this=0x9853dd0, e=0xbfff7ffc) at
../../kdeui/widgets/kmenu.cpp:456
#49 0xb67fe77b in QWidget::event (this=0x9853dd0, event=0xbfff7ffc) at
kernel/qwidget.cpp:7549
#50 0xb6bf2171 in QMenu::event (this=0x9853dd0, e=0xbfff7ffc) at
widgets/qmenu.cpp:2353
#51 0xb67a8814 in QApplicationPrivate::notify_helper (this=0x92c8608,
receiver=0x9853dd0, e=0xbfff7ffc) at kernel/qapplication.cpp:4056
#52 0xb67b12e1 in QApplication::notify (this=0xbfffbab8, receiver=0x9853dd0,
e=0xbfff7ffc) at kernel/qapplication.cpp:3758
#53 0xb7f0600d in KApplication::notify (this=0xbfffbab8, receiver=0x9853dd0,
event=0xbfff7ffc) at ../../kdeui/kernel/kapplication.cpp:302
#54 0xb71689cb in QCoreApplication::notifyInternal (this=0xbfffbab8,
receiver=0x9853dd0, event=0xbfff7ffc) at kernel/qcoreapplication.cpp:610
#55 0xb67b036e in QCoreApplication::sendSpontaneousEvent (receiver=0x9853dd0,
event=0xbfff7ffc, alienWidget=0x0, nativeWidget=0x9853dd0,
buttonDown=0xb701eaa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#56 QApplicationPrivate::sendMouseEvent (receiver=0x9853dd0, event=0xbfff7ffc,
alienWidget=0x0, nativeWidget=0x9853dd0, buttonDown=0xb701eaa0,
lastMouseReceiver=...) at kernel/qapplication.cpp:2924
#57 0xb681f0ef in QETWidget::translateMouseEvent (this=0x9853dd0,
event=0xbfff95ac) at kernel/qapplication_x11.cpp:4343
#58 0xb681e386 in QApplication::x11ProcessEvent (this=0xbfffbab8,
event=0xbfff95ac) at kernel/qapplication_x11.cpp:3428
#59 0xb6848892 in x11EventSourceDispatch (s=0x92ca708, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0xb489c368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0xb489f8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#62 0xb489fa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0xb7193858 in QEventDispatcherGlib::processEvents (this=0x92c81d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:327
#64 0xb6847fd5 in QGuiEventDispatcherGlib::processEvents (this=0x92c81d0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#65 0xb716701a in QEventLoop::processEvents (this=0xbfff980c, flags=...) at
kernel/qeventloop.cpp:149
#66 0xb7167462 in QEventLoop::exec (this=0xbfff980c, flags=...) at
kernel/qeventloop.cpp:201
#67 0xb6bf1fe1 in QMenu::exec (this=0x9853dd0, p=..., action=0x0) at
widgets/qmenu.cpp:1993
#68 0xb749c6a6 in KMail::FolderView::contextMenuEvent (this=0x95db138,
e=0xbfffa1d4) at ../../kmail/folderview.cpp:1560
#69 0xb67fee64 in QWidget::event (this=0x95db138, event=0xbfffa1d4) at
kernel/qwidget.cpp:7708
#70 0xb6ba4f53 in QFrame::event (this=0x95db138, e=0xbfffa1d4) at
widgets/qframe.cpp:559
#71 0xb6c43f6f in QAbstractScrollArea::viewportEvent (this=0x95db138,
e=0x1a861) at widgets/qabstractscrollarea.cpp:962
#72 0xb6cf5127 in QAbstractItemView::viewportEvent (this=0x95db138,
event=0xbfffa1d4) at itemviews/qabstractitemview.cpp:1476
#73 0xb6d2ff26 in QTreeView::viewportEvent (this=0x95db138, event=0xbfffa1d4)
at itemviews/qtreeview.cpp:1266
#74 0xb6c46545 in QAbstractScrollAreaPrivate::viewportEvent (this=0x962d2f0,
o=0x95db288, e=0xbfffa1d4) at widgets/qabstractscrollarea_p.h:100
#75 QAbstractScrollAreaFilter::eventFilter (this=0x962d2f0, o=0x95db288,
e=0xbfffa1d4) at widgets/qabstractscrollarea_p.h:111
#76 0xb7167bfa in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x92c8608, receiver=0x95db288, event=0xbfffa1d4) at
kernel/qcoreapplication.cpp:726
#77 0xb67a87ec in QApplicationPrivate::notify_helper (this=0x92c8608,
receiver=0x95db288, e=0xbfffa1d4) at kernel/qapplication.cpp:4052
#78 0xb67b0ead in QApplication::notify (this=0xbfffbab8, receiver=0x95db288,
e=0xbfffa1d4) at kernel/qapplication.cpp:3845
#79 0xb7f0600d in KApplication::notify (this=0xbfffbab8, receiver=0x95db288,
event=0xbfffa1d4) at ../../kdeui/kernel/kapplication.cpp:302
#80 0xb71689cb in QCoreApplication::notifyInternal (this=0xbfffbab8,
receiver=0x95db288, event=0xbfffa1d4) at kernel/qcoreapplication.cpp:610
#81 0xb67b375e in QCoreApplication::sendSpontaneousEvent (receiver=0x95db288,
event=0x1a861) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#82 0xb681f62f in QETWidget::translateMouseEvent (this=0x92e7858,
event=0xbfffb75c) at kernel/qapplication_x11.cpp:4415
#83 0xb681e386 in QApplication::x11ProcessEvent (this=0xbfffbab8,
event=0xbfffb75c) at kernel/qapplication_x11.cpp:3428
#84 0xb6848892 in x11EventSourceDispatch (s=0x92ca708, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#85 0xb489c368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#86 0xb489f8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#87 0xb489fa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#88 0xb7193858 in QEventDispatcherGlib::processEvents (this=0x92c81d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:327
#89 0xb6847fd5 in QGuiEventDispatcherGlib::processEvents (this=0x92c81d0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#90 0xb716701a in QEventLoop::processEvents (this=0xbfffb9c0, flags=...) at
kernel/qeventloop.cpp:149
#91 0xb7167462 in QEventLoop::exec (this=0xbfffb9c0, flags=...) at
kernel/qeventloop.cpp:201
#92 0xb71698b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#93 0xb67a8697 in QApplication::exec () at kernel/qapplication.cpp:3525
#94 0x0804a6d0 in main (argc=-1218714912, argv=0xb75be390) at
../../kmail/main.cpp:146

Reported using DrKonqi

-- 
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