Bug 286084 - Crash when closing - mails in Outgoing which aren't sent
Summary: Crash when closing - mails in Outgoing which aren't sent
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 287019 303319 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-08 09:28 UTC by mms
Modified: 2017-01-07 22:39 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 mms 2011-11-08 09:28:20 UTC
Application: kontact (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I wanted to send mails, but kontact hangs and messages in Outgoing even can't be deleted ;(

So I wanted to restart kontact and it crashed

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc8388917a0 (LWP 32246))]

Thread 4 (Thread 0x7fc81e558700 (LWP 32248)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc8350f7c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc8350f7d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc8304f3efc in start_thread (arg=0x7fc81e558700) at pthread_create.c:304
#4  0x00007fc835e0589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc81dc3f700 (LWP 32249)):
#0  0x00007fc835df9773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc82fa25f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc82fa26429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc837240f3e in QEventDispatcherGlib::processEvents (this=0xcda1d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc837214cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc837214ef7 in QEventLoop::exec (this=0x7fc81dc3ede0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fc83712c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fc83712ed05 in QThreadPrivate::start (arg=0xcd9480) at thread/qthread_unix.cpp:331
#8  0x00007fc8304f3efc in start_thread (arg=0x7fc81dc3f700) at pthread_create.c:304
#9  0x00007fc835e0589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc7cde1f700 (LWP 32281)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fc7cde1ead0 in ?? ()
#2  0x00007fff691ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7fc8388917a0 (LWP 32246)):
[KCrash Handler]
#6  0x00007fc836a26084 in QTabWidget::currentWidget (this=0x139fb40) at widgets/qtabwidget.cpp:624
#7  0x00007fc7d5260f48 in MessageList::Pane::markMessageItemsAsAboutToBeRemoved (this=<optimized out>, ref=4, bMark=false) at ../../messagelist/pane.cpp:621
#8  0x00007fc7d5df9ece in KMMainWidget::slotTrashMessagesCompleted (this=0x13b4aa0, command=0x32315a0) at ../../kmail/kmmainwidget.cpp:2005
#9  0x00007fc7d5e1780a in KMMainWidget::qt_metacall (this=0x13b4aa0, _c=QMetaObject::InvokeMetaMethod, _id=145, _a=0x7fff690a0ce0) at ./kmmainwidget.moc:492
#10 0x00007fc837228eba in QMetaObject::activate (sender=0x32315a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff690a0ce0) at kernel/qobject.cpp:3278
#11 0x00007fc7d5de320f in KMMoveCommand::moveDone (this=<optimized out>, _t1=0x32315a0) at ./kmcommands.moc:1669
#12 0x00007fc7d5de3257 in KMMoveCommand::completeMove (this=0x32315a0, result=KMCommand::Failed) at ../../kmail/kmcommands.cpp:1615
#13 0x00007fc7d5de9d3c in KMMoveCommand::qt_metacall (this=0x32315a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff690a0e10) at ./kmcommands.moc:1657
#14 0x00007fc837228eba in QMetaObject::activate (sender=0x34c9600, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff690a0e10) at kernel/qobject.cpp:3278
#15 0x00007fc83767b5b2 in KJob::result (this=<optimized out>, _t1=0x34c9600) at ./kjob.moc:194
#16 0x00007fc83767b5f0 in KJob::emitResult (this=0x34c9600) at ../../kdecore/jobs/kjob.cpp:312
#17 0x00007fc832c23ee0 in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:66
#18 0x00007fc832c57d46 in Akonadi::SessionPrivate::dataReceived (this=0x1134b30) at ../../akonadi/session.cpp:218
#19 0x00007fc832c5ad9d in Akonadi::Session::qt_metacall (this=0xeb1310, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff690a10a0) at ./session.moc:96
#20 0x00007fc837228eba in QMetaObject::activate (sender=0x10da620, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#21 0x00007fc837270ba8 in QIODevice::qt_metacall (this=0x10da620, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff690a11b0) at .moc/release-shared/moc_qiodevice.cpp:77
#22 0x00007fc831736890 in QLocalSocket::qt_metacall (this=0x10da620, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff690a11b0) at .moc/release-shared/moc_qlocalsocket.cpp:81
#23 0x00007fc837228eba in QMetaObject::activate (sender=0x1156320, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#24 0x00007fc83173091f in QAbstractSocketPrivate::canReadNotification (this=0x1156500) at socket/qabstractsocket.cpp:643
#25 0x00007fc83171f551 in event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1103
#26 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1100
#27 0x00007fc8365c6424 in notify_helper (e=0x7fff690a15a0, receiver=0x1166420, this=0xae8cb0) at kernel/qapplication.cpp:4486
#28 QApplicationPrivate::notify_helper (this=0xae8cb0, receiver=0x1166420, e=0x7fff690a15a0) at kernel/qapplication.cpp:4458
#29 0x00007fc8365cb291 in QApplication::notify (this=0x7fff690a24e0, receiver=0x1166420, e=0x7fff690a15a0) at kernel/qapplication.cpp:4365
#30 0x00007fc837c4b126 in KApplication::notify (this=0x7fff690a24e0, receiver=0x1166420, event=0x7fff690a15a0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fc837215afc in QCoreApplication::notifyInternal (this=0x7fff690a24e0, receiver=0x1166420, event=0x7fff690a15a0) at kernel/qcoreapplication.cpp:787
#32 0x00007fc8372405b7 in sendEvent (event=0x7fff690a15a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 socketNotifierSourceDispatch (source=0xaeadd0) at kernel/qeventdispatcher_glib.cpp:110
#34 0x00007fc82fa25a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fc82fa26258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fc82fa26429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc837240ed6 in QEventDispatcherGlib::processEvents (this=0xabcfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fc83666e07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fc837214cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fc837214ef7 in QEventLoop::exec (this=0x7fff690a17e0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fc83767b3d6 in KJob::exec (this=0x12bf0f0) at ../../kdecore/jobs/kjob.cpp:204
#42 0x00007fc7d5dcdc88 in KMKernel::cleanup (this=0x1105ed0) at ../../kmail/kmkernel.cpp:1244
#43 0x00007fc7d613a632 in KMailPart::~KMailPart (this=0xe7e320, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#44 0x00007fc7d613a739 in KMailPart::~KMailPart (this=0xe7e320, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:141
#45 0x00007fc83808d31e in KontactInterface::Plugin::~Plugin (this=0xe11280, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#46 0x00007fc7d698db0f in KMailPlugin::~KMailPlugin (this=0xe11280, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#47 0x00007fc7d698db39 in KMailPlugin::~KMailPlugin (this=0xe11280, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#48 0x00007fc8384c2567 in Kontact::MainWindow::~MainWindow (this=0xcc78b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:287
#49 0x00007fc8384c26c9 in Kontact::MainWindow::~MainWindow (this=0xcc78b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#50 0x00007fc83722ca88 in QObject::event (this=0xcc78b0, e=<optimized out>) at kernel/qobject.cpp:1200
#51 0x00007fc8366166eb in QWidget::event (this=0xcc78b0, event=0x39485a0) at kernel/qwidget.cpp:8754
#52 0x00007fc8369d8ceb in QMainWindow::event (this=0xcc78b0, event=0x39485a0) at widgets/qmainwindow.cpp:1478
#53 0x00007fc837d47628 in KXmlGuiWindow::event (this=0xcc78b0, ev=0x39485a0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#54 0x00007fc8365c6424 in notify_helper (e=0x39485a0, receiver=0xcc78b0, this=0xae8cb0) at kernel/qapplication.cpp:4486
#55 QApplicationPrivate::notify_helper (this=0xae8cb0, receiver=0xcc78b0, e=0x39485a0) at kernel/qapplication.cpp:4458
#56 0x00007fc8365cb291 in QApplication::notify (this=0x7fff690a24e0, receiver=0xcc78b0, e=0x39485a0) at kernel/qapplication.cpp:4365
#57 0x00007fc837c4b126 in KApplication::notify (this=0x7fff690a24e0, receiver=0xcc78b0, event=0x39485a0) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007fc837215afc in QCoreApplication::notifyInternal (this=0x7fff690a24e0, receiver=0xcc78b0, event=0x39485a0) at kernel/qcoreapplication.cpp:787
#59 0x00007fc83721951f in sendEvent (event=0x39485a0, receiver=0xcc78b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xabb8e0) at kernel/qcoreapplication.cpp:1428
#61 0x00007fc837240a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#63 0x00007fc82fa25a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007fc82fa26258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fc82fa26429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007fc837240ed6 in QEventDispatcherGlib::processEvents (this=0xabcfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007fc83666e07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007fc837214cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007fc837214ef7 in QEventLoop::exec (this=0x7fff690a2470, flags=...) at kernel/qeventloop.cpp:201
#70 0x00007fc837219789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#71 0x0000000000403629 in main (argc=1, argv=0x7fff690a2b08) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-19 20:00:23 UTC
*** Bug 287019 has been marked as a duplicate of this bug. ***
Comment 2 Sebastien Renard 2012-08-18 07:58:55 UTC
*** Bug 303319 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 18:15:40 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:39:26 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.