Bug 406878

Summary: kglobalaccel5 crash at login
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: CF <ceres75>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 5.57.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description CF 2019-04-25 07:25:16 UTC
SUMMARY
Every time I login to my desktop, kglobalaccel5 crash just after launching

STEPS TO REPRODUCE
1. Just login after booting. If finish my session and the login again same crash happens
2. 
3. 

OBSERVED RESULT
Any global keyboard shortcut work but the win key for application launcher

EXPECTED RESULT
All global keyboard shortcut must work

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE Neon
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Backtrace 

Application: Servizio delle scorciatoie globali di KDE (kglobalaccel5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe7dd5fc800 (LWP 3973))]

Thread 3 (Thread 0x7fe7c4d3b700 (LWP 3983)):
#0  0x00007fe7db5bebf9 in __GI___poll (fds=0x7fe7c0004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe7d810d539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe7d810d64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe7dbf0115b in QEventDispatcherGlib::processEvents (this=0x7fe7c0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe7dbea264a in QEventLoop::exec (this=this@entry=0x7fe7c4d3ad70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fe7dbcca41a in QThread::exec (this=this@entry=0x7fe7dae22d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#6  0x00007fe7dabab015 in QDBusConnectionManager::run (this=0x7fe7dae22d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007fe7dbccbbc2 in QThreadPrivate::start (arg=0x7fe7dae22d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#8  0x00007fe7da1f16db in start_thread (arg=0x7fe7c4d3b700) at pthread_create.c:463
#9  0x00007fe7db5cb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe7d184a700 (LWP 3977)):
#0  0x00007fe7db5bebf9 in __GI___poll (fds=0x7fe7d1849cb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe7d73fa747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe7d73fc36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe7d2dc532a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe7dbccbbc2 in QThreadPrivate::start (arg=0x5580ad87a4d0) at thread/qthread_unix.cpp:361
#5  0x00007fe7da1f16db in start_thread (arg=0x7fe7d184a700) at pthread_create.c:463
#6  0x00007fe7db5cb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe7dd5fc800 (LWP 3973)):
[KCrash Handler]
#6  GlobalShortcut::isPresent (this=this@entry=0x0) at ./src/runtime/globalshortcut.cpp:106
#7  0x00007fe7dd202af0 in KdeDGlobalAccel::Component::cleanUp (this=0x5580ad903ac0) at ./src/runtime/component.cpp:166
#8  0x00007fe7dd20b99b in KdeDGlobalAccel::Component::qt_static_metacall (_o=_o@entry=0x5580ad903ac0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffc3694f8d0) at ./obj-x86_64-linux-gnu/src/runtime/KF5GlobalAccelPrivate_autogen/EWIEGA46WW/moc_component.cpp:130
#9  0x00007fe7dd20bd85 in KdeDGlobalAccel::Component::qt_metacall (this=0x5580ad903ac0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffc3694f8d0) at ./obj-x86_64-linux-gnu/src/runtime/KF5GlobalAccelPrivate_autogen/EWIEGA46WW/moc_component.cpp:205
#10 0x00007fe7dabb6128 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7fe7c0003f10, object=object@entry=0x5580ad903ac0, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#11 0x00007fe7dabbaf80 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fe7c0003f10, object=0x5580ad903ac0, flags=240, msg=...) at qdbusintegrator.cpp:894
#12 0x00007fe7dabbb467 in QDBusConnectionPrivate::activateCall (msg=..., flags=<optimized out>, object=<optimized out>, this=0x7fe7c0003f10) at qdbusintegrator.cpp:843
#13 QDBusConnectionPrivate::activateObject (this=0x7fe7c0003f10, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1501
#14 0x00007fe7dabbdf1e in QDBusActivateObjectEvent::placeMetaCall (this=0x7fe7c0012980) at qdbusintegrator.cpp:1597
#15 0x00007fe7dbed4992 in QObject::event (this=0x5580ad903ac0, e=<optimized out>) at kernel/qobject.cpp:1249
#16 0x00007fe7dbea4328 in QCoreApplication::notifyInternal2 (receiver=0x5580ad903ac0, event=0x7fe7c0012980) at kernel/qcoreapplication.cpp:1061
#17 0x00007fe7dbea44fe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7fe7c0012980) at kernel/qcoreapplication.cpp:1451
#18 0x00007fe7dbea6e87 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5580ad878440) at kernel/qcoreapplication.cpp:1800
#19 0x00007fe7dbea7428 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1654
#20 0x00007fe7dbf01b23 in postEventSourceDispatch (s=0x5580ad8e1890) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007fe7d810d387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fe7d810d5c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe7d810d64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe7dbf0113f in QEventDispatcherGlib::processEvents (this=0x5580ad8851c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#25 0x00007fe7dbea264a in QEventLoop::exec (this=this@entry=0x7ffc3694fe90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#26 0x00007fe7dbeab800 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1364
#27 0x00005580ad3087f7 in main (argc=<optimized out>, argv=<optimized out>) at ./src/runtime/main.cpp:88
Comment 1 Christoph Feck 2019-04-25 08:10:45 UTC

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