Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse RCP crashes with lots of GTK warnings and errors after latest Gnome update
Eclipse RCP crashes with lots of GTK warnings and errors after latest Gnome update [message #1743476] Thu, 15 September 2016 18:25 Go to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1583
Registered: January 2014
Senior Member

Hi,

since today when I upgraded my Debian Linux to the latest testing version my Eclipse RCP 4diac keeps crashing all the time with a full list of GT warnings and errors (see below). Interestingly my Eclipse Neon instance works without issues. Is this an SWT issue? Any tips where I could look?

While I fetched the log output I did an additional test with a clean workspace, just to be sure. I noticed that the RCP crashed as soon as I opend one of our GEF3 based editors. Maybe this can give a hint.

Thanks,
Alois

Log output:
Gtk-Message: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
!SESSION 2016-09-15 20:04:53.260 -----------------------------------------------
eclipse.buildId=1.8.0
java.version=1.8.0_102
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Framework arguments: -product org.fordiac.ide.product
Command-line arguments: -product org.fordiac.ide.product -data /home/alil/prog/fordiac-ide_dev/fordiac-ide-neon-1.8/../runtime-org.fordiac.ide.product -dev file:/home/alil/prog/fordiac-ide_dev/fordiac-ide-neon-1.8/.metadata/.plugins/org.eclipse.pde.core/org.fordiac.ide.product/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog

!ENTRY org.eclipse.core.resources 2 10035 2016-09-15 20:04:57.107
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.fordiac.ide.util 4 0 2016-09-15 20:04:58.839
!MESSAGE Icon URL handler registered.
1.8.0
qualifier
eclipse.buildId: 1.8.0

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9e9ed1a00. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9e9ed1da0. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea00a2a0. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea00a640. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea00a9e0. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea01c2a0. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea01c640. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea04b770. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea04bb10. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Allocating size to GtkBox 0x7ff9e9ba51d0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 0x0, but minimum required size is 7x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 7x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -6 (allocation 1, extents 3x4) while allocating gadget (node button, owner GtkToggleButton)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's child GtkImage 0x7ff9ea52f140. Allocation is 16x0, but minimum required size is 16x16.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea5027a0. Allocation is 7x4, but minimum required size is 30x35.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToggleButton 0x7ff9ea502960. Allocation is 23x1, but minimum required size is 23x31.

(4DIAC-IDE:4307): Gtk-WARNING **: Allocating size to GtkBox 0x7ff9e9ba51d0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkScrolledWindow 0x7ff9ea976360. Allocation is 46x47, but minimum required size is 46x71.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkScrolledWindow's child GtkScrollbar 0x7ff9ea9d0670. Allocation is 13x22, but minimum required size is 13x46.

(4DIAC-IDE:4307): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkFrame 0x7ff9ea1abf00. Allocation is 303x1, but minimum required size is 2x2.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkEntry 0x7ff9e88b51b0. Allocation is 59x30, but minimum required size is 66x28.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkScrolledWindow 0x7ff9ea85e6c0. Allocation is 61x1, but minimum required size is 48x48.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkToolbar 0x7ff9ea8e5680. Allocation is 1x28, but minimum required size is 34x31.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolbar's child GtkToolButton 0x7ff9eaa453d0. Allocation is 27x24, but minimum required size is 27x27.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkToolButton's child GtkButton 0x7ff9eaa30dc0. Allocation is 27x24, but minimum required size is 27x27.

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkProgressBar 0x7ff9eaa30f90. Allocation is 1x4, but minimum required size is 152x4.
https://www.eclipse.org/forums/#
(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

(4DIAC-IDE:4307): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate SwtFixed's child GtkProgressBar 0x7ff9eaa53190. Allocation is 1x4, but minimum required size is 152x4.

(4DIAC-IDE:4307): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
**
Gtk:ERROR:/build/gtk+3.0-dFLfat/gtk+3.0-3.21.5/./gtk/gtkwidget.c:10232:gtk_widget_pop_verify_invariants: assertion failed: (widget->priv->verifying_invariants_count > 0)
Re: Eclipse RCP crashes with lots of GTK warnings and errors after latest Gnome update [message #1743545 is a reply to message #1743476] Fri, 16 September 2016 09:42 Go to previous messageGo to next message
Patrik Suzzi is currently offline Patrik SuzziFriend
Messages: 2
Registered: February 2018
Junior Member
Perhaps your Linux updated the GTK version or the WebKit Version.

If so, you can export system variables and try to run eclipse forcing GTK and webkit versions.

To run Eclipse with GTK3 and WebKit v2

export SWT_GTK3=1
export SWT_WEBKIT2=1
./eclipse


To run eclipse with GTK2:

export SWT_GTK3=0
./eclipse


To run Eclipse with GTK2 and webkit(v1)

export SWT_GTK3=0
export SWT_WEBKIT2=0
./eclipse

Re: Eclipse RCP crashes with lots of GTK warnings and errors after latest Gnome update [message #1743547 is a reply to message #1743545] Fri, 16 September 2016 09:53 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1583
Registered: January 2014
Senior Member

Thanks for this info. Disabling GTK3 made it not crash again. However we migrated to Neon so that we finally have the GTK3 integration. However giving the current output SWT.GTK for GTK 3 is severely broken with GTK 3.21/3.22 (see for example this bug [1]) rendiring it unusable.

A further questions would be how I can disable GTK3 also in the eclipse.ini or for my build setup?


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=501542
Re: Eclipse RCP crashes with lots of GTK warnings and errors after latest Gnome update [message #1800199 is a reply to message #1743545] Fri, 21 December 2018 09:24 Go to previous message
Manu Prasad is currently offline Manu PrasadFriend
Messages: 1
Registered: December 2018
Junior Member
That worked for me.. But wont our Past Eclipse versions arent compatible with latest GTK & WebKit versions?
Previous Topic:IPageBookViewPage reuse in multiple PageBookViews?
Next Topic:SCSS/SASS in Eclipse 2018-09
Goto Forum:
  


Current Time: Sat Apr 20 03:12:05 GMT 2024

Powered by FUDForum. Page generated in 0.03283 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top