Bug 334730 - Kontact crash on logout
Summary: Kontact crash on logout
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-14 00:37 UTC by Dean Cording
Modified: 2015-01-13 16:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.2


Attachments
New crash information added by DrKonqi (4.35 KB, text/plain)
2015-01-13 16:47 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Cording 2014-05-14 00:37:50 UTC
Application: kontact (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-26-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
On logging out from KDE, Kontact crashed.  I had only been logged in for a few minutes.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaf6a4780 (LWP 3210))]

Thread 5 (Thread 0xacac7b40 (LWP 3211)):
#0  0xb770e424 in __kernel_vsyscall ()
#1  0xb317bd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60868ec in __pthread_cond_wait (cond=0xb57d5cb0, mutex=0xb57d5c98) at forward.c:149
#3  0xb4f5d9ac in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4f5d9ff in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3177f70 in start_thread (arg=0xacac7b40) at pthread_create.c:312
#6  0xb607970e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xac19eb40 (LWP 3212)):
#0  0xb770e424 in __kernel_vsyscall ()
#1  0xb317bd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60868ec in __pthread_cond_wait (cond=0xac20c7dc, mutex=0xac20c7c4) at forward.c:149
#3  0xb4f8c9f3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4c68574 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4f737c6 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb4f8c369 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb3177f70 in start_thread (arg=0xac19eb40) at pthread_create.c:312
#8  0xb607970e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xa947db40 (LWP 3217)):
#0  0xb30d7120 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb3091515 in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3092390 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3092528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb63ce95f in QEventDispatcherGlib::processEvents (this=0xa8b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0xb639d823 in QEventLoop::processEvents (this=this@entry=0xa947d248, flags=...) at kernel/qeventloop.cpp:149
#6  0xb639db49 in QEventLoop::exec (this=this@entry=0xa947d248, flags=...) at kernel/qeventloop.cpp:204
#7  0xb628a23d in QThread::exec (this=this@entry=0x9794fc0) at thread/qthread.cpp:537
#8  0xb628a38b in QThread::run (this=0x9794fc0) at thread/qthread.cpp:604
#9  0xb628cb6f in QThreadPrivate::start (arg=0x9794fc0) at thread/qthread_unix.cpp:349
#10 0xb3177f70 in start_thread (arg=0xa947db40) at pthread_create.c:312
#11 0xb607970e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa71cdb40 (LWP 3227)):
#0  0xb770e424 in __kernel_vsyscall ()
#1  0xb6087392 in __GI___clock_gettime (clock_id=1, tp=0xa71ccfb8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb62e78cc in do_gettime (frac=0xa71ccfb0, sec=0xa71ccfa8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb63d02a2 in updateCurrentTime (this=0xa7802c64) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xa7802c64, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb63ce82b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa71cd0ac) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb63ce8bd in timerSourcePrepare (source=0xa7802c30, timeout=0xa71cd0ac) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb30919b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb30922df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb3092528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb63ce95f in QEventDispatcherGlib::processEvents (this=0xa78028c8, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb639d823 in QEventLoop::processEvents (this=this@entry=0xa71cd218, flags=...) at kernel/qeventloop.cpp:149
#13 0xb639db49 in QEventLoop::exec (this=this@entry=0xa71cd218, flags=...) at kernel/qeventloop.cpp:204
#14 0xb628a23d in QThread::exec (this=this@entry=0x9b2d5e0) at thread/qthread.cpp:537
#15 0xb637dc44 in QInotifyFileSystemWatcherEngine::run (this=0x9b2d5e0) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb628cb6f in QThreadPrivate::start (arg=0x9b2d5e0) at thread/qthread_unix.cpp:349
#17 0xb3177f70 in start_thread (arg=0xa71cdb40) at pthread_create.c:312
#18 0xb607970e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xaf6a4780 (LWP 3210)):
[KCrash Handler]
#7  Akonadi::StandardMailActionManager::action (this=0x0, type=type@entry=Akonadi::StandardMailActionManager::MarkAllMailAsRead) at ../../../akonadi/kmime/standardmailactionmanager.cpp:907
#8  0xaa919857 in KMMainWidget::updateMoveAction (this=this@entry=0x9abe6c0, hasUnreadMails=hasUnreadMails@entry=false, hasMails=hasMails@entry=false) at ../../kmail/kmmainwidget.cpp:1160
#9  0xaa92808c in KMMainWidget::updateMessageActionsDelayed (this=this@entry=0x9abe6c0) at ../../kmail/kmmainwidget.cpp:3966
#10 0xaaa25f01 in KMMainWidget::qt_static_metacall (_o=_o@entry=0x9abe6c0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbf815738) at moc_kmmainwidget.cpp:386
#11 0xb63b40f7 in QMetaObject::activate (sender=sender@entry=0x9c59860, m=m@entry=0xb650b518 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#12 0xb6404435 in QTimer::timeout (this=this@entry=0x9c59860) at .moc/release-shared/moc_qtimer.cpp:147
#13 0xb63bd926 in QTimer::timerEvent (this=0x9c59860, e=0xbf815ab0) at kernel/qtimer.cpp:280
#14 0xb63b855c in QObject::event (this=0x9c59860, e=0xbf815ab0) at kernel/qobject.cpp:1156
#15 0xb68fa7f4 in QApplicationPrivate::notify_helper (this=0x95c1528, receiver=0x9c59860, e=0xbf815ab0) at kernel/qapplication.cpp:4567
#16 0xb69012d3 in QApplication::notify (this=0xbf815f08, receiver=receiver@entry=0x9c59860, e=e@entry=0xbf815ab0) at kernel/qapplication.cpp:4353
#17 0xb744a1f4 in KApplication::notify (this=0xbf815f08, receiver=0x9c59860, event=0xbf815ab0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb639ee4a in QCoreApplication::notifyInternal (this=0xbf815f08, receiver=0x9c59860, event=event@entry=0xbf815ab0) at kernel/qcoreapplication.cpp:953
#19 0xb63d17bb in sendEvent (event=0xbf815ab0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=this@entry=0x95c1bbc) at kernel/qeventdispatcher_unix.cpp:621
#21 0xb63ce788 in timerSourceDispatch (source=0x95c1b88) at kernel/qeventdispatcher_glib.cpp:193
#22 0xb30921e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0xb3092468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb3092528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb63ce93b in QEventDispatcherGlib::processEvents (this=this@entry=0x9559d80, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#26 0xb69af5de in QGuiEventDispatcherGlib::processEvents (this=0x9559d80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0xb639d823 in QEventLoop::processEvents (this=this@entry=0xbf815cd8, flags=...) at kernel/qeventloop.cpp:149
#28 0xb639db49 in QEventLoop::exec (this=0xbf815cd8, flags=...) at kernel/qeventloop.cpp:204
#29 0xb66163e3 in KJob::exec (this=this@entry=0x9c59a58) at ../../kdecore/jobs/kjob.cpp:210
#30 0xaa8f7fc6 in KMKernel::cleanup (this=0x9a2bef8) at ../../kmail/kmkernel.cpp:1291
#31 0xaaaef2c3 in KMailPart::~KMailPart (this=this@entry=0x98d8d70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#32 0xaaaef3ec in KMailPart::~KMailPart (this=0x98d8d70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#33 0xb76d5ff8 in KontactInterface::Plugin::~Plugin (this=0x98bb420, __vtt_parm=0xaab70c0c <VTT for KMailPlugin+4>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#34 0xaab64215 in KMailPlugin::~KMailPlugin (this=this@entry=0x98bb420, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:173
#35 0xaab6425c in KMailPlugin::~KMailPlugin (this=0x98bb420, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:177
#36 0xb769e146 in Kontact::MainWindow::~MainWindow (this=this@entry=0x96d0070, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#37 0xb769e2bc in Kontact::MainWindow::~MainWindow (this=0x96d0070, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#38 0x0804ab86 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#39 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#40 main (argc=1, argv=0xbf815fe4) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 332056.

Reported using DrKonqi
Comment 1 Laurent Montel 2014-05-14 19:31:50 UTC
Git commit 990d6c87eb243d03f7c067d661278cf3aff22fed by Montel Laurent.
Committed on 14/05/2014 at 19:31.
Pushed by mlaurent into branch 'KDE/4.13'.

Fix Bug 334730 - Kontact crash on logout
FIXED-IN: 4.13.2

M  +1    -1    kmail/kmmainwidget.cpp

http://commits.kde.org/kdepim/990d6c87eb243d03f7c067d661278cf3aff22fed
Comment 2 David 2015-01-13 16:47:19 UTC
Created attachment 90390 [details]
New crash information added by DrKonqi

kontact (4.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

when i close kontact dr konqui shows up and the crash handler tells me that qDeleteAll<QList<KMainWindow*> didnt work

-- Backtrace (Reduced):
#7  0x000000000040354f in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  main (argc=<optimized out>, argv=0x7fff63c10158) at ../../../kontact/src/main.cpp:220