Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

onboard/caribou: crash on accentuated characters #28

Closed
haggen88 opened this issue Jul 14, 2022 · 3 comments
Closed

onboard/caribou: crash on accentuated characters #28

haggen88 opened this issue Jul 14, 2022 · 3 comments
Assignees
Labels
Bug (Confirmed) Something isn't working and devs can reproduce. Upstream (Won't fix) The issue or concern is caused by a package managed by someone other than us.

Comments

@haggen88
Copy link

haggen88 commented Jul 14, 2022

obs: Test done in usb live mode. Unfortunately I don't have enough space to check the error on a virtual machine with Mint installed.

Steps to reproduce

1- open a text document
2- open virtual keyboard
3- type a letter that contains other options and select that option {eg. the n to select the ñ - the c to select the ç}

v1rtual.mp4

.

virtual keyboard log and xsession.zip


P.S. performing the same steps with Onboard, lead to it being closed

onboard.mp4

console output

mint@mint:~$ onboard

(onboard:3138): Gdk-ERROR **: 20:23:23.599: The program 'onboard' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 2958 error_code 2 request_code 135 (XKEYBOARD) minor_code 9)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

onboard logs.zip

@JosephMcc
Copy link

I can reproduce the crash with the Virtual Keyboard

(cinnamon:580329): Gdk-ERROR **: 11:38:03.062: The program 'cinnamon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 140302 error_code 2 request_code 135 (XKEYBOARD) minor_code 9)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

@JosephMcc JosephMcc added the Bug (Confirmed) Something isn't working and devs can reproduce. label Jul 17, 2022
@clefebvre clefebvre self-assigned this Jul 22, 2022
@clefebvre clefebvre changed the title cinnamon: cinnamon crash when using virtual keyboard optional letters onboard/caribou: crash on accentuated characters Jul 22, 2022
@clefebvre
Copy link
Member

The fix is in https://gitlab.freedesktop.org/xorg/xserver/-/commit/cd3d21d8c44a35c22b7eca61a58bb5620b116102.

We'll wait for it to get in 22.04.

We can fix caribou right now by removing the patch, but there's no point in fixing caribou alone if we don't fix onboard as well... without a keyboard you need to enter your password not only for the screensaver and DE but also in the DM (and that uses onboard).

@clefebvre clefebvre added the Upstream (Won't fix) The issue or concern is caused by a package managed by someone other than us. label Jul 23, 2022
@clefebvre
Copy link
Member

Crash fixed in caribou 0.4.21+mint4+vanessa.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug (Confirmed) Something isn't working and devs can reproduce. Upstream (Won't fix) The issue or concern is caused by a package managed by someone other than us.
Development

No branches or pull requests

4 participants