Community
Participate
Working Groups
When pressing the "Next editor" keyboard shortcut, Eclipse crashes with the following printed to the console: Gtk:ERROR:gtkcellrenderer.c:1727:gtk_cell_renderer_get_aligned_area: assertion failed: (aligned_area->x >= cell_area->x && aligned_area->x <= cell_area->x + cell_area->width) Nothing in the .log file. Running eclipse in GTK2 mode solves the issue, bringing up the list of open editors as usual. Version: Luna Release Build id: 20131219-0014 Fedora 19, OpenJDK 1.7.0.60, GTK3 3.8.8
Niraj, can you please try to reproduce this crash with GTK3 and investigate the problem? Thanks!
In addition to "Next Editor" could see a crash on below as well: "Show View" - Alt + Shift + Q In both the scenarios crash happen while bringing up a tool-tip of list of editors or views. Could see a similar assertion failure open bug reported on gtk+3: https://bugzilla.gnome.org/show_bug.cgi?id=668779
Niraj, do you have a pure swt reproducer for this crash? It would help a lot to identify the problem.
I can't reproduce the issue on Ubuntu 14.04 (GTK 3.10.8, GTK 3.8.6 and GTK 3.4.2)
IMO, it is fixed in GTK3.
I haven't been able to reproduce this crash from within Eclipse (even on Fedora 19) but I have been able to reproduce it with the code snippet from https://bugzilla.gnome.org/show_bug.cgi?id=668779 comment 8. I have bisected the GTK git repo and found that this is fixed in GTK >= 3.13.3, commit a3cd0ee7d8a610feff39984254306cec4a6c9c73. In theory, this crash could occur in Eclipse using GTK [3.7.8, 3.13.12]. I think if someone could reproduce this reliably it would be useful so that we could investigate whether or not it would be possible to have a work around in SWT.
I was able to reproduce this in 4.3.2 until this commit: commit f12d01beb576adb1e38d5731c9ef6f98c2d0b598 Author: Alexander Kurtakov <akurtako@redhat.com> Date: Thu Jan 30 15:20:45 2014 +0200 Bug 424891 - File Properties Resource Permissions list UI broken On GTK3 set min_width of the column too to prevent fixed_width becoming a hint only. Then I am not able to reproduce this again. So I am tempted to mark this as fixed.
Closing as per previous comment.