[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 Nate Graham changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|--- |UNMAINTAINED --- Comment #9 from Nate Graham --- As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now. Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again. Thanks for your understanding, everyone. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 --- Comment #8 from Jiri Slaby --- (In reply to Jiri Slaby from comment #7) > (In reply to David Redondo from comment #6) > > We probably should not be in this X code path at all on Wayland? > > That's what I think too -- if I am in a wayland window. It's likely that khotkeys (ShortcutsHandler::send_macro_key in particular) do not support wayland quite yet. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 --- Comment #7 from Jiri Slaby --- (In reply to David Redondo from comment #6) > We probably should not be in this X code path at all on Wayland? That's what I think too -- if I am in a wayland window. Not sure what should happen when in Xwayland window, but maybe libX11 should not be invoked too. In any way, both these scenario crash. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 David Redondo changed: What|Removed |Added CC||k...@david-redondo.de --- Comment #6 from David Redondo --- We probably should not be in this X code path at all on Wayland? -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 --- Comment #5 from Jiri Slaby --- (In reply to Nate Graham from comment #4) > Feel free to submit a merge request to fix it! If I only knew what the root cause is -- I only described the symptoms... The Display is callocated (so zeroed) and lock_fns explicitly set to NULL in OpenDisplay. lock_fns is then touched (Xmalloc-ed) only in _XInitDisplayLock. Anyway, whole _XDisplay structure seems to be mangled: > $4 = {ext_data = 0x7f169265d0a0 , free_funcs = > 0x7f1692509d70, fd = 1, conn_checker = 0, proto_major_version = 904794160, > proto_minor_version = 21891, vendor = 0x558335ee1100 "", resource_base = > 4294967296, resource_mask = 94022033870896, resource_id = 0, resource_shift = > 0, > resource_alloc = 0x0, byte_order = 904802176, bitmap_unit = 21891, > bitmap_pad = 0, bitmap_bit_order = 0, nformats = 0, pixmap_format = 0x0, > vnumber = 0, > release = 0, head = 0x3, tail = 0xf8, qlen = 256, last_request_read = > 94022033919856, request = 0, last_req = 0x0, buffer = 0x0, > bufptr = 0x1 , bufmax = > 0x558335ee10e8 "\350\020\356\065\203U", max_request_size = 904794344, > db = 0x558335ee1030, synchandler = 0x558335ee1100, display_name = > 0x558335ee1100 "", default_screen = 904794160, nscreens = 21891, screens = > 0x0, > motion_buffer = 0, flags = 0, min_keycode = 0, max_keycode = 0, keysyms = > 0x0, modifiermap = 0xdd, keysyms_per_keycode = 0, xdefaults = 0x0, > scratch_buffer = 0x0, scratch_length = 0, ext_number = 0, ext_procs = 0x0, > event_vec = {0xe1, 0x7f16903b4640, 0x558335f569e0, 0x640001, > 0x7f16903b3c68, > 0x7f1695fa7680 , 0x1, 0x0, 0x0, 0x0, > 0x7f16903b3c68, 0x7f1695fa7680 , 0x1, 0x0, 0x0, > 0x0, > 0x7f16903b3c68, 0x7f1695fa7680 , 0x1, 0x0, > 0x0, 0x0, 0x7f16903b3c68, 0x7f1695fa7680 , 0x1, > 0x0, > 0x0, 0x0, 0x21, > 0x7f16925aa460 > wl_registry*, unsigned int, QString const&, unsigned int)>, 0x558335edacc0, > 0x0, 0x31, 0x7f16959c1a00 , 0x558335ee0ed0, 0x5583357d3840 > , 0x0, 0x0, 0x31, 0x20001, 0x1, > 0x558335ee1260, 0x0, 0x0, 0x31, 0x558335ed97e0, 0x0, 0x626b782f6769666e, > 0x558335ee1200, 0x0, 0x31, 0x73782f656d6f682f, 0x6f632e2f7962616c, > 0x626b782f6769666e, 0x0, 0x0, 0x31, 0x558335ee1310, 0x558335ed97a0, > 0x558335ee1410, 0x0, 0x0, 0x41, 0x6168732f7273752f, 0x6c61636f6c2f6572, > 0x5f434c2f73632f65, 0x534547415353454d, 0x6f6d2e6362696c2f, 0x0, 0x0, > 0x41, 0x558335ee1370, 0x7f160001, 0x558335edba20, 0x5583363fd630, 0x0, > 0x0, > 0x0, 0x21, 0x558335edca90, 0x, 0x0, 0x21, > 0x626b782f6374652f, 0x0, 0x62, 0x21, 0x558335eb2e40, 0x0, 0x0, 0x71, > 0x270001, 0x28, 0x18, > 0x5f00700077007a, 0x6d006900720070, 0x5f007900720061, 0x65006c00650073, > 0x6f006900740063, 0x650064005f006e, 0x65006300690076, 0x6e0061006d005f, > 0x72006500670061, 0x310076005f, 0x31, 0x558335f6d710, 0x400, > 0x558335f4b830, 0x20001bd, 0x0, 0x31, 0x10001, 0x2, 0x18, > 0xde78c2c00034, 0x30, > 0x21, 0x31646f4d, 0x0, 0x0, 0x61, 0x7f1696190750 QObjectPrivate+16>, 0x558335eb5570, 0x0, 0x5583357d38f0 > , > 0x35ee1130, 0x0, 0x0}, wire_vec = {0x558335eb4ba0, 0x0, 0x0, 0x0, 0x21, > 0x7f169265de18 , > 0x558335eec340, 0x0, 0x101, 0xc0001, 0xe, 0x18, 0x24, 0xa0060, > 0x2c, 0xa0060, 0x74, 0xa0060, 0x558336020de0, 0x100a0, 0x18, > 0xa0060, 0x0, 0x0, 0x48, 0xa0060, 0x58, 0xa0060, 0xc, > 0xa0060, 0x0, 0x114, 0x0, 0xa0060, 0x50f00, 0x0, 0x558336020480, > 0x558336011de0, 0x0, 0x13176, 0x101, 0xa0001, 0xe, 0x18, 0x0, > 0xa0060, 0x558335f759b0, 0x100a0, 0xc, 0xa0060, 0x28, 0xa0060, > 0x44, 0xa0060, 0x5c, 0xa0060, 0x78, 0xa0060, 0x0, 0x114, > 0x90, 0xa0060, 0x0, 0x115, 0x224, 0xa0060, 0x240, 0x60060, 0x2ac, > 0xa0060, 0x2c0, 0x60060, 0x21, 0x7f169265dfa0 QtWaylandClient::QWaylandShm+16>, 0x558335eec750, 0x558335eeca40, 0x31, > 0x70001, > 0x8, 0x18, 0x75006e0069006c, 0x6200660078, 0x111, 0xac0001, > 0x7f1600e8, 0x18, 0x737265760007, 0x5006e6f69, 0x6775626564, > 0x686372610007, > 0x300716572, 0x3e00444949, 0x702d74712e67726f, 0x512e7463656a6f72, > 0x50512e4150512e74, 0x496d726f6674616c, 0x697461726765746e, > 0x726f746361466e6f, > 0x61667265746e4979, 0x332e352e6563, 0x73616c630009, 0x656d614e73, > 0x6e694c510019, 0x65746e4962467875, 0x506e6f6974617267, 0x42006e6967756c, > 0x6174654d0008, 0x7f0061746144, 0x558335ed9688, 0x7fff8b1f4660, > 0x558335eb4840, 0x7fff8b1f46d8, 0x0, 0x5583357d38c0 , > 0x5583357d38c0 , 0x5583357d38c0 > , 0x31, 0x558335ee2091, 0x0, 0x0, 0x558335ed9680, > 0x558335ee19d0, 0x21, > 0xa10001, 0x558335eda830, 0x558335eda630, 0x31, 0x70001}, > lock_meaning = 8, lock = 0x18, async_handlers = 0x6c007900610077, > bigreq_size = 429503938657, lock_fns = 0x31, idlist_alloc = 0x80001, > key_bindings = 0x7f160009, cursor_font = 24, atoms =
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 Nate Graham changed: What|Removed |Added Status|REPORTED|CONFIRMED CC||n...@kde.org Ever confirmed|0 |1 --- Comment #4 from Nate Graham --- Feel free to submit a merge request to fix it! -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 --- Comment #3 from Jiri Slaby --- (In reply to Jiri Slaby from comment #2) > (gdb) p/x $rax > $5 = 0x31 Seems to be 0x31 every time. So no corruption, or a deterministic one. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 --- Comment #2 from Jiri Slaby --- (In reply to Jiri Slaby from comment #0) > > #3 0x7f550492bb3e in XQueryExtension > > (dpy=dpy@entry=0x5628d28aa030, name=name@entry=0x7f54fc12e019 > > "XInputExtension", major_opcode=major_opcode@entry=0x7ffd4d60744c, > > first_event=first_event@entry=0x7ffd4d607450, > > first_error=first_error@entry=0x7ffd4d607454) 0x7f550492bb36 <+102>: test %rax,%rax 0x7f550492bb39 <+105>: je 0x7f550492bb40 0x7f550492bb3b <+107>: mov%rbp,%rdi => 0x7f550492bb3e <+110>: call *(%rax) (gdb) p/x $rax $5 = 0x31 include/X11/Xlibint.h:#define LockDisplay(d) if ((d)->lock_fns) (*(d)->lock_fns->lock_display)(d) (gdb) p dpy->lock_fns $6 = (struct _XLockPtrs *) 0x31 Well, (d)->lock_fns is not NULL in that 'if', but is bogus, so it crashes. -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 Nicolas Fella changed: What|Removed |Added CC||gr...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[systemsettings] [Bug 440778] Crash when invoking send-keyboard-input shortcut in wayland
https://bugs.kde.org/show_bug.cgi?id=440778 Nicolas Fella changed: What|Removed |Added Component|general |kcm_khotkeys Assignee|fa...@kde.org |k...@michael-jansen.biz CC||nicolas.fe...@gmx.de, ||plasma-b...@kde.org Version|5.84.0 |unspecified Product|frameworks-kded |systemsettings -- You are receiving this mail because: You are watching all bug changes.