Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDE applications crash when configuring custom keyboard shortcuts #781

Open
purkka opened this issue Nov 3, 2024 · 3 comments
Open

KDE applications crash when configuring custom keyboard shortcuts #781

purkka opened this issue Nov 3, 2024 · 3 comments
Labels
bug Something isn't working question Further information is requested

Comments

@purkka
Copy link

purkka commented Nov 3, 2024

When configuring keyboard shortcuts in KDE applications, such as Kate, the application crashes immediately. From the core dump it seems that this is related to Wayland based on the crash occurring in wl_proxy_get_version. Not sure if this is a KDE or niri error, but decided to report first since setting shortcuts works on KDE Wayland. Here is a coredump of Kate:
kate-coredump.zip

System Information

  • niri version: niri 0.1.9 (unknown commit)
  • Distro: CachyOS
  • GPU: AMD Radeon 780M [Integrated]
  • CPU: AMD Ryzen 7 7840U w/ Radeon 780M Graphics (16) @ 3.30 GHz
@purkka purkka added the bug Something isn't working label Nov 3, 2024
@YaLTeR
Copy link
Owner

YaLTeR commented Nov 3, 2024

Could you post the error as text?

@purkka
Copy link
Author

purkka commented Nov 3, 2024

The application crashes on a SIGSEGV so there is no specific output, but here's the stack backtrace in text

Stack trace of thread 37275:
#0  0x00007535817c0cc4 wl_proxy_get_version (libwayland-client.so.0 + 0x4cc4)
#1  0x0000753583351c53 n/a (libKF6GuiAddons.so.6 + 0x2fc53)
#2  0x000075358334c196 _ZN20KKeySequenceRecorder14startRecordingEv (libKF6GuiAddons.so.6 + 0x2a196)
#3  0x0000753585dbf019 n/a (libQt6Core.so.6 + 0x1bf019)
#4  0x000075358701c15c n/a (libQt6Widgets.so.6 + 0x21c15c)
#5  0x000075358701c64a n/a (libQt6Widgets.so.6 + 0x21c64a)
#6  0x0000753587029dca _ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent (libQt6Widgets.so.6 + 0x229dca)
#7  0x0000753586f51891 _ZN7QWidget5eventEP6QEvent (libQt6Widgets.so.6 + 0x151891)
#8  0x0000753586efe8d7 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe8d7)
#9  0x0000753586f02f60 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x102f60)
#10 0x0000753585d61558 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x161558)
#11 0x0000753586ef6806 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt6Widgets.so.6 + 0xf6806)
#12 0x0000753586f6abc0 n/a (libQt6Widgets.so.6 + 0x16abc0)
#13 0x0000753586efe8d7 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe8d7)
#14 0x0000753585d61558 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x161558)
#15 0x000075358659391b _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt6Gui.so.6 + 0x19391b)
#16 0x000075358660b39b _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x20b39b)
#17 0x0000753586ae8764 n/a (libQt6Gui.so.6 + 0x6e8764)
#18 0x00007535847868d7 n/a (libglib-2.0.so.0 + 0x628d7)
#19 0x00007535847fc1d8 n/a (libglib-2.0.so.0 + 0xd81d8)
#20 0x0000753584788552 g_main_context_iteration (libglib-2.0.so.0 + 0x64552)
#21 0x0000753585fde86b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3de86b)
#22 0x0000753585d6d0e5 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16d0e5)
#23 0x000075358717988a _ZN7QDialog4execEv (libQt6Widgets.so.6 + 0x37988a)
#24 0x0000753585b7ebd3 _ZN16KShortcutsDialog9configureEb (libKF6XmlGui.so.6 + 0x71bd3)
#25 0x0000753587a5a409 n/a (libkateprivate.so.24.08.2 + 0x9a409)
#26 0x0000753585dbf019 n/a (libQt6Core.so.6 + 0x1bf019)
#27 0x00007535869fedf9 _ZN7QAction8activateENS_11ActionEventE (libQt6Gui.so.6 + 0x5fedf9)
#28 0x00007535870df222 n/a (libQt6Widgets.so.6 + 0x2df222)
#29 0x00007535870e1287 n/a (libQt6Widgets.so.6 + 0x2e1287)
#30 0x0000753586f51891 _ZN7QWidget5eventEP6QEvent (libQt6Widgets.so.6 + 0x151891)
#31 0x0000753586efe8d7 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe8d7)
#32 0x0000753586f02f60 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x102f60)
#33 0x0000753585d61558 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x161558)
#34 0x0000753586ef6806 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt6Widgets.so.6 + 0xf6806)
#35 0x0000753586f6c8ca n/a (libQt6Widgets.so.6 + 0x16c8ca)
#36 0x0000753586efe8d7 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe8d7)
#37 0x0000753585d61558 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x161558)
#38 0x000075358659391b _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt6Gui.so.6 + 0x19391b)
#39 0x000075358660b39b _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x20b39b)
#40 0x0000753586ae8764 n/a (libQt6Gui.so.6 + 0x6e8764)
#41 0x00007535847868d7 n/a (libglib-2.0.so.0 + 0x628d7)
#42 0x00007535847fc1d8 n/a (libglib-2.0.so.0 + 0xd81d8)
#43 0x0000753584788552 g_main_context_iteration (libglib-2.0.so.0 + 0x64552)
#44 0x0000753585fde86b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3de86b)
#45 0x0000753585d6d0e5 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16d0e5)
#46 0x0000753585d62935 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x162935)
#47 0x000058b8c3a876b6 n/a (kate + 0x56b6)
#48 0x000075358563418e n/a (libc.so.6 + 0x2618e)
#49 0x000075358563424a __libc_start_main (libc.so.6 + 0x2624a)
#50 0x000058b8c3a8a495 n/a (kate + 0x8495)

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 3, 2024

Well it's hard to tell what exactly it wants from niri from this backtrace

@YaLTeR YaLTeR added the question Further information is requested label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants