Bug 185845 - Selecting multiple mails and deleting as a group crashes kmail
Summary: Selecting multiple mails and deleting as a group crashes kmail
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-01 02:08 UTC by Anand Vaidya
Modified: 2009-06-05 15:26 UTC (History)
1 user (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 Anand Vaidya 2009-03-01 02:08:24 UTC
Version:            (using KDE 4.2.0)
Compiler:          NA NA
OS:                Linux
Installed from:    Ubuntu Packages

If I select one email at a time and delete, no crashes.


I noticed that when I select multiple mails (Shift-click) and hit del key or select delete via right-click menu, KMail crashes , I seem to find that selecting three emails to delete at a time leads to a crash fairly often (7/10 times) 

Occassionally, Ctrl-del and delete a thread also leads to the same crash.

The crash report follows:

Application: Kontact (kontact), signal SIGABRT
0x00007fec46f0d6e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 8034)]

Thread 2 (Thread 0x41973950 (LWP 8047)):
#0  0x00007fec46f444b2 in select () from /lib/libc.so.6
#1  0x00007fec47ab6006 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fec479ed362 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fec443fb3ea in start_thread () from /lib/libpthread.so.0
#4  0x00007fec46f4bcbd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fec4d26f6f0 (LWP 8034)):
[KCrash Handler]
#5  0x00007fec46e98015 in raise () from /lib/libc.so.6
#6  0x00007fec46e99b83 in abort () from /lib/libc.so.6
#7  0x00007fec479e56b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007fec479e57fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007fec34cff3ff in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x00007fec34d021bd in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x00007fec34d027f5 in ?? () from /usr/lib/libkmailprivate.so.4
#12 0x00007fec34d03738 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0x00007fec348af118 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0x00007fec47aea134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x00007fec47ae4a43 in QObject::event () from /usr/lib/libQtCore.so.4
#16 0x00007fec4865bc3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#17 0x00007fec486639ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#18 0x00007fec4998c5db in KApplication::notify () from /usr/lib/libkdeui.so.5
#19 0x00007fec47ad5d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#20 0x00007fec47b01ab6 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007fec47afe1fd in ?? () from /usr/lib/libQtCore.so.4
#22 0x00007fec41836d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007fec4183a50d in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007fec4183a6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007fec47afe15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#26 0x00007fec486eda6f in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007fec47ad4682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#28 0x00007fec47ad480d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#29 0x00007fec47ad6cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#30 0x0000000000404a15 in _start ()
Comment 1 Dario Andres 2009-03-02 00:56:16 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?
You need to install the "kdepim-dbg" package
Thanks :)