https://bugs.kde.org/show_bug.cgi?id=406426
Bug ID: 406426 Summary: kglobalaccel5 crashes often Product: frameworks-kglobalaccel Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: o...@geek.co.il Target Milestone: --- SUMMARY kglobalaccel crashes often, especially when returning from sleep. STEPS TO REPRODUCE 1. Use kglobalaccel from Kubunu unstable CI PPA 2. wait OBSERVED RESULT Kglobalaccel5 crashes with a signal 11, and all global keyboard shortcuts stop working EXPECTED RESULT Global shortcuts should continue to work. SOFTWARE/OS VERSIONS Operating System: Kubuntu 19.04 KDE Plasma Version: 5.15.80 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.2 Kernel Version: 5.0.0-8-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz Memory: 15.5 GiB of RAM ADDITIONAL INFORMATION The following stack trace was produced by Dr.Konqi: Application: KDE Global Shortcuts Service (kglobalaccel5), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fc5b6aa9080 (LWP 28837))] Thread 3 (Thread 0x7fc5aed88700 (LWP 28840)): #0 0x00007fc5ba5cbba9 in __GI___poll (fds=0x7fc5a8004e30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc5b9880cb6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc5a8004e30, timeout=<optimized out>, context=0x7fc5a8000bf0) at ../../../glib/gmain.c:4228 #2 g_main_context_iterate (context=context@entry=0x7fc5a8000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3922 #3 0x00007fc5b9880ddc in g_main_context_iteration (context=0x7fc5a8000bf0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3988 #4 0x00007fc5bab4c063 in QEventDispatcherGlib::processEvents (this=0x7fc5a8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #5 0x00007fc5baaf75bb in QEventLoop::exec (this=this@entry=0x7fc5aed87d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #6 0x00007fc5ba9422c6 in QThread::exec (this=this@entry=0x7fc5ba400d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #7 0x00007fc5ba380565 in QDBusConnectionManager::run (this=0x7fc5ba400d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #8 0x00007fc5ba943612 in QThreadPrivate::start (arg=0x7fc5ba400d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361 #9 0x00007fc5ba49c182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #10 0x00007fc5ba5d7faf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fc5b57fb700 (LWP 28839)): #0 0x00007fc5ba5cbba9 in __GI___poll (fds=fds@entry=0x7fc5b57faca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc5b9160917 in poll (__timeout=-1, __nfds=1, __fds=0x7fc5b57faca8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0x55d675c43b00, cond=cond@entry=0x55d675c43b40, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479 #3 0x00007fc5b916253a in xcb_wait_for_event (c=c@entry=0x55d675c43b00) at ../../src/xcb_in.c:697 #4 0x00007fc5b63df6a8 in QXcbEventQueue::run (this=0x55d675c337a0) at qxcbeventqueue.cpp:228 #5 0x00007fc5ba943612 in QThreadPrivate::start (arg=0x55d675c337a0) at thread/qthread_unix.cpp:361 #6 0x00007fc5ba49c182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #7 0x00007fc5ba5d7faf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fc5b6aa9080 (LWP 28837)): [KCrash Handler] #6 GlobalShortcut::isPresent (this=this@entry=0x33) at ./src/runtime/globalshortcut.cpp:106 #7 0x00007fc5bb42d583 in KdeDGlobalAccel::Component::cleanUp (this=0x55d675cadcb0) at ./src/runtime/component.cpp:166 #8 0x00007fc5bb43628e in KdeDGlobalAccel::Component::qt_static_metacall (_o=_o@entry=0x55d675cadcb0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffcb419cfd0) at ./obj-x86_64-linux-gnu/src/runtime/KF5GlobalAccelPrivate_autogen/EWIEGA46WW/moc_component.cpp:130 #9 0x00007fc5bb4366bb in KdeDGlobalAccel::Component::qt_metacall (this=0x55d675cadcb0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffcb419cfd0) at ./obj-x86_64-linux-gnu/src/runtime/KF5GlobalAccelPrivate_autogen/EWIEGA46WW/moc_component.cpp:205 #10 0x00007fc5ba38bdba in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991 #11 0x00007fc5ba38f985 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fc5a8003e00, object=0x55d675cadcb0, flags=240, msg=...) at qdbusintegrator.cpp:894 #12 0x00007fc5ba39003e in QDBusConnectionPrivate::activateCall (msg=..., flags=<optimized out>, object=<optimized out>, this=0x7fc5a8003e00) at qdbusintegrator.cpp:843 #13 QDBusConnectionPrivate::activateObject (pathStartPos=<optimized out>, msg=..., node=..., this=0x7fc5a8003e00) at qdbusintegrator.cpp:1502 #14 QDBusConnectionPrivate::activateObject (this=0x7fc5a8003e00, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1428 #15 0x00007fc5ba39290e in QDBusActivateObjectEvent::placeMetaCall (this=0x7fc5a8016900) at qdbusintegrator.cpp:1598 #16 0x00007fc5bab22ca2 in QObject::event (this=0x55d675cadcb0, e=<optimized out>) at kernel/qobject.cpp:1260 #17 0x00007fc5baaf88e9 in QCoreApplication::notifyInternal2 (receiver=0x55d675cadcb0, event=0x7fc5a8016900) at ../../include/QtCore/5.12.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322 #18 0x00007fc5baafb927 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d675c30450) at kernel/qcoreapplication.cpp:1799 #19 0x00007fc5bab4ca43 in postEventSourceDispatch (s=0x55d675c90f80) at kernel/qeventdispatcher_glib.cpp:276 #20 0x00007fc5b9880aae in g_main_dispatch (context=0x7fc5b0004fd0) at ../../../glib/gmain.c:3189 #21 g_main_context_dispatch (context=context@entry=0x7fc5b0004fd0) at ../../../glib/gmain.c:3854 #22 0x00007fc5b9880d48 in g_main_context_iterate (context=context@entry=0x7fc5b0004fd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3927 #23 0x00007fc5b9880ddc in g_main_context_iteration (context=0x7fc5b0004fd0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3988 #24 0x00007fc5bab4c047 in QEventDispatcherGlib::processEvents (this=0x55d675c9c570, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #25 0x00007fc5baaf75bb in QEventLoop::exec (this=this@entry=0x7ffcb419d5a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #26 0x00007fc5baaff5e2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #27 0x000055d674e02555 in main (argc=<optimized out>, argv=<optimized out>) at ./src/runtime/main.cpp:88 [Inferior 1 (process 28837) detached] -- You are receiving this mail because: You are watching all bug changes.