[Bug 202845] New: KMail crashes when compacting a (not currently open?) folder

Bernhard bbeschow at cs.tu-berlin.de
Thu Aug 6 19:29:07 BST 2009


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

           Summary: KMail crashes when compacting a (not currently open?)
                    folder
           Product: kmail
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: bbeschow at cs.tu-berlin.de


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.28-14-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I was trying to compact a mbox folder that was currently not open.
-> Crash.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb77b7d8b in KMail::MessageListView::StorageModel::initializeMessageItem
(this=0x922a440, mi=0x924f128, row=11, bUseReceiver=false)
    at /build/buildd/kdepim-4.3.0/kmail/messagelistview/storagemodel.cpp:299
#7  0xb77e1997 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill
(this=0x845c088, job=0x9205ea0, tStart=@0xbff55428)
    at /build/buildd/kdepim-4.3.0/kmail/messagelistview/core/model.cpp:2735
#8  0xb77e3146 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob
(this=0x845c088, job=0x9205ea0, tStart=@0xbff55428)
    at /build/buildd/kdepim-4.3.0/kmail/messagelistview/core/model.cpp:3397
#9  0xb77e3939 in KMail::MessageListView::Core::Model::viewItemJobStepInternal
(this=0x845c088) at
/build/buildd/kdepim-4.3.0/kmail/messagelistview/core/model.cpp:3769
#10 0xb77e4660 in KMail::MessageListView::Core::Model::viewItemJobStep
(this=0x845c088) at
/build/buildd/kdepim-4.3.0/kmail/messagelistview/core/model.cpp:3957
#11 0xb77e5a87 in KMail::MessageListView::Core::Model::setStorageModel
(this=0x845c088, storageModel=0x922a440,
preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /build/buildd/kdepim-4.3.0/kmail/messagelistview/core/model.cpp:791
#12 0xb77e642f in
KMail::MessageListView::Core::Model::slotStorageModelLayoutChanged
(this=0x845c088) at
/build/buildd/kdepim-4.3.0/kmail/messagelistview/core/model.cpp:4440
#13 0xb735d99b in KMail::MessageListView::Core::Model::qt_metacall
(this=0x845c088, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbff557d8)
    at /build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/moc_model.cpp:80
#14 0xb5eda1b8 in QMetaObject::activate (sender=0x922a440,
from_signal_index=17, to_signal_index=17, argv=0x0) at kernel/qobject.cpp:3113
#15 0xb5edae42 in QMetaObject::activate (sender=0x922a440, m=0xb5fb74f8,
local_signal_index=13, argv=0x0) at kernel/qobject.cpp:3187
#16 0xb5f155b7 in QAbstractItemModel::modelReset (this=0x922a440) at
.moc/release-shared/moc_qabstractitemmodel.cpp:213
#17 0xb5ebe814 in QAbstractItemModel::reset (this=0x922a440) at
kernel/qabstractitemmodel.cpp:2263
#18 0xb77b689d in KMail::MessageListView::StorageModel::slotViewConfigChanged
(this=0x922a440) at
/build/buildd/kdepim-4.3.0/kmail/messagelistview/storagemodel.cpp:644
#19 0xb735d263 in KMail::MessageListView::StorageModel::qt_metacall
(this=0x922a440, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff55928)
    at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/moc_storagemodel.cpp:92
