Bug 197705 - Kmail crashes after compressing folder and accessing to a message within it (ASSERT: "row < mFolder->count()", storagemodel.cpp, line 216)
Summary: Kmail crashes after compressing folder and accessing to a message within it (...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 09:28 UTC by Markus Krumpöck
Modified: 2012-08-19 11:09 UTC (History)
2 users (show)

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 Markus Krumpöck 2009-06-24 09:28:34 UTC
Version:           kmail 1.11.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Every time I compress a local folder (mbox) kmail crashed when I want to access to any mail in the same folder. 

If I compress a local folder, change to another folder and then back to the compressed folder kmail does not crash when accessing to any mail in the compressed folder - it only happens when accessing to a message in the compressed folder immediatley after compressing the folder.

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

Thread 2 (Thread 0xabffeb90 (LWP 6831)):
#0  0xb7fe8430 in __kernel_vsyscall ()
#1  0xb5c1c7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5ef0380 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5e1e96e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb50524ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5c2449e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3c48b40 (LWP 5991)):
[KCrash Handler]
#6  0xb7fe8430 in __kernel_vsyscall ()
#7  0xb5b6b6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5b6d098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5e16595 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5e16681 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5e16775 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7739e3b in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb773f144 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0xb779e07a in ?? () from /usr/lib/libkmailprivate.so.4
#15 0xb72af481 in ?? () from /usr/lib/libkmailprivate.so.4
#16 0xb5f28ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb5f29932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb678c419 in QItemSelectionModel::selectionChanged () from /usr/lib/libQtGui.so.4
#19 0xb6794bd0 in QItemSelectionModel::emitSelectionChanged () from /usr/lib/libQtGui.so.4
#20 0xb6794ed6 in QItemSelectionModel::select () from /usr/lib/libQtGui.so.4
#21 0xb677a1a6 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb677ad16 in QTreeView::setSelection () from /usr/lib/libQtGui.so.4
#23 0xb673e33d in QAbstractItemView::mousePressEvent () from /usr/lib/libQtGui.so.4
#24 0xb678285f in QTreeView::mousePressEvent () from /usr/lib/libQtGui.so.4
#25 0xb779e477 in ?? () from /usr/lib/libkmailprivate.so.4
#26 0xb6216c46 in QWidget::event () from /usr/lib/libQtGui.so.4
#27 0xb65f0993 in QFrame::event () from /usr/lib/libQtGui.so.4
#28 0xb669094f in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#29 0xb6742647 in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#30 0xb677d0c4 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#31 0xb6692f55 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb5f11c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#33 0xb61bfe7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#34 0xb61c8b11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0xb7e1694d in KApplication::notify () from /usr/lib/libkdeui.so.5
#36 0xb5f12a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#37 0xb61c7b7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#38 0xb623797e in ?? () from /usr/lib/libQtGui.so.4
#39 0xb6236ca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#40 0xb6261c6a in ?? () from /usr/lib/libQtGui.so.4
#41 0xb434ab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb434e0eb in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb434e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb5f3e438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb6261365 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb5f1106a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb5f114aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#48 0xb5f13959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#49 0xb61bfd17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#50 0x0804a7a0 in _start ()
Comment 1 Dario Andres 2009-06-24 15:59:12 UTC
If you can reproduce the crash at will, could you please launch KMail from Konsole, then reproduce the crash situation, and after the app crashes, copy the shell output and paste it here ? (specially the "ASSERT" line).
Thanks!
Comment 2 Markus Krumpöck 2009-06-24 16:07:16 UTC
ASSERT: "row < mFolder->count()" in file /build/buildd/kdepim-4.2.2/kmail/messagelistview/storagemodel.cpp, line 216
*** KMail got signal 6 (Crashing)
KCrash: Application 'kmail' crashing...
sock_file=/home/m2k/.kde/socket-moritz/kdeinit4__0
Comment 3 Dario Andres 2009-06-24 16:16:36 UTC
Thanks
Comment 4 Myriam Schweingruber 2012-08-19 11:09:02 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding