[Gambas-user] GTK+ with Broadway

Benoît Minisini g4mba5 at gmail.com
Fri May 17 17:36:45 CEST 2019


Le 17/05/2019 à 17:09, gen braga a écrit :
> Here it goes.
> 
> -
> Gen
> 
> Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
> 0x000000000847c748 in ?? ()
> (gdb) bt
> #0  0x000000000847c748 in ?? ()
> #1  0x00007ffff3cc757c in XInternAtom () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #2  0x00007ffff61b0fb0 in init_atoms () at x11.c:129
> #3  0x00007ffff61b185a in X11_init (display=0x87b000, root=8842912) at x11.c:352
> #4  0x00007ffff61a8ef2 in my_main (argc=0x7fffffffd9bc, argv=0x7fffffffd9b0) at main.cpp:389
> #5  0x0000000000438f68 in main (argc=1, argv=0x7fffffffde38) at gbx.c:391
> (gdb)
>

The my_main() function asks the X11 display to GTK+ and send it to 
X11_init() that does the X11 initialization stuff (creating X11 atoms...).

But I guess that with the GTK+ Broadway hack, the X11 display is NULL. 
And so all X11 stuff will crash.

Strangely, the macro GDK_WINDOWING_X11 is defined. Otherwise the 
X11_init() function wouldn't be called.

I don't GTK+ Broadway at all, so I can't say more.

-- 
Benoît Minisini


More information about the User mailing list