Bug 290389 - crash of kmail while sending mail & closing app
Summary: crash of kmail while sending mail & closing app
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 290012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-02 11:52 UTC by MK
Modified: 2012-08-18 11:04 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 MK 2012-01-02 11:52:43 UTC
Application: kmail (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was sending mail and closed kmail before the sending queue was empty. There it crashed.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f06edded7a0 (LWP 2365))]

Thread 3 (Thread 0x7f06ce210700 (LWP 2566)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f06e00c1c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f06e00c1d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f06e8d10efc in start_thread (arg=0x7f06ce210700) at pthread_create.c:304
#4  0x00007f06eb16a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f06cd90f700 (LWP 2567)):
#0  0x00007f06e8d141fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2f9ed38) at pthread_mutex_unlock.c:290
#2  0x00007f06e3baef3f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f06e3bafdfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f06e3bb0429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f06ebadcf3e in QEventDispatcherGlib::processEvents (this=0x2f9ec40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f06ebab0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f06ebab0ef7 in QEventLoop::exec (this=0x7f06cd90ede0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f06eb9c827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f06eb9cad05 in QThreadPrivate::start (arg=0x2f9dfb0) at thread/qthread_unix.cpp:331
#10 0x00007f06e8d10efc in start_thread (arg=0x7f06cd90f700) at pthread_create.c:304
#11 0x00007f06eb16a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f06edded7a0 (LWP 2365)):
[KCrash Handler]
#6  0x00007f06ed780434 in KProgressDialog::wasCancelled (this=0x3a86fa0) at ../../kdeui/dialogs/kprogressdialog.cpp:126
#7  0x00007f06ecbceb12 in KMCommand::slotMsgTransfered (this=0x39cb430, msgs=...) at ../../kmail/kmcommands.cpp:341
#8  0x00007f06ecbd1bc9 in KMCommand::qt_metacall (this=0x39cb430, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5ca31c60) at ./kmcommands.moc:89
#9  0x00007f06ecbd1f80 in KMEditMsgCommand::qt_metacall (this=0x39cb430, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5ca31c60) at ./kmcommands.moc:414
#10 0x00007f06ebac4eba in QMetaObject::activate (sender=0x3920970, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5ca31c60) at kernel/qobject.cpp:3278
#11 0x00007f06e7e6fb42 in Akonadi::ItemFetchJob::itemsReceived (this=<optimized out>, _t1=<optimized out>) at ./itemfetchjob.moc:92
#12 0x00007f06e7e70964 in timeout (this=0x45514e0) at ../../akonadi/itemfetchjob.cpp:71
#13 Akonadi::ItemFetchJob::qt_metacall (this=<optimized out>, _c=<optimized out>, _id=2, _a=0x7fff5ca31d80) at ./itemfetchjob.moc:80
#14 0x00007f06ebac4eba in QMetaObject::activate (sender=0x3920970, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5ca31d80) at kernel/qobject.cpp:3278
#15 0x00007f06ed2335b2 in KJob::result (this=<optimized out>, _t1=0x3920970) at ./kjob.moc:194
#16 0x00007f06ed2335f0 in KJob::emitResult (this=0x3920970) at ../../kdecore/jobs/kjob.cpp:312
#17 0x00007f06e7e8306d in Akonadi::Job::qt_metacall (this=0x3920970, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x2838df0) at ./job.moc:91
#18 0x00007f06e7e70865 in Akonadi::ItemFetchJob::qt_metacall (this=0x3920970, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x2838df0) at ./itemfetchjob.moc:73
#19 0x00007f06ebac8a5e in QObject::event (this=0x3920970, e=<optimized out>) at kernel/qobject.cpp:1217
#20 0x00007f06ebfe2424 in notify_helper (e=0x3a3dd00, receiver=0x3920970, this=0x2564f40) at kernel/qapplication.cpp:4486
#21 QApplicationPrivate::notify_helper (this=0x2564f40, receiver=0x3920970, e=0x3a3dd00) at kernel/qapplication.cpp:4458
#22 0x00007f06ebfe7291 in QApplication::notify (this=0x7fff5ca326c0, receiver=0x3920970, e=0x3a3dd00) at kernel/qapplication.cpp:4365
#23 0x00007f06ed803126 in KApplication::notify (this=0x7fff5ca326c0, receiver=0x3920970, event=0x3a3dd00) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f06ebab1afc in QCoreApplication::notifyInternal (this=0x7fff5ca326c0, receiver=0x3920970, event=0x3a3dd00) at kernel/qcoreapplication.cpp:787
#25 0x00007f06ebab551f in sendEvent (event=0x3a3dd00, receiver=0x3920970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2524460) at kernel/qcoreapplication.cpp:1428
#27 0x00007f06ebadca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f06e3bafa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f06e3bb0258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f06e3bb0429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f06ebadced6 in QEventDispatcherGlib::processEvents (this=0x2525f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f06ec08a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f06ebab0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f06ebab0ef7 in QEventLoop::exec (this=0x7fff5ca32590, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f06ebab5789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 290012.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-06 18:33:08 UTC
*** Bug 290012 has been marked as a duplicate of this bug. ***
Comment 2 Laurent Montel 2012-01-12 16:26:03 UTC
Git commit e209a9feb77970d5786c783a7e59da72aa08a80d by Montel Laurent.
Committed on 12/01/2012 at 17:25.
Pushed by mlaurent into branch 'master'.

I hope that it will fix Bug 290389 - crash of kmail while sending mail &

closing app

M  +18   -18   kmail/kmcommands.cpp
M  +1    -1    kmail/kmcommands.h

http://commits.kde.org/kdepim/e209a9feb77970d5786c783a7e59da72aa08a80d
Comment 3 Sebastien Renard 2012-08-18 11:04:53 UTC
This bug cannot be reproduced anymore with Kmail from KDE 4.8.4. Fix seems ok.