X Window System error on Trisquel (Ubuntu 22.04 LTS)

Christian Hergert christian at hergert.me
Mon Mar 24 17:18:07 UTC 2025


On 3/23/25 13:07, Caleb Herbert wrote:
> 
> 
> caleb at hermes:~$ flatpak run org.gnome.Builder
> 
> (gnome-builder:2): Gdk-WARNING **: 14:59:14.270: The program 'gnome- 
> builder' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadRegion (invalid Region parameter)'.
>    (Details: serial 915 error_code 140 request_code 138 (XFIXES) 
> minor_code 11)
>    (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.)

Did you try running with the suggestion from GDK above? It should help 
you get a stack trace at the part of the GTK/GDK interans that are 
breaking on Xorg/X11.

flatpak run --env=GDK_SYNCHRONIZE=1 --command=bash org.gnome.Builder
bash$ gdb gnome-builder
gdb) break gdk_x_error
gdb) run
.... crash
gdb) thread apply all backtrace

-- Christian



More information about the Flatpak mailing list