#20 0xb5eda1b8 in QMetaObject::activate (sender=0x84038b0,
from_signal_index=22, to_signal_index=22, argv=0x0) at kernel/qobject.cpp:3113
#21 0xb5edae42 in QMetaObject::activate (sender=0x84038b0, m=0xb7a5ad60,
local_signal_index=18, argv=0x0) at kernel/qobject.cpp:3187
#22 0xb744caf7 in KMFolder::viewConfigChanged (this=0x84038b0) at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/kmfolder.moc:269
#23 0xb7451fa2 in KMFolder::setUserWhoField (this=0x84038b0,
whoField=@0xbff55b84, writeConfig=false) at
/build/buildd/kdepim-4.3.0/kmail/kmfolder.cpp:745
#24 0xb7452e80 in KMFolder::readConfig (this=0x84038b0,
configGroup=@0xbff55c94) at /build/buildd/kdepim-4.3.0/kmail/kmfolder.cpp:211
#25 0xb7481b05 in FolderStorage::readConfig (this=0x834c808) at
/build/buildd/kdepim-4.3.0/kmail/folderstorage.cpp:963
#26 0xb747d49a in FolderStorage::countUnread (this=0x834c808) at
/build/buildd/kdepim-4.3.0/kmail/folderstorage.cpp:866
#27 0xb744c357 in KMFolder::countUnread (this=0x84038b0) at
/build/buildd/kdepim-4.3.0/kmail/kmfolder.cpp:497
#28 0xb7655a2c in KMMainWidget::updateMarkAsReadAction (this=0x841bb78) at
/build/buildd/kdepim-4.3.0/kmail/kmmainwidget.cpp:4438
#29 0xb767ea40 in KMMainWidget::qt_metacall (this=0x841bb78,
_c=QMetaObject::InvokeMetaMethod, _id=130, _a=0xbff55dd8) at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/kmmainwidget.moc:478
#30 0xb5eda1b8 in QMetaObject::activate (sender=0x84038b0, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#31 0xb5edae42 in QMetaObject::activate (sender=0x84038b0, m=0xb7a5ad60,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#32 0xb744d077 in KMFolder::changed (this=0x84038b0) at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/kmfolder.moc:149
#33 0xb744d598 in KMFolder::qt_metacall (this=0x84038b0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff55ec8) at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/kmfolder.moc:111
#34 0xb5eda1b8 in QMetaObject::activate (sender=0x834c808, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#35 0xb5edae42 in QMetaObject::activate (sender=0x834c808, m=0xb7a5b348,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#36 0xb747df27 in FolderStorage::changed (this=0x834c808) at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/folderstorage.moc:159
#37 0xb7522744 in KMFolderMbox::compact (this=0x834c808, silent=<value
optimized out>) at /build/buildd/kdepim-4.3.0/kmail/kmfoldermbox.cpp:1325
#38 0xb744d773 in KMFolder::compact (this=0x84038b0,
options=KMFolder::CompactNow) at
/build/buildd/kdepim-4.3.0/kmail/kmfolder.cpp:865
#39 0xb76578f0 in KMMainWidget::slotCompactFolder (this=0x841bb78) at
/build/buildd/kdepim-4.3.0/kmail/kmmainwidget.cpp:1476
#40 0xb767ef48 in KMMainWidget::qt_metacall (this=0x841bb78,
_c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbff560ec) at
/build/buildd/kdepim-4.3.0/obj-i486-linux-gnu/kmail/kmmainwidget.moc:405
#41 0xb5eda1b8 in QMetaObject::activate (sender=0x9117fb0, from_signal_index=5,
to_signal_index=6, argv=0xbff560ec) at kernel/qobject.cpp:3113
#42 0xb5eda5f0 in QMetaObject::activate (sender=0x9117fb0, m=0xb69b9e48,
from_local_signal_index=1, to_local_signal_index=2, argv=0xbff560ec) at
kernel/qobject.cpp:3207
#43 0xb614a6c1 in QAction::triggered (this=0x9117fb0, _t1=false) at
.moc/release-shared/moc_qaction.cpp:236
#44 0xb614bc3f in QAction::activate (this=0x9117fb0, event=QAction::Trigger) at
kernel/qaction.cpp:1160
#45 0xb659d0e4 in QMenuPrivate::activateCausedStack (this=0x9664e68,
causedStack=@0xbff561c8, action=0x9117fb0, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:967
#46 0xb65a383b in QMenuPrivate::activateAction (this=0x9664e68,
action=0x9117fb0, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1060
#47 0xb65a4382 in QMenu::mouseReleaseEvent (this=0x81657a0, e=0xbff56808) at
widgets/qmenu.cpp:2254
#48 0xb7f4deb5 in KMenu::mouseReleaseEvent (this=0x81657a0, e=0xbff56808) at
/build/buildd/kde4libs-4.3.0/kdeui/widgets/kmenu.cpp:456
#49 0xb61a7973 in QWidget::event (this=0x81657a0, event=0xbff56808) at
kernel/qwidget.cpp:7549
#50 0xb65a6639 in QMenu::event (this=0x81657a0, e=0xbff56808) at
widgets/qmenu.cpp:2353
#51 0xb6150d3c in QApplicationPrivate::notify_helper (this=0x815d6c0,
receiver=0x81657a0, e=0xbff56808) at kernel/qapplication.cpp:4056
#52 0xb61599b1 in QApplication::notify (this=0xbff5a3c8, receiver=0x81657a0,
e=0xbff56808) at kernel/qapplication.cpp:3758
#53 0xb7e655cd in KApplication::notify (this=0xbff5a3c8, receiver=0x81657a0,
event=0xbff56808) at
/build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#54 0xb5ec4bcb in QCoreApplication::notifyInternal (this=0xbff5a3c8,
receiver=0x81657a0, event=0xbff56808) at kernel/qcoreapplication.cpp:610
#55 0xb6158a1e in QApplicationPrivate::sendMouseEvent (receiver=0x81657a0,
event=0xbff56808, alienWidget=0x0, nativeWidget=0x81657a0,
buttonDown=0xb69d2aa0, lastMouseReceiver=@0xb69d2aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#56 0xb61c8f56 in QETWidget::translateMouseEvent (this=0x81657a0,
event=0xbff57e9c) at kernel/qapplication_x11.cpp:4343
#57 0xb61c8085 in QApplication::x11ProcessEvent (this=0xbff5a3c8,
event=0xbff57e9c) at kernel/qapplication_x11.cpp:3428
#58 0xb61f337a in x11EventSourceDispatch (s=0x815d538, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0xb42cab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#60 0xb42ce0eb in ?? () from /usr/lib/libglib-2.0.so.0
#61 0xb42ce268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#62 0xb5ef02f8 in QEventDispatcherGlib::processEvents (this=0x81363c8, flags={i
= -1074429864}) at kernel/qeventdispatcher_glib.cpp:327
#63 0xb61f2a75 in QGuiEventDispatcherGlib::processEvents (this=0x81363c8,
flags={i = -1074429816}) at kernel/qguieventdispatcher_glib.cpp:202
#64 0xb5ec31fa in QEventLoop::processEvents (this=0xbff580fc, flags={i =
-1074429752}) at kernel/qeventloop.cpp:149
#65 0xb5ec3642 in QEventLoop::exec (this=0xbff580fc, flags={i = -1074429692})
at kernel/qeventloop.cpp:201
#66 0xb65a64a1 in QMenu::exec (this=0x81657a0, p=@0xbff58a18, action=0x0) at
widgets/qmenu.cpp:1993
#67 0xb73faa1e in KMail::FolderView::contextMenuEvent (this=0x8609d38,
e=0xbff58a00) at /build/buildd/kdepim-4.3.0/kmail/folderview.cpp:1560
#68 0xb61a805c in QWidget::event (this=0x8609d38, event=0xbff58a00) at
kernel/qwidget.cpp:7708
#69 0xb6558a53 in QFrame::event (this=0x8609d38, e=0xbff58a00) at
widgets/qframe.cpp:559
#70 0xb65f8c2f in QAbstractScrollArea::viewportEvent (this=0x8609d38, e=0x7c9)
at widgets/qabstractscrollarea.cpp:962
#71 0xb66ab4a7 in QAbstractItemView::viewportEvent (this=0x8609d38,
event=0xbff58a00) at itemviews/qabstractitemview.cpp:1476
#72 0xb66e5ff6 in QTreeView::viewportEvent (this=0x8609d38, event=0xbff58a00)
at itemviews/qtreeview.cpp:1266
#73 0xb65fb235 in QAbstractScrollAreaFilter::eventFilter (this=0x85b4148,
o=0x8609cf8, e=0xbff58a00) at widgets/qabstractscrollarea_p.h:100
#74 0xb5ec3dea in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x815d6c0, receiver=0x8609cf8, event=0xbff58a00) at
kernel/qcoreapplication.cpp:726
#75 0xb6150d1a in QApplicationPrivate::notify_helper (this=0x815d6c0,
receiver=0x8609cf8, e=0xbff58a00) at kernel/qapplication.cpp:4052
#76 0xb615957d in QApplication::notify (this=0xbff5a3c8, receiver=0x8609cf8,
e=0xbff58a00) at kernel/qapplication.cpp:3845
#77 0xb7e655cd in KApplication::notify (this=0xbff5a3c8, receiver=0x8609cf8,
event=0xbff58a00) at
/build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#78 0xb5ec4bcb in QCoreApplication::notifyInternal (this=0xbff5a3c8,
receiver=0x8609cf8, event=0xbff58a00) at kernel/qcoreapplication.cpp:610
#79 0xb615be8e in QCoreApplication::sendSpontaneousEvent (receiver=0x8609cf8,
event=0x7c9) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#80 0xb61c94b7 in QETWidget::translateMouseEvent (this=0x8418e30,
event=0xbff5a06c) at kernel/qapplication_x11.cpp:4415
#81 0xb61c8085 in QApplication::x11ProcessEvent (this=0xbff5a3c8,
event=0xbff5a06c) at kernel/qapplication_x11.cpp:3428
#82 0xb61f337a in x11EventSourceDispatch (s=0x815d538, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#83 0xb42cab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#84 0xb42ce0eb in ?? () from /usr/lib/libglib-2.0.so.0
#85 0xb42ce268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#86 0xb5ef02f8 in QEventDispatcherGlib::processEvents (this=0x81363c8, flags={i
= -1074421208}) at kernel/qeventdispatcher_glib.cpp:327
#87 0xb61f2a75 in QGuiEventDispatcherGlib::processEvents (this=0x81363c8,
flags={i = -1074421160}) at kernel/qguieventdispatcher_glib.cpp:202
#88 0xb5ec31fa in QEventLoop::processEvents (this=0xbff5a2d0, flags={i =
-1074421096}) at kernel/qeventloop.cpp:149
#89 0xb5ec3642 in QEventLoop::exec (this=0xbff5a2d0, flags={i = -1074421032})
at kernel/qeventloop.cpp:201
#90 0xb5ec5ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#91 0xb6150bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#92 0x0804a7d0 in main (argc=-1219356272, argv=0xb7521a40) at
/build/buildd/kdepim-4.3.0/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