Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521308 - <dev-java/swt-4.3: Crashes and errors with newer Glib/GTK+ versions
Summary: <dev-java/swt-4.3: Crashes and errors with newer Glib/GTK+ versions
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 505968
Blocks: 521314
  Show dependency tree
 
Reported: 2014-08-27 15:05 UTC by Matthias Dahl
Modified: 2016-05-26 09:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix combo widget dispose crash (0001-fix-combo-widget-dispose-crash.patch,2.40 KB, patch)
2014-08-27 15:08 UTC, Matthias Dahl
Details | Diff
fix crashes,errors,warnings with newer Glib and GTK+ versions (0002-fix-compatibility-with-newer-gtk-glib.patch,8.34 KB, patch)
2014-08-27 15:09 UTC, Matthias Dahl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Dahl 2014-08-27 15:05:56 UTC
With newer Glib and GTK+ versions, SWT <= 4.3 causes crashes, warnings and errors for programs. In my case it is the android-sdk-updater.

Reproducible: Always

Steps to Reproduce:
1. Open android (from android-sdk-updater)
2. Create a new AVD

Actual Results:  
Once you leave the dialog where you created the AVD by creating/saving it, android will crash.
Comment 1 Matthias Dahl 2014-08-27 15:06:46 UTC
The associated bugs from upstream are:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=372560 https://bugs.eclipse.org/bugs/show_bug.cgi?id=383189
Comment 2 Matthias Dahl 2014-08-27 15:08:39 UTC
Created attachment 383816 [details, diff]
fix combo widget dispose crash

backport to SWT 3.8.2 of upstream commit to master
Comment 3 Matthias Dahl 2014-08-27 15:09:27 UTC
Created attachment 383818 [details, diff]
fix crashes,errors,warnings with newer Glib and GTK+ versions

backport to SWT 3.8.2 of upstream commit to master
Comment 4 Matthias Dahl 2014-08-27 15:12:13 UTC
With those patches applied, android from android-sdk-updater works just fine now -- without any warnings, errors or crashes.

Since the bundled SWT version from the SDK is affected as well and the SDK works just fine with SWT 3.8.2, I suggest changing its dependency exclusively to SWT 3.8.2 with this fixes applied, so thers don't run into the same problems. I will open a new bug report shortly about this.