Community
Participate
Working Groups
If I try to open the run tab of any bnd.bnd eclipse will crash. this is the console output: (Eclipse:13745): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton (Eclipse:13745): Gdk-ERROR **: The program 'Eclipse' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 109223 error_code 8 request_code 139 (RENDER) minor_code 4) (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.) How can I help to get a usable eclipse (again)... -- Configuration Details -- Product: Eclipse 4.7.1.20171005-1200 (org.eclipse.epp.package.java.product)Installed Features: org.eclipse.platform 4.8.0.v20170913-2000
Workaround: switch to wayland...
Would you please attach hs_err_pid * file generated of the crash? Working on wayland is preferable IMHO.
There is only a core dump of 1.4GB... Arne(In reply to Alexander Kurtakov from comment #2) > Would you please attach hs_err_pid * file generated of the crash? Working on > wayland is preferable IMHO.
Maybe this helps a bit.... gdb where #0 0x719b6e40 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #1 0x719b9543 in g_log_writer_default () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0x719b7a1c in g_log_structured_array () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x719b7c7d in g_log_structured () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x7223c829 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0 #5 0x72249d04 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0 #6 0x71f95b7a in _XError () from /usr/lib/i386-linux-gnu/libX11.so.6 #7 0x71f9277b in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6 #8 0x71f9283f in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6 #9 0x71f9324b in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6 #10 0x71f93533 in _XFlush () from /usr/lib/i386-linux-gnu/libX11.so.6 #11 0x71f741c0 in XFlush () from /usr/lib/i386-linux-gnu/libX11.so.6 #12 0x72cc4ddf in Java_org_eclipse_swt_internal_gtk_OS__1XFlush () from /home/aploese/eclipse/java-latest-released/eclipse/configuration/org.eclipse.osgi/399/0/.cp/libswt-pi3-gtk-4758.so #13 0xa71ed0e6 in ?? () #14 0xa71e4d4a in ?? () #15 0xa71e4d4a in ?? () #16 0xa71e4d4a in ?? () #17 0xa71e4d4a in ?? () #18 0xa71e4d4a in ?? () #19 0xa71e4d4a in ?? () #20 0xa71e4d4a in ?? () #21 0xa71e4d4a in ?? () #22 0xa71e4d4a in ?? () #23 0xa71e4d4a in ?? () #24 0xa71e4d4a in ?? () #25 0xa71e4d4a in ?? () #26 0xa71e4d7f in ?? () #27 0xa71e4d4a in ?? () #28 0xa71e4d4a in ?? () #29 0xa71e4d4a in ?? () #30 0xa71e4d4a in ?? () #31 0xa71e4d4a in ?? () #32 0xa71e4d4a in ?? () #33 0xa71e4d4a in ?? () ---Type <return> to continue, or q <return> to quit--- #34 0xa71e4d7f in ?? () #35 0xa834aec4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Are you using 32bit linux/Eclipse?
Yes, and here is the 64 bit (gdb) where #0 0x00007f9185549951 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f918554bf71 in g_log_writer_default () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f918554a4ee in g_log_structured_array () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f918554a7e7 in g_log_structured () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f91866e4221 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #5 0x00007f91866f1913 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #6 0x00007f91534ad22d in _XError () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #7 0x00007f91534aa157 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #8 0x00007f91534aa215 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #9 0x00007f91534aab15 in _XEventsQueued () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #10 0x00007f915348c58a in XFlush () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #11 0x00007f9145876074 in Java_org_eclipse_swt_internal_gtk_OS__1XFlush () at /home/aploese/eclipse/java-oxygen/eclipse/configuration/org.eclipse.osgi/1055/0/.cp/libswt-pi3-gtk-4758.so #12 0x00007f91dd0177f4 in () #13 0x0000000000000000 in () (gdb)
hmm.. Do you have any fancy display setups? (I have laptop + 3 extension screens. Sometimes things crash when I drag windows between screens). Btw, what is "run tab of any bnd.bnd" bnd? Do you use adwaita or other theme? What version of gtk r u on?
(In reply to Leo Ufimtsev from comment #7) > hmm.. Do you have any fancy display setups? (I have laptop + 3 extension > screens. Sometimes things crash when I drag windows between screens). > No, I haven't. > Btw, what is "run tab of any bnd.bnd" bnd? > BND Tools from marketplce (for OSGi projects). > Do you use adwaita or other theme? Yes, I use adwaita. > What version of gtk r u on? Debian unstable (x64) so its libgtk-3.so.0.2200.26 and Debian stable (i386)
Hmm. 1) Do you use gnome? 2) If I hack together an (64bit) swt.jar that doesn't use XFlush, would you be able to put it into your eclipse somehow? Curious to see if that would fix things.
(In reply to Leo Ufimtsev from comment #9) > Hmm. > > 1) Do you use gnome? Yes, 3.26 > > 2) If I hack together an (64bit) swt.jar that doesn't use XFlush, would you > be able to put it into your eclipse somehow? I will try it. > > Curious to see if that would fix things.
Is this still reproducible with 2018-09 or later?
(In reply to Alexander Kurtakov from comment #11) > Is this still reproducible with 2018-09 or later? No, It seems fixed. Thanks, Arne
Resolving as per previous comment.
*** Bug 541722 has been marked as a duplicate of this bug. ***