Bug 192549

Summary: Random crash, GlobalShortcutsRegistry::keyPressed/ASSERT
Product: [Unmaintained] kdelibs Reporter: peaches <pzcdyhbb0nzq9layi4mcj1hhp>
Component: shortcutsAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: arvidjaar, cfeck, kde, myahooman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description peaches 2009-05-13 10:14:49 UTC
Application that crashed: kglobalaccel
Version of the application: 0.2
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-11-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Dunno just found DrKonqi2 hidden behind another window saying global shortcuts crashed.

KDE trunk r965053, qt-copy r964678


 -- Backtrace:
Application: KDE Global Shortcuts Service (kglobalaccel), signal: Aborted
[KCrash Handler]
#5  0x00007f528cac5fb5 in raise () from /lib/libc.so.6
#6  0x00007f528cac7bc3 in abort () from /lib/libc.so.6
#7  0x00007f528f9178f1 in qt_message_output (msgType=QtFatalMsg, buf=0xdf6b18 "ASSERT: \"shortcut\" in file /opt/kde/trunk/src/KDE/kdebase/runtime/kglobalaccel/globalshortcutsregistry.cpp, line 185")
    at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2017
#8  0x00007f528f917a1b in qFatal (msg=0x7f528fa64b60 "ASSERT: \"%s\" in file %s, line %d") at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2216
#9  0x00007f528f917e4b in qt_assert (assertion=0x7f5290acf0bf "shortcut", file=0x7f5290acef88 "/opt/kde/trunk/src/KDE/kdebase/runtime/kglobalaccel/globalshortcutsregistry.cpp", line=185)
    at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:1786
#10 0x00007f5290aca8c7 in GlobalShortcutsRegistry::keyPressed (this=0xe6b330, keyQt=150994954) at /opt/kde/trunk/src/KDE/kdebase/runtime/kglobalaccel/globalshortcutsregistry.cpp:185
#11 0x00007f5290acd279 in KGlobalAccelImpl::x11KeyPress (this=0xe6b270, pEvent=0x7fff98ef6c50) at /opt/kde/trunk/src/KDE/kdebase/runtime/kglobalaccel/kglobalaccel_x11.cpp:223
#12 0x00007f5290acd776 in KGlobalAccelImpl::x11Event (this=0xe6b270, event=0x7fff98ef6c50) at /opt/kde/trunk/src/KDE/kdebase/runtime/kglobalaccel/kglobalaccel_x11.cpp:159
#13 0x00007f5290659f48 in KAppX11HackWidget::publicx11Event (this=0xe6b270, e=0x7fff98ef6c50) at /opt/kde/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:935
#14 0x00007f5290656cc5 in KApplication::x11EventFilter (this=0x7fff98ef70e0, _event=0x7fff98ef6c50) at /opt/kde/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:985
#15 0x00007f528e98d012 in qt_x11EventFilter (ev=0x7fff98ef6c50) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:375
#16 0x00007f528e98fa25 in QApplication::x11ProcessEvent (this=0x7fff98ef70e0, event=0x7fff98ef6c50) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:3287
#17 0x00007f528e9bc1f0 in x11EventSourceDispatch (s=0xc801a0, callback=0, user_data=0x0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#18 0x00007f528b02f20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007f528b0328e0 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f528b032a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007f528fa3f346 in QEventDispatcherGlib::processEvents (this=0xc6bd20, flags={i = -1729138960}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#22 0x00007f528e9bb9df in QGuiEventDispatcherGlib::processEvents (this=0xc6bd20, flags={i = -1729138864}) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#23 0x00007f528fa0e9d7 in QEventLoop::processEvents (this=0x7fff98ef7020, flags={i = -1729138736}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#24 0x00007f528fa0ebe4 in QEventLoop::exec (this=0x7fff98ef7020, flags={i = -1729138624}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#25 0x00007f528fa11f74 in QCoreApplication::exec () at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#26 0x00007f528e912e4c in QApplication::exec () at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3526
#27 0x00007f5290abed76 in kdemain (argc=1, argv=0x7fff98ef73b8) at /opt/kde/trunk/src/KDE/kdebase/runtime/kglobalaccel/main.cpp:92
#28 0x0000000000400897 in main (argc=1, argv=0x7fff98ef73b8) at /opt/kde/trunk/build/KDE/kdebase/runtime/kglobalaccel/kglobalaccel_dummy.cpp:3
Comment 1 Dario Andres 2009-05-20 19:09:59 UTC
*** Bug 193372 has been marked as a duplicate of this bug. ***
Comment 2 Michael Jansen 2009-05-20 19:42:09 UTC
This should be reproducible when pressing alt+print. Fixed that already in trunk.
Comment 3 Michael Jansen 2009-05-21 16:26:12 UTC
*** Bug 191595 has been marked as a duplicate of this bug. ***
Comment 4 Michael Jansen 2009-05-23 23:39:37 UTC
Can't find the commit.