[Gambas-user] GTK2 or GTK3 without DESKTOP crashing

Mayost Sharon sharon at 455.co.il
Tue May 21 21:11:10 CEST 2019


Hello

Sorry, in the previous post I forgot to attach the file

I created a small program with GTK3
And a small program with GTK2
(They are attached to this message)

I installed a new FEDORA 30 64BIT minimal system without a desktop
I installed on the system:
gedit, xorg x11, gtk3, gambas3-runtime gambas3-gb-image gambas3-gb-form, gambas3-gb-gtk,
gambas3-gb-gtk3

Login via CONSOLE without X
I run:
X :0

With the new CONSOLE I run software:
DISPLAY=:0 gedit
And it runs very well in the GEDIT display :0

1.
But if I try to run the GTK3 program I created through GAMBAS:
cd gtk3
DISPLAY=:0 gbx3

I accept this error:

(gtk3:28129): Gdk-ERROR **: 18:48:59.671: The program 'gtk3' received an X Window System
error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
 (Details: serial 194 error_code 5 request_code 20 (core protocol) minor_code 0)
 (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)

2.
Also I run the GTK2 program that also gives an error:

(gtk2:28142): Gdk-ERROR **: 18:51:40.077: The program 'gtk2' received an X Window System
error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
 (Details: serial 135 error_code 5 request_code 20 minor_code 0)
 (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 --sync command line
  option 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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_gtk.zip
Type: application/zip
Size: 28330 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190521/4452b237/attachment-0001.zip>


More information about the User mailing list