Bug 308681 - Kontact crashes at exit.
Summary: Kontact crashes at exit.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 22:09 UTC by Daigoro Toyama
Modified: 2017-01-07 21:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.68 KB, text/plain)
2012-12-20 14:54 UTC, Torsten Eichstädt
Details
New crash information added by DrKonqi (5.76 KB, text/plain)
2013-06-02 15:23 UTC, Chris Kerr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daigoro Toyama 2012-10-19 22:09:41 UTC
Application: kontact (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: I quit Kontact by choosing File -> Quit. That caused the crash.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f47487cc700 (LWP 15847)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4761b1fdec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4761b1ff19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f475cfe3e9a in start_thread (arg=0x7f47487cc700) at pthread_create.c:308
#4  0x00007f4762852dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4747fc3700 (LWP 15848)):
#0  0x00007f4762847403 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f475cb17036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f475cb17164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4762fc8426 in QEventDispatcherGlib::processEvents (this=0x7f47400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4762f97c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4762f97ed7 in QEventLoop::exec (this=0x7f4747fc2dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4762e96fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4762e99fcb in QThreadPrivate::start (arg=0x1524c50) at thread/qthread_unix.cpp:298
#8  0x00007f475cfe3e9a in start_thread (arg=0x7f4747fc3700) at pthread_create.c:308
#9  0x00007f4762852dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f46f97d3700 (LWP 15861)):
#0  0x00007f4762847403 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f475cb17036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f475cb17164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4762fc8426 in QEventDispatcherGlib::processEvents (this=0x7f46ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4762f97c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4762f97ed7 in QEventLoop::exec (this=0x7f46f97d2d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4762e96fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4762f779ff in QInotifyFileSystemWatcherEngine::run (this=0x1e379b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4762e99fcb in QThreadPrivate::start (arg=0x1e379b0) at thread/qthread_unix.cpp:298
#9  0x00007f475cfe3e9a in start_thread (arg=0x7f46f97d3700) at pthread_create.c:308
#10 0x00007f4762852dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f47653287c0 (LWP 15846)):
[KCrash Handler]
#6  KJob::kill (this=0x8065910, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:111
#7  0x00007f475f40f5a7 in Akonadi::Session::clear (this=0x19c5840) at ../../akonadi/session.cpp:425
#8  0x00007f475f40f94b in Akonadi::Session::~Session (this=0x19c5840, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:394
#9  0x00007f475f40f999 in Akonadi::Session::~Session (this=0x19c5840, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:396
#10 0x00007f4762fab935 in QObjectPrivate::deleteChildren (this=0x1976ca0) at kernel/qobject.cpp:1908
#11 0x00007f4762fb1b9c in QObject::~QObject (this=0x1a271b0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#12 0x00007f46ff8a292d in KMKernel::~KMKernel (this=0x1a271b0, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:226
#13 0x00007f46ff8a2a99 in KMKernel::~KMKernel (this=0x1a271b0, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:236
#14 0x00007f46ffbdd6d5 in KMailPart::~KMailPart (this=0x195d020, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#15 0x00007f46ffbdd7c9 in KMailPart::~KMailPart (this=0x195d020, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:140
#16 0x00007f4764b1060e in KontactInterface::Plugin::~Plugin (this=0x18ef4f0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#17 0x00007f4744c1bb6f in KMailPlugin::~KMailPlugin (this=0x18ef4f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#18 0x00007f4744c1bb99 in KMailPlugin::~KMailPlugin (this=0x18ef4f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#19 0x00007f4764f482e7 in Kontact::MainWindow::~MainWindow (this=0x1648820, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#20 0x00007f4764f48449 in Kontact::MainWindow::~MainWindow (this=0x1648820, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:291
#21 0x00007f4762fb2478 in QObject::event (this=0x1648820, e=<optimized out>) at kernel/qobject.cpp:1176
#22 0x00007f47639e2b7b in QWidget::event (this=0x1648820, event=0x79efa90) at kernel/qwidget.cpp:8821
#23 0x00007f4763dbcc4b in QMainWindow::event (this=0x1648820, event=0x79efa90) at widgets/qmainwindow.cpp:1478
#24 0x00007f47647c8378 in KXmlGuiWindow::event (this=0x1648820, ev=0x79efa90) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#25 0x00007f4763992894 in notify_helper (e=0x79efa90, receiver=0x1648820, this=0x151def0) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x151def0, receiver=0x1648820, e=0x79efa90) at kernel/qapplication.cpp:4531
#27 0x00007f4763997713 in QApplication::notify (this=0x7fff404c16b0, receiver=0x1648820, e=0x79efa90) at kernel/qapplication.cpp:4420
#28 0x00007f47646cc3f6 in KApplication::notify (this=0x7fff404c16b0, receiver=0x1648820, event=0x79efa90) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f4762f98e9c in QCoreApplication::notifyInternal (this=0x7fff404c16b0, receiver=0x1648820, event=0x79efa90) at kernel/qcoreapplication.cpp:876
#30 0x00007f4762f9cc6a in sendEvent (event=0x79efa90, receiver=0x1648820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14e5380) at kernel/qcoreapplication.cpp:1500
#32 0x00007f4762fc7f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f475cb16d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f475cb170a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f475cb17164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4762fc83bf in QEventDispatcherGlib::processEvents (this=0x14e6c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f4763a3ad5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f4762f97c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f4762f97ed7 in QEventLoop::exec (this=0x7fff404c1640, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f4762f9cf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x0000000000403629 in main (argc=1, argv=0x7fff404c1cd8) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 307993, bug 307140, bug 305946, bug 304826, bug 304709.

Reported using DrKonqi
Comment 1 Torsten Eichstädt 2012-12-20 14:54:24 UTC
Created attachment 75939 [details]
New crash information added by DrKonqi

kontact (4.9.4) on KDE Platform 4.9.4 using Qt 4.8.2

- What I was doing when the application crashed:

Closed Kontact from the menu File->Exit/Quit.
Then a mesage box came up w/ a short message saying s/th like "Error when fetching mail".  It disappeared very quickly.

-- Backtrace (Reduced):
#7  0x00007fddaf79f50a in KJob::kill (this=0x43ee6a0, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:111
#8  0x00007fddab77f0c7 in Akonadi::Session::clear (this=0x4271a70) at ../../akonadi/session.cpp:425
#9  0x00007fddab77f46b in Akonadi::Session::~Session (this=0x4271a70, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:394
#10 0x00007fddab77f4b9 in Akonadi::Session::~Session (this=0x4271a70, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:396
#11 0x00007fddaf326e15 in QObjectPrivate::deleteChildren (this=0x42687b0) at kernel/qobject.cpp:1908
Comment 2 Chris Kerr 2013-06-02 15:23:42 UTC
Created attachment 80260 [details]
New crash information added by DrKonqi

kontact (4.10.3) on KDE Platform 4.10.3 using Qt 4.8.4

- What I was doing when the application crashed:

Kontact was running slowly so I thought I'd quit and restart to see if that helped. I got a crash message.

-- Backtrace (Reduced):
#6  0x00007fd06eef37dc in KJob::kill(KJob::KillVerbosity) () from /usr/lib64/libkdecore.so.5
#7  0x00007fd06a3f491c in Akonadi::Session::clear() () from /usr/lib64/libakonadi-kde.so.4
#8  0x00007fd06a3f4a7c in Akonadi::Session::~Session() () from /usr/lib64/libakonadi-kde.so.4
#9  0x00007fd06a3f4ac9 in Akonadi::Session::~Session() () from /usr/lib64/libakonadi-kde.so.4
#10 0x00007fd06ea6dd04 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
Comment 3 Denis Kurz 2016-09-24 19:31:38 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 21:50:10 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.