Bug 358190

Summary: Crash of KDED in xcbatom
Product: [Frameworks and Libraries] frameworks-kded Reporter: Andreas Cord-Landwehr <cordlandwehr>
Component: generalAssignee: Alex Fiestas <afiestas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Cord-Landwehr 2016-01-18 22:11:02 UTC
Every some minutes, I receive the following crash. KF5 and workspace are all compiled from sources. My hardware-setup is a thinkpad laptop at a docking station.

Application: kded5 (kded5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb7cd4448c0 (LWP 2332))]

Thread 10 (Thread 0x7fb7b48eb700 (LWP 2334)):
#0  0x00007fb7ccf01596 in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:134
#1  0x00007fb7cb31de06 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fb7cb4a2d79 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fb7cb4a32e5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb7cb4a46de in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb7ca71775d in g_main_context_prepare (context=context@entry=0x7fb7b0000990, priority=priority@entry=0x7fb7b48eabd0) at /build/glib2.0-2.46.2/./glib/gmain.c:3442
#6  0x00007fb7ca7180fb in g_main_context_iterate (context=context@entry=0x7fb7b0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3820
#7  0x00007fb7ca7182dc in g_main_context_iteration (context=0x7fb7b0000990, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#8  0x00007fb7cb4a52fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb7cb44c2fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb7cb2688d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fb7cac37284 in start_thread (arg=0x7fb7b48eb700) at pthread_create.c:333
#13 0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fb7aa2a9700 (LWP 2335)):
#0  0x00007fb7cac3cc88 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb7cb26ea56 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fb7cb26a503 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb7cac37284 in start_thread (arg=0x7fb7aa2a9700) at pthread_create.c:333
#5  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fb7a9aa8700 (LWP 2336)):
#0  0x00007fb7cac3cc88 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb7cb26ea56 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fb7cb26a503 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb7cac37284 in start_thread (arg=0x7fb7a9aa8700) at pthread_create.c:333
#5  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fb7a92a7700 (LWP 2337)):
#0  0x00007fb7cac3cc88 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb7cb26ea56 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fb7cb26a503 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb7cac37284 in start_thread (arg=0x7fb7a92a7700) at pthread_create.c:333
#5  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fb7a8aa6700 (LWP 2338)):
#0  0x00007fb7cac3cc88 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb7cb26ea56 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fb7cb26a503 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb7cac37284 in start_thread (arg=0x7fb7a8aa6700) at pthread_create.c:333
#5  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fb799cd2700 (LWP 2339)):
#0  0x00007fb7cceeb86d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb7ca7181cc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb7900008c0, timeout=<optimized out>, context=0xbdd820) at /build/glib2.0-2.46.2/./glib/gmain.c:4135
#2  0x00007fb7ca7181cc in g_main_context_iterate (context=context@entry=0xbdd820, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3835
#3  0x00007fb7ca7182dc in g_main_context_iteration (context=0xbdd820, may_block=may_block@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#4  0x00007fb7ca718319 in glib_worker_main (data=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:5672
#5  0x00007fb7ca73e9c5 in g_thread_proxy (data=0xc84850) at /build/glib2.0-2.46.2/./glib/gthread.c:778
#6  0x00007fb7cac37284 in start_thread (arg=0x7fb799cd2700) at pthread_create.c:333
#7  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fb7994d1700 (LWP 2340)):
#0  0x00007fb7cceeb86d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb7ca7181cc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb7880010c0, timeout=<optimized out>, context=0xc22d20) at /build/glib2.0-2.46.2/./glib/gmain.c:4135
#2  0x00007fb7ca7181cc in g_main_context_iterate (context=0xc22d20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3835
#3  0x00007fb7ca718552 in g_main_loop_run (loop=0xb93d70) at /build/glib2.0-2.46.2/./glib/gmain.c:4034
#4  0x00007fb79a648396 in gdbus_shared_thread_func (user_data=0xbec7e0) at /build/glib2.0-2.46.2/./gio/gdbusprivate.c:246
#5  0x00007fb7ca73e9c5 in g_thread_proxy (data=0xc848a0) at /build/glib2.0-2.46.2/./glib/gthread.c:778
#6  0x00007fb7cac37284 in start_thread (arg=0x7fb7994d1700) at pthread_create.c:333
#7  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb77eea1700 (LWP 2343)):
#0  0x00007fb7cceeb86d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb7ca7181cc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb778004cc0, timeout=<optimized out>, context=0x7fb778000990) at /build/glib2.0-2.46.2/./glib/gmain.c:4135
#2  0x00007fb7ca7181cc in g_main_context_iterate (context=context@entry=0x7fb778000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3835
#3  0x00007fb7ca7182dc in g_main_context_iteration (context=0x7fb778000990, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#4  0x00007fb7cb4a52fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb7cb44c2fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb7cb2688d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb7834ee3eb in KCupsConnection::run() (this=0xca7760) at /opt/kde/src/kde/kdeutils/print-manager/libkcups/KCupsConnection.cpp:304
#8  0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb7cac37284 in start_thread (arg=0x7fb77eea1700) at pthread_create.c:333
#10 0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb77e6a0700 (LWP 2344)):
#0  0x00007fb7ca717bf9 in g_main_context_check (context=context@entry=0x7fb770000990, max_priority=2147483647, fds=fds@entry=0x7fb770003220, n_fds=n_fds@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3681
#1  0x00007fb7ca718170 in g_main_context_iterate (context=context@entry=0x7fb770000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3837
#2  0x00007fb7ca7182dc in g_main_context_iteration (context=0x7fb770000990, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#3  0x00007fb7cb4a52fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb7cb44c2fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb7cb2688d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb7cb26d87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb7cac37284 in start_thread (arg=0x7fb77e6a0700) at pthread_create.c:333
#8  0x00007fb7ccef474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb7cd4448c0 (LWP 2332)):
[KCrash Handler]
#4  0x00007fb7c776cdec in xcb_wait_for_reply (c=0x0, request=1668640596, e=0x0) at ../../src/xcb_in.c:542
#5  0x00007fb784438e02 in XcbAtom::atom() (this=0xcc8e08) at /opt/kde/src/kde/workspace/plasma-desktop/kcms/touchpad/src/backends/x11/xcbatom.cpp:49
#6  0x00007fb784436bdb in XlibTouchpad::setTouchpadOff(int) (this=0xcc8db0, touchpadOff=2) at /opt/kde/src/kde/workspace/plasma-desktop/kcms/touchpad/src/backends/x11/xlibtouchpad.cpp:266
#7  0x00007fb784430dd7 in XlibBackend::setTouchpadOff(TouchpadBackend::TouchpadOffState) (this=0xcbcc30, state=TouchpadBackend::TouchpadTapAndScrollDisabled) at /opt/kde/src/kde/workspace/plasma-desktop/kcms/touchpad/src/backends/x11/xlibbackend.cpp:189
#8  0x00007fb78442df7d in TouchpadDisabler::keyboardActivityStarted() (this=0xcbc9a0) at /opt/kde/src/kde/workspace/plasma-desktop/kcms/touchpad/src/kded/kded.cpp:163
#9  0x00007fb78443b5ee in TouchpadDisabler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xcbc9a0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffe22653e20) at /opt/kde/build/kde/workspace/plasma-desktop/kcms/touchpad/src/moc_kded.cpp:154
#10 0x00007fb7cb47d6ca in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fb78443c03d in TouchpadBackend::keyboardActivityStarted() (this=0xcbcc30) at /opt/kde/build/kde/workspace/plasma-desktop/kcms/touchpad/src/moc_touchpadbackend.cpp:185
#12 0x00007fb78443bd29 in TouchpadBackend::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xcbcc30, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffe22653f90) at /opt/kde/build/kde/workspace/plasma-desktop/kcms/touchpad/src/moc_touchpadbackend.cpp:87
#13 0x00007fb7cb47d6ca in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb78443a811 in XRecordKeyboardMonitor::keyboardActivityStarted() (this=0xcc94d0) at /opt/kde/build/kde/workspace/plasma-desktop/kcms/touchpad/src/moc_xrecordkeyboardmonitor.cpp:143
#15 0x00007fb78443a10c in XRecordKeyboardMonitor::process(xcb_record_enable_context_reply_t*) (this=0xcc94d0, reply=0xdf00e0) at /opt/kde/src/kde/workspace/plasma-desktop/kcms/touchpad/src/backends/x11/xrecordkeyboardmonitor.cpp:146
#16 0x00007fb784439f13 in XRecordKeyboardMonitor::processNextReply() (this=0xcc94d0) at /opt/kde/src/kde/workspace/plasma-desktop/kcms/touchpad/src/backends/x11/xrecordkeyboardmonitor.cpp:104
#17 0x00007fb78443a634 in XRecordKeyboardMonitor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xcc94d0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffe226541f0) at /opt/kde/build/kde/workspace/plasma-desktop/kcms/touchpad/src/moc_xrecordkeyboardmonitor.cpp:82
#18 0x00007fb7cb47d6ca in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb7cb4fcfde in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb7cb489b7b in QSocketNotifier::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fb7cc8d8ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fb7cc8de4c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fb7cb44eb6b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fb7cb4a57ad in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb7ca717fd7 in g_main_context_dispatch (context=0x7fb7b80016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3154
#26 0x00007fb7ca717fd7 in g_main_context_dispatch (context=context@entry=0x7fb7b80016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3769
#27 0x00007fb7ca718230 in g_main_context_iterate (context=context@entry=0x7fb7b80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3840
#28 0x00007fb7ca7182dc in g_main_context_iteration (context=0x7fb7b80016f0, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#29 0x00007fb7cb4a52fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fb7cb44c2fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fb7cb4543dc in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fb7cd1bbfcb in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kded5.so
#33 0x00007fb7cce2c870 in __libc_start_main (main=0x400700 <main>, argc=1, argv=0x7ffe226548b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe226548a8) at libc-start.c:291
#34 0x000000000040072e in _start ()
Comment 1 Aleix Pol 2016-01-19 09:23:33 UTC

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