Bug 573637 - [GTK] Resizing second column to left crashes JVM
Summary: [GTK] Resizing second column to left crashes JVM
Status: CLOSED DUPLICATE of bug 531685
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.15   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 07:33 EDT by Andrey Loskutov CLA
Modified: 2021-05-19 08:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2021-05-19 07:33:18 EDT
Using 4.15 / 4.20 master on RHEL 7.4 / GTK 3.22 and https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet38.java

Start Example, and start slowly resize the second "C" column towards the left side.

Few warnings will be printed and sooner or later JVM crashes with the error below. If it doesn't crash, resize the column to the right and back to the left side few times - it will crash for sure.

(SWT:93437): Gtk-WARNING **: 13:30:27.283: Negative content width -7 (allocation 3, extents 5x5) while allocating gadget (node button, owner GtkButton)
**
Gtk:ERROR:gtkcellrenderer.c:1787:gtk_cell_renderer_get_aligned_area: assertion failed: (aligned_area->x >= cell_area->x && aligned_area->x <= cell_area->x + cell_area->width)
Comment 1 Andrey Loskutov CLA 2021-05-19 08:47:28 EDT
OK, I forgot we've reported that already as bug 531685 which was happily closed by the stupid automated process.

*** This bug has been marked as a duplicate of bug 531685 ***