Bug 533799

Summary: [GTK3] Resizing trees/tables can cause pixman errors on standard error
Product: [Eclipse Project] Platform Reporter: Simeon Andreev <simeon.danailov.andreev>
Component: SWTAssignee: Simeon Andreev <simeon.danailov.andreev>
Status: VERIFIED FIXED QA Contact: Eric Williams <ericwill>
Severity: minor    
Priority: P3 CC: ericwill, loskutov, t1, x_at_y_or_z
Version: 4.8Keywords: triaged
Target Milestone: 4.8 M7   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471602
https://bugs.eclipse.org/bugs/show_bug.cgi?id=492709
https://git.eclipse.org/r/121390
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a7bdb7b18497c21b22a979c96dbcb5e3458f925d
Whiteboard:
Bug Depends on: 534692    
Bug Blocks:    
Attachments:
Description Flags
Resizing an SWT table can lead to pixman_region32_init_rect: Invalid rectangle none

Description Simeon Andreev CLA 2018-04-19 03:25:16 EDT
Created attachment 273679 [details]
Resizing an SWT table can lead to pixman_region32_init_rect: Invalid rectangle

See attached screenshot.

Errors are:

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

To reproduce in Eclipse:

1. Start Eclipse from command line.
2. Open Problems View.
3. Resize Eclipse window until the table in the Problems View is not visible any more.
4. Observe messages printed on standard error.

I observe this e.g. with:

Eclipse SDK
Version: Photon (4.8)
Build id: I20180304-0800

RHEL 7.2
gtk3-devel-3.14.13-16.el7.x86_64

I also observe this on RHEL 7.4 (GTK 3.22.10)
Comment 1 Simeon Andreev CLA 2018-04-19 03:27:56 EDT
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=492709#c7 for analysis.
Comment 2 Eclipse Genie CLA 2018-04-19 04:19:01 EDT
New Gerrit change created: https://git.eclipse.org/r/121390
Comment 4 Eric Williams CLA 2018-04-20 11:53:41 EDT
(In reply to Eclipse Genie from comment #3)
> Gerrit change https://git.eclipse.org/r/121390 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=a7bdb7b18497c21b22a979c96dbcb5e3458f925d

Patch is in master now, many thanks (again!) for the investigation and fix. :)
Comment 5 Eric Williams CLA 2018-05-08 10:36:05 EDT
Verified in I20180507-2205.
Comment 6 Eric Williams CLA 2018-08-23 12:14:42 EDT
*** Bug 492709 has been marked as a duplicate of this bug. ***
Comment 7 Timotej Ecimovic CLA 2019-06-25 06:03:14 EDT
I still see this exact error on latest 2019-06 eclipse, on Fedora Core 30.

Can we reopen this?
Comment 8 Eric Williams CLA 2019-06-25 09:11:43 EDT
(In reply to Timotej Ecimovic from comment #7)
> I still see this exact error on latest 2019-06 eclipse, on Fedora Core 30.
> 
> Can we reopen this?

What are the steps to reproduce? Is it the exact same error, or some other GTK warning (we have several)?