Bug 309666 - Kontact starts twice after crash
Summary: Kontact starts twice after crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.x
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 17:16 UTC by jannis
Modified: 2017-01-07 22:31 UTC (History)
0 users

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 jannis 2012-11-06 17:16:39 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 i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Before starting kontact I switched from a kdm to a gdm session. I guess, when starting gdm (which is my standard manager) the former instance of kontact within the kdm session was (rudely) killed. 

So within the new gdm session I startet kontact again (once!). Then the starter recognized an already existing instance of kontact. I told it to start another instance (because no kontact window had appeared). Then kontact started. And two kontact windows appeared. I closed both of them in order to restart a "clean" instance afterwards. But before getting that far, the crash report showed up.

-- 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 0xb76dc980 (LWP 9201))]

Thread 3 (Thread 0xb58d3b40 (LWP 9213)):
#0  0x00fb5416 in __kernel_vsyscall ()
#1  0x02c5f96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x02d6e64c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x04039263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x0403937f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x02c5bd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x02d60d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb4fb2b40 (LWP 9214)):
#0  0x00fb5416 in __kernel_vsyscall ()
#1  0x02d525f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x063fba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x063ee0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x063ee201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00b818e7 in QEventDispatcherGlib::processEvents (this=0xb4600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00b4d50d in QEventLoop::processEvents (this=0xb4fb2270, flags=...) at kernel/qeventloop.cpp:149
#7  0x00b4d7a9 in QEventLoop::exec (this=0xb4fb2270, flags=...) at kernel/qeventloop.cpp:204
#8  0x00a3694c in QThread::exec (this=0x8ffeda8) at thread/qthread.cpp:501
#9  0x00a36a3b in QThread::run (this=0x8ffeda8) at thread/qthread.cpp:568
#10 0x00a39de0 in QThreadPrivate::start (arg=0x8ffeda8) at thread/qthread_unix.cpp:298
#11 0x02c5bd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x02d60d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb76dc980 (LWP 9201)):
[KCrash Handler]
#7  KMKernel::dumpDeadLetters (this=0x0) at ../../kmail/kmkernel.cpp:1279
#8  0x06ce09ce in KMKernel::cleanup (this=0x0) at ../../kmail/kmkernel.cpp:1241
#9  0x04d7d804 in KMailPart::~KMailPart (this=0x95841e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:137
#10 0x04d7d932 in KMailPart::~KMailPart (this=0x95841e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:140
#11 0x005b3b18 in KontactInterface::Plugin::~Plugin (this=0x957f770, __vtt_parm=0x6a7eae4, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#12 0x06a700d5 in KMailPlugin::~KMailPlugin (this=0x957f770, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#13 0x06a70122 in KMailPlugin::~KMailPlugin (this=0x957f770, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#14 0x00d7e567 in Kontact::MainWindow::~MainWindow (this=0x8edd0b8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#15 0x00d7e6e2 in Kontact::MainWindow::~MainWindow (this=0x8edd0b8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:291
#16 0x00b62d03 in qDeleteInEventHandler (o=0x8edd0b8) at kernel/qobject.cpp:4277
#17 0x00b69ca8 in QObject::event (this=0x8edd0b8, e=0xa9e4c08) at kernel/qobject.cpp:1176
#18 0x0114ae62 in QWidget::event (this=0x8edd0b8, event=0xa9e4c08) at kernel/qwidget.cpp:8821
#19 0x015862dc in QMainWindow::event (this=0x8edd0b8, event=0xa9e4c08) at widgets/qmainwindow.cpp:1478
#20 0x003d8754 in KMainWindow::event (this=0x8edd0b8, ev=0xa9e4c08) at ../../kdeui/widgets/kmainwindow.cpp:1084
#21 0x00421d82 in KXmlGuiWindow::event (this=0x8edd0b8, ev=0xa9e4c08) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#22 0x010f0ed4 in notify_helper (e=0xa9e4c08, receiver=0x8edd0b8, this=0x8eeba30) at kernel/qapplication.cpp:4559
#23 QApplicationPrivate::notify_helper (this=0x8eeba30, receiver=0x8edd0b8, e=0xa9e4c08) at kernel/qapplication.cpp:4531
#24 0x010f63a2 in QApplication::notify (this=0x8eeba30, receiver=0x8edd0b8, e=0xa9e4c08) at kernel/qapplication.cpp:4524
#25 0x002fce01 in KApplication::notify (this=0xbfab35c4, receiver=0x8edd0b8, event=0xa9e4c08) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00b4e97e in QCoreApplication::notifyInternal (this=0xbfab35c4, receiver=0x8edd0b8, event=0xa9e4c08) at kernel/qcoreapplication.cpp:876
#27 0x00b52ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8ec3ab8) at kernel/qcoreapplication.cpp:1500
#29 0x00b52e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#30 0x00b81494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x8eef5a0) at kernel/qeventdispatcher_glib.cpp:279
#32 0x063edd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x063ee125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x063ee201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x00b81887 in QEventDispatcherGlib::processEvents (this=0x8ec4800, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x011a9aaa in QGuiEventDispatcherGlib::processEvents (this=0x8ec4800, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00b4d50d in QEventLoop::processEvents (this=0xbfab3524, flags=...) at kernel/qeventloop.cpp:149
#38 0x00b4d7a9 in QEventLoop::exec (this=0xbfab3524, flags=...) at kernel/qeventloop.cpp:204
#39 0x00b52eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#40 0x010eea74 in QApplication::exec () at kernel/qapplication.cpp:3820
#41 0x0804ac91 in main (argc=2038584, argv=0x91ba8b0) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:32:57 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 2 Denis Kurz 2017-01-07 22:31:28 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.