Bug 369145

Summary: kactivitymanagerd and kdeconnectd crashed on logout of KDE
Product: [Plasma] kactivitymanagerd Reporter: bluelupo <info>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bluelupo 2016-09-21 08:48:57 UTC
Dear Maintainer,

When finishing a KDE session will be displayed in the journal core dumps
caused by kactivitymanage and kdeconnectd. The problem is reproducible
at any time.

Below is an excerpt of the systemd Journal:

------------BEGIN----------
Sep 21 09:16:50 bluesky systemd-coredump[6794]: Process 4949 (kdeconnectd) of user 1000 dumped core.

Stack trace of thread 4951:
#0  0x00007f6391a177af _ZN7QObject10disconnectEPKS_PKcS1_S3_ (libQt5Core.so.5)
#1  0x00007f6390a4b430 n/a (libQt5DBus.so.5)
#2  0x00007f6390a38632 n/a (libQt5DBus.so.5)
#3  0x00007f639180ed78 n/a (libQt5Core.so.5)
#4  0x00007f638e2d2464 start_thread (libpthread.so.0)
#5  0x00007f639112a97f __clone (libc.so.6)

Stack trace of thread 4949:
#0  0x00007f638e2d818f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1  0x00007f639180fc3b _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
#2  0x00007f639180e91e _ZN7QThread4waitEm (libQt5Core.so.5)
#3  0x00007f6390a38396 n/a (libQt5DBus.so.5)
#4  0x00007f6390a38429 n/a (libQt5DBus.so.5)
#5  0x00007f6391077920 n/a (libc.so.6)
#6  0x00007f639107797a exit (libc.so.6)
#7  0x00007f6380fb9533 _ZN14QXcbConnection16processXcbEventsEv (libQt5XcbQpa.so.5)
#8  0x00007f6391a14729 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
#9  0x00007f6392322bec _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
#10 0x00007f639232808f _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
#11 0x00007f63919e6450 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
#12 0x00007f63919e83cc _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
#13 0x00007f6391a3c0f3 n/a (libQt5Core.so.5)
#14 0x00007f638ddaf7d7 g_main_context_dispatch (libglib-2.0.so.0)
#15 0x00007f638ddafa40 n/a (libglib-2.0.so.0)
#16 0x00007f638ddafaec g_main_context_iteration (libglib-2.0.so.0)
#17 0x00007f6391a3c4ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#18 0x00007f63919e419a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#19 0x00007f63919ec99c _ZN16QCoreApplication4execEv (libQt5Core.so.5)
#20 0x000000000040263f main (kdeconnectd)
#21 0x00007f63910622b1 __libc_start_main (libc.so.6)
#22 0x00000000004026a9 _start (kdeconnectd)

Stack trace of thread 4952:
#0  0x00007f639112150d __poll (libc.so.6)
#1  0x00007f638ddaf9d6 n/a (libglib-2.0.so.0)
#2  0x00007f638ddafaec g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f6391a3c4ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4  0x00007f63919e419a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5  0x00007f6391809e53 _ZN7QThread4execEv (libQt5Core.so.5)
#6  0x00007f639180ed78 n/a (libQt5Core.so.5)
#7  0x00007f638e2d2464 start_thread (libpthread.so.0)
#8  0x00007f639112a97f __clone (libc.so.6)
Sep 21 09:16:51 bluesky systemd-coredump[6796]: Process 4636 (kactivitymanage) of user 1000 dumped core.

Stack trace of thread 4636:
#0  0x00007f9754111471 _ZN12QSqlDatabase5closeEv (libQt5Sql.so.5)
#1  0x00007f9754113ae9 _ZN12QSqlDatabaseD1Ev (libQt5Sql.so.5)
#2  0x00007f97541167dd n/a (libQt5Sql.so.5)
#3  0x00007f976fefa139 _ZN9QHashData11free_helperEPFvPNS_4NodeEE (libQt5Core.so.5)
#4  0x00007f97541111c7 n/a (libQt5Sql.so.5)
#5  0x00007f976f702920 n/a (libc.so.6)
#6  0x00007f976f70297a exit (libc.so.6)
#7  0x00007f976521a533 _ZN14QXcbConnection16processXcbEventsEv (libQt5XcbQpa.so.5)
#8  0x00007f977009f729 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
#9  0x00007f9770912bec _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
#10 0x00007f977091808f _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
#11 0x00007f9770071450 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
#12 0x00007f97700733cc _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
#13 0x00007f97700c70f3 n/a (libQt5Core.so.5)
#14 0x00007f976e29f7d7 g_main_context_dispatch (libglib-2.0.so.0)
#15 0x00007f976e29fa40 n/a (libglib-2.0.so.0)
#16 0x00007f976e29faec g_main_context_iteration (libglib-2.0.so.0)
#17 0x00007f97700c74ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#18 0x00007f977006f19a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#19 0x00007f977007799c _ZN16QCoreApplication4execEv (libQt5Core.so.5)
#20 0x0000000000410bfa main (kactivitymanagerd)
#21 0x00007f976f6ed2b1 __libc_start_main (libc.so.6)
#22 0x0000000000410e69 _start (kactivitymanagerd)

