-
Notifications
You must be signed in to change notification settings - Fork 343
Segfault with keyboard unplugged #2073
Comments
Can you try again with ASan enabled? How to reproduce? Which wlroots commit is this? Debug logs? |
Actually the same just happened to me when replugging my keyboard (after a couple of times, not reproducible). There's nothing in the logs between plugging in the keyboard and the ASan report:
Revision: 13db99b |
I have had the same crash with a virtual keyboard, again, not reproducible each time. |
Yep, just encountered this by killing and restarting squeekboard. In I guess I'm honestly kinda confused about why does the seat_client need to know about particular physical (well.. or virtual) keyboards in general. |
I think |
Check for a NULL keyboard_state.keyboard value in seat_client_create_keyboard() before trying to use it, as is done in other functions like seat_client_send_repeat_info(). Prevents a segfault in certain situations on keyboard removal, as seen in the sway issue. Closes: swaywm/sway#5205 Closes: #2073
gdb.txt
The text was updated successfully, but these errors were encountered: