Bug 187030 - Crashes when deleting mails fast and repeatedly - KMMoveCommand constructor
Summary: Crashes when deleting mails fast and repeatedly - KMMoveCommand constructor
Status: RESOLVED DUPLICATE of bug 182431
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.11.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 10:12 UTC by Prakash Punnoor
Modified: 2009-09-28 01:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prakash Punnoor 2009-03-13 10:12:52 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc-Version 4.3.3 (Gentoo 4.3.3 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

I am subscribed to the Linux kernel mailing list and as such recevie around 400-1000 emails per day. I view them in threaded view and delete whole threads using ctrl+del. Once in a while kmail like to crash if I delete lots and fast. I have no backtrace yet, but I can see whether I can get some.
Comment 1 Dario Andres 2009-03-13 11:41:24 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Prakash Punnoor 2009-03-13 13:05:35 UTC
Ok, just managed to crahs kmail by deleting emails in the thrash. I hope the backtrace is usefull, if not, sorry, I don't have time to do other steps.

Anwendung: KMail (kmail), Signal SIGSEGV
0x00007f9513b7a901 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 5719)]

Thread 3 (Thread 0x7f94fb827950 (LWP 5742)):
#0  0x00007f9515602db9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9515870469 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f95153773e4 in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#3  0x00007f951586f729 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f95155ff007 in start_thread () from /lib/libpthread.so.0
#5  0x00007f9513baaf7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9500a67950 (LWP 5868)):
#0  0x00007f951560303d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9515870447 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f9515867741 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f951586f729 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f95155ff007 in start_thread () from /lib/libpthread.so.0
#5  0x00007f9513baaf7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9519ee8760 (LWP 5719)):
[KCrash Handler]
#5  0x00007f9518c6f8ef in KMMoveCommand::KMMoveCommand () from /usr/lib64/libkmailprivate.so.4
#6  0x00007f9518c6f9a6 in KMDeleteMsgCommand::KMDeleteMsgCommand () from /usr/lib64/libkmailprivate.so.4
#7  0x00007f9518ca83a6 in KMMainWidget::trashMessageSet () from /usr/lib64/libkmailprivate.so.4
#8  0x00007f9518cb8dad in KMMainWidget::qt_metacall () from /usr/lib64/libkmailprivate.so.4
#9  0x00007f9515953d05 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f951476d7e7 in QAction::triggered () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f951476ea40 in QAction::activate () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f9514770d77 in QAction::event () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f9519856543 in KAction::event () from /usr/lib64/libkdeui.so.5
#14 0x00007f9514772b3d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f951477a41a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f951992508b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#17 0x00007f9515941b73 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f95147a31a8 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f95147a4dcc in ?? () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f951477b563 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f951992508b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#22 0x00007f9515941b73 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f95147f4844 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f95147f68c0 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f95147d3885 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f95147f8084 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f950cfe4142 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f950cfe785d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0x00007f950cfe7a1b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f9515966a6f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f95147f794f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f9515940572 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f9515940705 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f95159426e4 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#35 0x000000000040331b in _start ()
Comment 3 Prakash Punnoor 2009-03-13 13:06:56 UTC
BTW, I am using qt 4.5.0, in case it matters.
Comment 4 sachiel1 2009-03-22 17:36:22 UTC
I think that I suffer the same type of bug. From time to time, when I select several messeges to delete at once, kmail crashes. It is not reproducible, beacuse it crashes randomly. The bakctrace is:

Aplicació: KMail (kmail), senyal SIGABRT

Thread 1 (Thread 0xb3f44920 (LWP 5259)):
[KCrash Handler]
#6  0xb8043424 in __kernel_vsyscall ()
#7  0xb5e65790 in raise () from /lib/libc.so.6
#8  0xb5e670c8 in abort () from /lib/libc.so.6
#9  0xb6a442d5 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb6a44397 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb6a44455 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb77e0749 in KMail::MessageListView::Core::Model::viewItemJobStep () from /usr/lib/libkmailprivate.so.4
#13 0xb73342c3 in KMail::MessageListView::Core::Model::qt_metacall () from /usr/lib/libkmailprivate.so.4
#14 0xb6b3e1a9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6b3e752 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb6b75b77 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#17 0xb6b4513e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#18 0xb6b3af5f in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb61c701c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb61cea9e in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb7e85cfd in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0xb6b2bc1b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb6b569a1 in ?? () from /usr/lib/libQtCore.so.4
#24 0xbff60d68 in ?? ()
#25 0x08e4e790 in ?? ()
#26 0xbff60a5c in ?? ()
#27 0xb6b2c41b in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#28 0xb6b53540 in ?? () from /usr/lib/libQtCore.so.4
#29 0x08b8cdc4 in ?? ()
#30 0xb46c7240 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xbff60af8 in ?? ()
#32 0xb464c311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC
Comment 5 Thomas McGuire 2009-03-22 17:55:17 UTC
The later backtrace is unrelated and belongs to bug 174839.
Comment 6 Dario Andres 2009-09-28 01:43:33 UTC

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