| Summary: | SIGSEGV in cairo_set_operator | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Michael Davidsaver <mdavidsaver> | ||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | akurtakov, berryman, ericwill, mdavidsaver | ||||||||
| Version: | 4.4.1 | Keywords: | triaged | ||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 530841 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Michael Davidsaver
Created attachment 252361 [details]
LD_PRELOAD hooks for libcairo
Intercepts cairo_set_operator(), cairo_create(), and cairo_destroy().
Created attachment 252362 [details] console output of crash with LD_PRELOAD hook active Here I see that the crash is triggered by > cairo_set_operator(0x28c3dd0, 23) While 0x28c3dd0 is never returned by cairo_create(). So I suspect that in this case "handle != data.cairo". A similar bug#441705 has been fixed in 4.4.1, would you please try with it? Our systems have cairo 1.12.2 (as provided by Debian 7.7). My LD_PRELOAD hook searches for, and find, the cairo_set_operator symbol. Also, setting cairoGraphics=false does not, by itself avoid the crash. So I believe this is a seperate issue from bug#441705. Status? Up/down? We would be happy to review patch if provided but it's low priority for committers as SWT defaults to GTK3 and the crash happens with GTK2 only and also when deprecated method used. Please note: GTK2 support for SWT is being dropped in Eclipse 4.10 / SimRel 2018-12 release. See the following mail for more info: http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg15783.html Marking the bug as wontfix as no work for GTK2 issues will happen. Please reopen if you still face the issue using GTK 3.x. |