Bug 359331

Summary: Multiple Kontact and KMail Instances upon start
Product: [Applications] kmail2 Reporter: Michi <woskimi>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kdenis
Priority: NOR Keywords: drkonqi
Version: 5.1.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michi 2016-02-12 20:19:10 UTC
Application: kmail (5.1.49 pre)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-1.g1d8e94b-default x86_64
Distribution: "openSUSE Tumbleweed (20160126) (x86_64)"

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

For a couple of days now, whenever I open Kontact for thefirst time after session start I get 2 instances (windows) of Kontact and and additional KMail window, which then crashes.

I think it started after I tried to send a document directly from inside LibreOffice, but I'm not sure.

I've installed a snapshot from today from OBS.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8e9ff82940 (LWP 2744))]

Thread 16 (Thread 0x7f8e7b1f1700 (LWP 2749)):
#0  0x00007f8e9cfc924d in poll () at /lib64/libc.so.6
#1  0x00007f8e90023432 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f8e90025007 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f8e7cf19e29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f8e70fd3700 (LWP 2778)):
#0  0x00007f8e9cfc924d in poll () at /lib64/libc.so.6
#1  0x00007f8e92bce494 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e9daf73bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8e9d8ccb9c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f8e6a5de700 (LWP 3260)):
#0  0x00007f8e9cfc522d in read () at /lib64/libc.so.6
#1  0x00007f8e92c106b0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e92bcdfc4 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e92bce438 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f8e9daf73bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8e9d8ccb9c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f8e6addf700 (LWP 3262)):
#0  0x00007f8e9cfc924d in poll () at /lib64/libc.so.6
#1  0x00007f8e92bce494 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e9daf73bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8e9d8ccb9c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f8e6bfff700 (LWP 3264)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8de8a3bb in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8de8a3f9 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f8e6b7fe700 (LWP 3265)):
#0  0x00007f8e9daf549b in QTimerInfoList::timerWait(timespec&) () at /usr/lib64/libQt5Core.so.5
#1  0x00007f8e9daf681e in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8e92bcdabd in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e92bce3c3 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f8e9daf73bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8e9d8ccb9c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f8e5ad4f700 (LWP 3267)):
#0  0x00007f8e9cfc924d in poll () at /lib64/libc.so.6
#1  0x00007f8e92bce494 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e9daf73bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8e9d8ccb9c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f8e5a54e700 (LWP 3269)):
#0  0x00007f8e92bcdef8 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f8e92bce438 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e9daf73bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8e9d8ccb9c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8e9d8d19df in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f8e58b7f700 (LWP 3271)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db98764 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f8e13ffd700 (LWP 3272)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db99793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f8e137fc700 (LWP 3273)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db99793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f8e12ffb700 (LWP 3274)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db99793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8e127fa700 (LWP 3275)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db99793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8e11ff9700 (LWP 3276)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db99793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8e117f8700 (LWP 3277)):
#0  0x00007f8e930f607f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8db99793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8e8deb9441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8e930f04a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9cfd1bdd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8e9ff82940 (LWP 2744)):
[KCrash Handler]
#6  0x00007f8e9f7eb810 in  () at /usr/lib64/libkmailprivate.so.5
#7  0x00007f8e9f81adce in KMMainWidget::updateMessageActionsDelayed() () at /usr/lib64/libkmailprivate.so.5
#8  0x00007f8e9f81b643 in KMMainWidget::updateMessageActions(bool) () at /usr/lib64/libkmailprivate.so.5
#9  0x00007f8e9f82c234 in KMMainWidget::setupActions() () at /usr/lib64/libkmailprivate.so.5
#10 0x00007f8e9f8307a7 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig>) () at /usr/lib64/libkmailprivate.so.5
#11 0x00007f8e9f7de252 in KMMainWin::KMMainWin(QWidget*) () at /usr/lib64/libkmailprivate.so.5
#12 0x00007f8e9f7eeda7 in KMKernel::openReader(bool) () at /usr/lib64/libkmailprivate.so.5
#13 0x00007f8e9f7f98fc in KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, QUrl const&, QList<QUrl> const&, QStringList const&, QString const&, QString const&) () at /usr/lib64/libkmailprivate.so.5
#14 0x00007f8e9f7fae46 in KMKernel::handleCommandLine(bool, QStringList const&, QString const&) () at /usr/lib64/libkmailprivate.so.5
#15 0x0000000000404723 in  ()
#16 0x00007f8e9fbe7abe in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () at /usr/lib64/libKF5KontactInterface.so.5
#17 0x00007f8e9fbe8bb2 in  () at /usr/lib64/libKF5KontactInterface.so.5
#18 0x00007f8e9fbe8f03 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libKF5KontactInterface.so.5
#19 0x00007f8e9bfa6433 in  () at /usr/lib64/libQt5DBus.so.5
#20 0x00007f8e9bfa9fd0 in  () at /usr/lib64/libQt5DBus.so.5
#21 0x00007f8e9bfaa92b in  () at /usr/lib64/libQt5DBus.so.5
#22 0x00007f8e9bfabbbe in  () at /usr/lib64/libQt5DBus.so.5
#23 0x00007f8e9dad1be9 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f8e9dfe4154 in QGuiApplication::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#25 0x00007f8e9ec67f58 in QApplication::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f8e9ec6494c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f8e9ec69a66 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f8e9daa3b33 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f8e9daa5e66 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f8e9daf6f93 in  () at /usr/lib64/libQt5Core.so.5
#31 0x00007f8e92bce2c7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f8e92bce4f8 in  () at /usr/lib64/libglib-2.0.so.0
#33 0x00007f8e92bce59c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#34 0x00007f8e9daf739f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#35 0x00007f8e9daa146a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007f8e9e8b4bce in KJob::exec() () at /usr/lib64/libKF5CoreAddons.so.5
#37 0x00007f8e9f7f0192 in KMKernel::cleanup() () at /usr/lib64/libkmailprivate.so.5
#38 0x0000000000403d28 in  ()
#39 0x00007f8e9cf08610 in __libc_start_main () at /lib64/libc.so.6
#40 0x0000000000404409 in _start ()

Reported using DrKonqi
Comment 1 Michi 2020-04-05 04:32:30 UTC
long gone