Bug 289927

Summary: Kmail Crash when mark Email as Spam
Product: [Applications] kmail2 Reporter: dawnrazor666 <dawnrazor>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dawnrazor666 2011-12-27 15:29:13 UTC
Application: kmail (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
1) Click on Email in Inbox Folder
2) Mark Email as Spam
3) Message appears that email cant be marked
4) Kmail crashed

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f88882427a0 (LWP 2787))]

Thread 5 (Thread 0x7f8868bfc700 (LWP 2792)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f887a4c3c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f887a4c3d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f888317fefc in start_thread (arg=0x7f8868bfc700) at pthread_create.c:304
#4  0x00007f88855d989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f88682fb700 (LWP 2793)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f88855769df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f8885574d71 in __GI___libc_free (mem=0x7f88858921c0) at malloc.c:3736
#3  0x00007f8885f4cc63 in QTimerInfoList::unregisterTimer (this=0x7f8860002060, timerId=754974737) at kernel/qeventdispatcher_unix.cpp:499
#4  0x00007f8885f3bd51 in stop (this=0x1faf740) at kernel/qtimer.cpp:257
#5  QTimer::stop (this=0x1faf740) at kernel/qtimer.cpp:254
#6  0x00007f8885f3be55 in QTimer::timerEvent (this=0x1faf740, e=<optimized out>) at kernel/qtimer.cpp:270
#7  0x00007f8885f37789 in QObject::event (this=0x1faf740, e=<optimized out>) at kernel/qobject.cpp:1181
#8  0x00007f8886451424 in notify_helper (e=0x7f88682fab80, receiver=0x1faf740, this=0x191c280) at kernel/qapplication.cpp:4486
#9  QApplicationPrivate::notify_helper (this=0x191c280, receiver=0x1faf740, e=0x7f88682fab80) at kernel/qapplication.cpp:4458
#10 0x00007f8886456291 in QApplication::notify (this=0x7fff164861e0, receiver=0x1faf740, e=0x7f88682fab80) at kernel/qapplication.cpp:4365
#11 0x00007f8887c58a46 in KApplication::notify (this=0x7fff164861e0, receiver=0x1faf740, event=0x7f88682fab80) at ../../kdeui/kernel/kapplication.cpp:311
#12 0x00007f8885f20afc in QCoreApplication::notifyInternal (this=0x7fff164861e0, receiver=0x1faf740, event=0x7f88682fab80) at kernel/qcoreapplication.cpp:787
#13 0x00007f8885f4dd62 in sendEvent (event=0x7f88682fab80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QTimerInfoList::activateTimers (this=0x7f8860002060) at kernel/qeventdispatcher_unix.cpp:603
#15 0x00007f8885f4b538 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#16 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#17 0x00007f887e2a5a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f887e2a6258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f887e2a6429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f8885f4bed6 in QEventDispatcherGlib::processEvents (this=0x1f92e70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f8885f1fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f8885f1fef7 in QEventLoop::exec (this=0x7f88682fade0, flags=...) at kernel/qeventloop.cpp:201
#23 0x00007f8885e3727f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#24 0x00007f8885e39d05 in QThreadPrivate::start (arg=0x1f922b0) at thread/qthread_unix.cpp:331
#25 0x00007f888317fefc in start_thread (arg=0x7f88682fb700) at pthread_create.c:304
#26 0x00007f88855d989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8864bcf700 (LWP 2800)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f88855769df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f8885574d71 in __GI___libc_free (mem=0x7f88858921c0) at malloc.c:3736
#3  0x00007f8885f4b665 in socketNotifierSourceCheck (source=0x2405e60) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f887e2a5734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f887e2a5f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f887e2a6429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8885f4bed6 in QEventDispatcherGlib::processEvents (this=0x22d4490, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f8885f1fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f8885f1fef7 in QEventLoop::exec (this=0x7f8864bcedb0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f8885e3727f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007f8885f02cbf in QInotifyFileSystemWatcherEngine::run (this=0x2404ed0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f8885e39d05 in QThreadPrivate::start (arg=0x2404ed0) at thread/qthread_unix.cpp:331
#13 0x00007f888317fefc in start_thread (arg=0x7f8864bcf700) at pthread_create.c:304
#14 0x00007f88855d989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f881efbf700 (LWP 2802)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f88855769df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f8885574d71 in __GI___libc_free (mem=0x7f88858921c0) at malloc.c:3736
#3  0x00007f8885f3839b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=0x276f088, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#5  QObject::~QObject (this=0x276f080, __in_chrg=<optimized out>) at kernel/qobject.cpp:818
#6  0x00007f8885f4be49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x276f080, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#7  0x00007f8885e38e34 in QThreadPrivate::finish (arg=0x2774f00) at thread/qthread_unix.cpp:367
#8  0x00007f8885e39d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#9  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#10 QThreadPrivate::start (arg=0x2774f00) at thread/qthread_unix.cpp:290
#11 0x00007f888317fefc in start_thread (arg=0x7f881efbf700) at pthread_create.c:304
#12 0x00007f88855d989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f88882427a0 (LWP 2787)):
[KCrash Handler]
#6  0x00007f888552e3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f8885531b0b in __GI_abort () at abort.c:92
#8  0x00007f8885566113 in __libc_message (do_abort=2, fmt=0x7f88856570d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f8885570a96 in malloc_printerr (action=3, str=0x7f8885657258 "double free or corruption (out)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f8885574d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f888229396d in qDeleteAll<QList<Node*>::const_iterator> (end=<optimized out>, begin=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#12 qDeleteAll<QList<Node*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#13 Akonadi::EntityTreeModel::~EntityTreeModel (this=0x1af2000, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:79
#14 0x00007f88822939f9 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0x1af2000, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:83
#15 0x00007f8885f32d75 in QObjectPrivate::deleteChildren (this=0x1b79f20) at kernel/qobject.cpp:1955
#16 0x00007f8885f38349 in QObject::~QObject (this=0x7fff16486110, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#17 0x00007f888700f3ad in KMKernel::~KMKernel (this=0x7fff16486110, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:226
#18 0x0000000000402bee in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:128

Possible duplicates by query: bug 289453, bug 289341, bug 288597, bug 286234, bug 283789.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-12-30 10:23:28 UTC

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