[Gambas-user] GTK+ with Broadway

Mayost Sharon sharon at 455.co.il
Sun May 19 17:26:21 CEST 2019


Many thanks

According to what I understand GTK + Broadway
They write:
Any application written on GTK + should run through Broadway

For example, I tried to run:
gedit
gnome-calculator
rhythmbox
libreoffice
Etc.

Everything works without error

But maybe it will help:
I tried running the gnome-shell as follows:
GDK_BACKEND = broadwa DISPLAY =: 0 gnome-shell

It gave me an error:
mutter-ERROR **: 18: 23: 17.050: Failed to open X11 display: Failed to initialize GDK
Trace / breakpoint trap (core dumped)

---------- Original Message -----------
From: Benoît Minisini <g4mba5 at gmail.com>
To: Gambas Mailing List <user at lists.gambas-basic.org>
Sent: Fri, 17 May 2019 17:36:45 +0200
Subject: Re: [Gambas-user] GTK+ with Broadway

> 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
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
------- End of Original Message -------



More information about the User mailing list