Bug 1003209

Summary: Crashes Android SDK Eclipse after a few minutes
Product: [Fedora] Fedora Reporter: Michael Cronenworth <mike>
Component: eclipseAssignee: Alexander Kurtakov <akurtako>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ahughes, akurtako, andjrobins, dbhole, h.reindl, jerboaa, jvanek, kdaniel, omajid, overholt, rgrunber, sgehwolf, swagiaal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-04 17:06:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
abrt-backtrace-gzipped
none
hs_error generated when eclipse crashes none

Description Michael Cronenworth 2013-08-31 20:25:01 UTC
Created attachment 792482 [details]
abrt-backtrace-gzipped

Description of problem: I am using the Eclipse package provided by Google in adt-bundle-linux-x86_64-20130729. After opening a project I can view a source code file but after about 1 to 2 minutes Eclipse crashes. I can even let the program sit idle and it will crash.

Under Fedora 18 the Android SDK worked fine.


Version-Release number of selected component (if applicable):
java-1.7.0-openjdk-1.7.0.25-2.3.12.4.fc19.x86_64
adt-bundle-linux-x86_64-20130729

How reproducible: Always


Steps to Reproduce:
1. Start eclipse from Google's package.
2. Open a project and have a source code file open.
3. Click around the source code file. Highlight text. Let it sit idle.

Actual results: Eclipse crashes


Expected results: Eclipse doesn't crash


Additional info: Abrt generated a backtrace but then decided it was "unusable" but I will attach it here anyway.

Comment 1 Michael Cronenworth 2013-08-31 20:26:50 UTC
Created attachment 792483 [details]
hs_error generated when eclipse crashes

This is the hs_error.log file that is generated when Eclipse crashes.

Comment 2 Michael Cronenworth 2013-09-04 16:57:23 UTC
Hello, is there anyone I can ping or a mailing list I can post to to get this issue looked at? I have even tried an older Android SDK (4.2), but the behaviour is the same. I have also tried multiple Fedora 19 computers, but the crash still occurs.

Comment 3 Omair Majid 2013-09-04 17:06:36 UTC
This error in soup_session_detach is a bug in swt. It's fixed in swt upstream and newer eclipse versions (Kepler and later) should contain this fix.

I suppose the Android SDK is built on an older version of swt which does not contain the fix. Sadly, Fedora does not ship the Android SDK, so we can't patch this bug.

That said, you may be able to follow the workaround here:
https://bugzilla.redhat.com/show_bug.cgi?id=986011#c14

Comment 4 Michael Cronenworth 2013-09-05 04:11:36 UTC
That doesn't seem to be an option. When I try replacing the SWT plugin with the one from Fedora 19 in eclipse-swt, Eclipse won't start.

The Android SDK provides:
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v4236b.jar
org.eclipse.swt_3.100.1.v4236b.jar
Eclipse 4.2.1

I guess Android development on Fedora 19+ is out of the question.

Comment 5 Severin Gehwolf 2013-09-05 08:34:00 UTC
Re-assigning to eclipse (owner of SWT). Perhaps they'll have some suggestions as to how to work around this problem.

Comment 6 Alexander Kurtakov 2013-09-05 08:50:05 UTC
Michael, there is hardly anything we can do regarding the issue with ADT. You can try running android sdk with -clean option or install swt via p2.

Comment 7 Severin Gehwolf 2013-09-10 12:24:07 UTC
*** Bug 1006273 has been marked as a duplicate of this bug. ***