Stack trace of thread 4648:
#0  0x00007f976f7ac50d __poll (libc.so.6)
#1  0x00007f976e29f9d6 n/a (libglib-2.0.so.0)
#2  0x00007f976e29faec g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f97700c74ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4  0x00007f977006f19a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5  0x00007f976fe94e53 _ZN7QThread4execEv (libQt5Core.so.5)
#6  0x00007f9771881525 n/a (/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.6.1)
#7  0x00007f976fe99d78 n/a (libQt5Core.so.5)
#8  0x00007f976e7c2464 start_thread (libpthread.so.0)
#9  0x00007f976f7b597f __clone (libc.so.6)

Stack trace of thread 4649:
#0  0x00007f976f7ac50d __poll (libc.so.6)
#1  0x00007f976e29f9d6 n/a (libglib-2.0.so.0)
#2  0x00007f976e29faec g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f97700c74ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4  0x00007f977006f19a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5  0x00007f976fe94e53 _ZN7QThread4execEv (libQt5Core.so.5)
#6  0x0000000000412dba _ZZ12runInQThreadI9ResourcesEPT_vEN6Thread3runEv (kactivitymanagerd)
#7  0x00007f976fe99d78 n/a (libQt5Core.so.5)
#8  0x00007f976e7c2464 start_thread (libpthread.so.0)
#9  0x00007f976f7b597f __clone (libc.so.6)

Stack trace of thread 4650:
#0  0x00007f976f7ac50d __poll (libc.so.6)
#1  0x00007f976e29f9d6 n/a (libglib-2.0.so.0)
#2  0x00007f976e29faec g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f97700c74ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4  0x00007f977006f19a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5  0x00007f976fe94e53 _ZN7QThread4execEv (libQt5Core.so.5)
#6  0x0000000000412dea _ZZ12runInQThreadI10ActivitiesEPT_vEN6Thread3runEv (kactivitymanagerd)
#7  0x00007f976fe99d78 n/a (libQt5Core.so.5)
#8  0x00007f976e7c2464 start_thread (libpthread.so.0)
#9  0x00007f976f7b597f __clone (libc.so.6)

Stack trace of thread 4651:
#0  0x00007f976f7ac50d __poll (libc.so.6)
#1  0x00007f976e29f9d6 n/a (libglib-2.0.so.0)
#2  0x00007f976e29faec g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f97700c74ff _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4  0x00007f977006f19a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5  0x00007f976fe94e53 _ZN7QThread4execEv (libQt5Core.so.5)
#6  0x0000000000412e1a _ZZ12runInQThreadI8FeaturesEPT_vEN6Thread3runEv (kactivitymanagerd)
#7  0x00007f976fe99d78 n/a (libQt5Core.so.5)
#8  0x00007f976e7c2464 start_thread (libpthread.so.0)
#9  0x00007f976f7b597f __clone (libc.so.6)
-------------END------------

regards 
Michael Singer

Reproducible: Always

Steps to Reproduce:
reproduced at any time



System:    Host: bluesky Kernel: 4.7.4-towo.1-siduction-amd64 x86_64 (64 bit gcc: 6.2.0) Console: tty 0
           Distro: siduction 16.1.0 Thunderstruck - nox - (201609111748)
Machine:   System: LENOVO (portable) product: 2347A31 v: ThinkPad T430 serial: XXXXXX
           Mobo: LENOVO model: 2347A31 serial: YYYYYYYYYY
           UEFI [Legacy]: LENOVO v: G1ETA9WW (2.69 ) date: 09/03/2015
CPU:       Dual core Intel Core i5-3320M (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10381
           clock speeds: max: 3300 MHz 1: 1294 MHz 2: 1201 MHz 3: 1299 MHz 4: 1298 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Display Server: X.org 1.18.4 drivers: (unloaded: fbdev,vesa)
Comment 1 bluelupo 2016-09-21 13:18:12 UTC
If you have information of my system need I can provide it to you.
Comment 2 Ivan Čukić 2016-09-23 16:41:59 UTC
There is an (upstream) bug in Qt (QtSQL module) which crashes applications on exit. I haven't been able to work around the crash yet.

*** This bug has been marked as a duplicate of bug 348194 ***