kmail often crashes when emptying wastebin

Bug #403382 reported by auxbuss
0
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I experience this bug about one in five times when emptying the wastebin. The problem occurs when right-clicking either Local Folders/Wastebin or <mail account>/Trash, and clicking "Empty Wastebin".

Notes:
- All my email accounts are IMAP
- I am using the KDE wallet

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy kmail
kmail:
  Installed: 4:4.2.2-0ubuntu1
  Candidate: 4:4.2.2-0ubuntu1
  Version table:
 *** 4:4.2.2-0ubuntu1 0
        500 http://gb.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you please get a backtrace from the KDE Crash Handler (Click the "details" checkbox) with KDE 4.2.4, if the crash is still an issue?
http://www.kubuntu.org/news/kde-4.2.4
Alternately, if you could see if it still happens with KDE 4.3 Release Candidate 3, that would be great too
http://www.kubuntu.org/news/kde-4.2.4

Thanks in advance.

Changed in kdepim (Ubuntu):
status: New → Incomplete
Revision history for this message
auxbuss (launchpad-auxbuss) wrote :

Thanks for the feedback. I upgraded to KDE 4.2.4 and things looked good until:

Application: KMail (kmail), signal SIGABRT
[Current thread is 0 (LWP 29034)]

Thread 2 (Thread 0xac451b90 (LWP 29283)):
#0 0xb8035430 in __kernel_vsyscall ()
#1 0xb5c657b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb5f39380 in ?? () from /usr/lib/libQtCore.so.4
#3 0xb5e6796e in ?? () from /usr/lib/libQtCore.so.4
#4 0xb50964ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5 0xb5c6d49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3c8cb40 (LWP 29034)):
[KCrash Handler]
#6 0xb8035430 in __kernel_vsyscall ()
#7 0xb5bb46d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb5bb6098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb5e5f595 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5e5f681 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5e5f775 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb77bf219 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb72fed43 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0xb5f71ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb5f72932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb5fad717 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#17 0xb5f776fe in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#18 0xb5f6c15f in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb6208e9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb621119e in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb7e68e0d in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0xb5f5ba3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb5f8ad71 in ?? () from /usr/lib/libQtCore.so.4
#24 0xb5f874e0 in ?? () from /usr/lib/libQtCore.so.4
#25 0xb438db88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb43910eb in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4391268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb5f87438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb62aa365 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb5f5a06a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb5f5a4aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb5f5c959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb6208d17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0x0804a7a0 in _start ()

This was when doing right-click, Empty wastebin on Local folders/wastebin.

Moving to KDE 4.3 RC is not an option on this m/c; it has to do real work, the kind hat pays the bills.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oh, whoops. I forgot to mention that to get a complete trace you will need to install kdepim-dbg. Sorry for forgetting. (You can remove this all later on by removing the libqt4-dbg package)

Revision history for this message
auxbuss (launchpad-auxbuss) wrote :
Download full text (4.0 KiB)

Here with kdepim-dbg installed.

As before, this was when doing right-click, Empty wastebin on Local folders/wastebin.

Application: KMail (kmail), signal SIGABRT
[Current thread is 0 (LWP 4645)]

Thread 2 (Thread 0xabb11b90 (LWP 4661)):
#0 0xb7fad430 in __kernel_vsyscall ()
#1 0xb5bdd7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb5eb1380 in QProcessManager::run (this=0x9f7b940) at io/qprocess_unix.cpp:305
#3 0xb5ddf96e in QThreadPrivate::start (arg=0x9f7b940) at thread/qthread_unix.cpp:189
#4 0xb500e4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5 0xb5be549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3c04b40 (LWP 4645)):
[KCrash Handler]
#6 0xb7fad430 in __kernel_vsyscall ()
#7 0xb5b2c6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb5b2e098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb5dd7595 in qt_message_output (msgType=QtFatalMsg,
    buf=0x9fc4258 "ASSERT: \"mCurrentItemToRestoreAfterViewItemJobStep->isViewable()\" in file /build/buildd/kdepim-4.2.4/kmail/messagelistview/core/model.cpp, line 3853") at global/qglobal.cpp:2006
#10 0xb5dd7681 in qFatal (msg=0xb5f26318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb5dd7775 in qt_assert (assertion=0xb78f67d4 "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()", file=0xb78f64cc "/build/buildd/kdepim-4.2.4/kmail/messagelistview/core/model.cpp",
    line=3853) at global/qglobal.cpp:1777
#12 0xb7737219 in KMail::MessageListView::Core::Model::viewItemJobStep (this=0xa2c12a0) at /build/buildd/kdepim-4.2.4/kmail/messagelistview/core/model.cpp:3853
#13 0xb7276d43 in KMail::MessageListView::Core::Model::qt_metacall (this=0xa2c12a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcc8e38)
    at /build/buildd/kdepim-4.2.4/obj-i486-linux-gnu/kmail/moc_model.cpp:76
#14 0xb5ee9ca8 in QMetaObject::activate (sender=0xa24e518, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#15 0xb5eea932 in QMetaObject::activate (sender=0xa24e518, m=0xb5fc6904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#16 0xb5f25717 in QTimer::timeout (this=0xa24e518) at .moc/release-shared/moc_qtimer.cpp:128
#17 0xb5eef6fe in QTimer::timerEvent (this=0xa24e518, e=0xbfcc92bc) at kernel/qtimer.cpp:261
#18 0xb5ee415f in QObject::event (this=0xa24e518, e=0xbfcc92bc) at kernel/qobject.cpp:1082
#19 0xb6180e9c in QApplicationPrivate::notify_helper (this=0x9f798b8, receiver=0xa24e518, e=0xbfcc92bc) at kernel/qapplication.cpp:4084
#20 0xb618919e in QApplication::notify (this=0xbfcc95d8, receiver=0xa24e518, e=0xbfcc92bc) at kernel/qapplication.cpp:3631
#21 0xb7de0e0d in KApplication::notify (this=0xbfcc95d8, receiver=0xa24e518, event=0xbfcc92bc) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#22 0xb5ed3a3b in QCoreApplication::notifyInternal (this=0xbfcc95d8, receiver=0xa24e518, event=0xbfcc92bc) at kernel/qcoreapplication.cpp:602
#23 0xb5f02d71 in QTimerInfoList::activateTimers (this=0x9f7c0c4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#24 0xb5eff4e0 in timerSourceDispatch (source=0x9f7c090) at kernel/qeventdispatcher_glib.cpp:164
#25 0xb4305b88 in g...

Read more...

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thanks. This appears to be the same crash as in bug 311521. Unfortunately, it seems that the fix that KDE made for 4.2.x didn't work to well. :( The good news is that it will be fixed in 4.3.x.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.