[Gambas-user] GTK+ with Broadway

Mayost Sharon sharon at 455.co.il
Mon May 20 01:05:28 CEST 2019


Hello

Thanks again

Maybe I'm wrong

But it seems to me that the error is not related to GTK3 + BROADWAY

I open a new question in the forum:
https://lists.gambas-basic.org/pipermail/user/2019-May/067262.html



---------- 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