Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345979

Summary: Helios crash on Linux!
Product: [Eclipse Project] Platform Reporter: Jose Guerra <jg.guerra>
Component: SWTAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: apupier, arunkumar.thondapu, a_ilyin, bernard.gautier, bugs.eclipse.org, cbos.ec, cedric.lamalle, christoph_hipp, eclipse.felipe, gheorghe, jcm, kurniawan.rahadi, matt_lavin, mlippert, pwebster, remib.xfd, remy.suen, renatao.garcia, robertgay, Silenio_Quarti, stefan.kaerst, tkrah, tor.henning
Version: 3.6.2Flags: Silenio_Quarti: review+
Target Milestone: 3.7.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
.log file.
none
Eclipse process trace
none
Eclipse log crash with latest build
none
another crash log with slightly different native lib involved none

Description Jose Guerra CLA 2011-05-16 12:26:41 EDT
Build Identifier: M20110210-1200

Since I installed a 64bit version on my Ubuntu 11.04 (64bit), I got some crashes in my IDE with apparently no reason at all.

Thanks

Reproducible: Sometimes
Comment 1 Jose Guerra CLA 2011-05-16 12:28:42 EDT
Created attachment 195758 [details]
.log file.
Comment 2 Jose Guerra CLA 2011-05-16 12:58:04 EDT
Created attachment 195762 [details]
Eclipse process trace
Comment 3 Felipe Heidrich CLA 2011-05-16 15:23:47 EDT
this is not the first time I see a crash in Java_org_eclipse_swt_internal_gtk_OS_GTK_1ACCEL_1LABEL_1GET_1ACCEL_1STRING+0x0

the stacktrace in bug 173822 is very similar to the one in this bug.
bug 200993 also crashes calling GTK_1ACCEL_1LABEL_1GET_1ACCEL_1STRING
Comment 4 Felipe Heidrich CLA 2011-05-20 09:53:13 EDT
*** Bug 346666 has been marked as a duplicate of this bug. ***
Comment 5 Felipe Heidrich CLA 2011-05-20 09:54:08 EDT
Bogdan, Silenio.
Do you know about this problem ?
Comment 6 Felipe Heidrich CLA 2011-05-20 09:56:49 EDT
*** Bug 345680 has been marked as a duplicate of this bug. ***
Comment 7 Gregor Rosenauer CLA 2011-05-26 05:06:39 EDT
I have exactly the same problem unfortunately and get the same crash on my Ubuntu 11.04 x64 installation with Eclipse 3.6.2.

I had other issues (glitches, even crashes) before which I solved by installing xulrunner-1.92.
However this random crash remains.
Comment 8 Alexander Ilyin CLA 2011-05-26 06:49:48 EDT
This bug looks like rather Ubuntu team responsibility. Does anybody know the link to the appropriated issue in Ubuntu bug tracking system?
Comment 9 Tor Henning Ueland CLA 2011-05-30 04:18:35 EDT
(In reply to comment #8)
> This bug looks like rather Ubuntu team responsibility. Does anybody know the
> link to the appropriated issue in Ubuntu bug tracking system?

I created a case on this before the weekend.

https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/789123

/Tor
Comment 10 Jim Mitchener CLA 2011-06-10 15:56:30 EDT
(In reply to comment #9)
> (In reply to comment #8)
> > This bug looks like rather Ubuntu team responsibility. Does anybody know the
> > link to the appropriated issue in Ubuntu bug tracking system?
> 
> I created a case on this before the weekend.
> 
> https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/789123
> 
> /Tor

I have the same issue with sun-java6-jdk on Ubuntu 11.04
Comment 11 Felipe Heidrich CLA 2011-07-05 10:02:56 EDT
*** Bug 351025 has been marked as a duplicate of this bug. ***
Comment 12 Felipe Heidrich CLA 2011-07-26 11:58:45 EDT
*** Bug 353055 has been marked as a duplicate of this bug. ***
Comment 13 Felipe Heidrich CLA 2011-07-26 12:01:21 EDT
Arun, can you please take a look at this problem ?
Comment 14 Matt Lavin CLA 2011-07-26 12:58:45 EDT
If you need more data from crashes, I uploaded 4-5 javacore crashes from my environment and they are attached to Bug 353055.
Comment 15 Arun Thondapu CLA 2011-08-03 07:48:34 EDT
(In reply to comment #14)
> If you need more data from crashes, I uploaded 4-5 javacore crashes from my
> environment and they are attached to Bug 353055.

While I'm taking a look at these crash dumps, can you confirm which version of Linux and Java you are running on and whether it is a 64-bit/32-bit platform?

Thanks!
Comment 16 Matt Lavin CLA 2011-08-03 08:25:19 EDT
My Linux environment is 32-bit Ubuntu 11.04 with Gnome 3 installed.  I use the IBM Java SDK 1.6 SR9FP1 to run Eclipse.
Comment 17 Jim Mitchener CLA 2011-08-04 13:51:29 EDT
(In reply to comment #15)
> (In reply to comment #14)
> > If you need more data from crashes, I uploaded 4-5 javacore crashes from my
> > environment and they are attached to Bug 353055.
> 
> While I'm taking a look at these crash dumps, can you confirm which version of
> Linux and Java you are running on and whether it is a 64-bit/32-bit platform?
> 
> Thanks!

I'm running Ubuntu 11.04 64bit Linux 2.6.38-10-generic and Java 1.6.0_26 (sun-java6 ubuntu packages).
Comment 18 Cedric Lamalle CLA 2011-08-04 21:29:15 EDT
Same problem here:
Eclipse: 3.7
OS:
Ubuntu 11.04 x64
Java version:
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
Xorg:
Driver         "nvidia"
Comment 19 Praveen CLA 2011-08-05 08:53:57 EDT
*** Bug 353967 has been marked as a duplicate of this bug. ***
Comment 20 Bogdan Gheorghe CLA 2011-08-05 14:31:35 EDT
We have released some guard code around the offending area to be extra sure that the object we are getting from the GtkBin is 1) not null and 2) an instance of GtkAccelLabel.

I have never come across this crash on my Ubuntu 11.04 x64 so I'm not sure if these steps will solve the problem. Please let us know if you come across this again in any builds > 20110805. Thanks!
Comment 22 Bernard Mising name CLA 2011-08-17 10:44:09 EDT
I have tried the latest version (at least I think I did it). The version is 3.7.1 and build id is: M20110810-0800.
Unfortunately, it is still crashing.
I have attached the java error log.
Comment 23 Bernard Mising name CLA 2011-08-17 10:45:13 EDT
Created attachment 201647 [details]
Eclipse log crash with latest build
Comment 24 Bogdan Gheorghe CLA 2011-08-17 17:03:54 EDT
Ths fix went into the 3.8/4.2 stream and not the maintenance stream. Can you please give the following build a try and let me know if you still seeing the problem:  

http://download.eclipse.org/eclipse/downloads/drops/I20110816-0800/index.php

Thanks!
Comment 25 Martin Lippert CLA 2011-08-19 14:19:05 EDT
Created attachment 201827 [details]
another crash log with slightly different native lib involved

I attached another crash log that we got reported from an Ubuntu user that might be related to this. There is another native call involved, but maybe the same problem?
Comment 26 Martin Lippert CLA 2011-08-19 14:19:49 EDT
Also any chance to get the fix into 3.7.1? That would be really fantastic!!!
Comment 27 Bogdan Gheorghe CLA 2011-08-22 11:19:57 EDT
I can put this into 3.7.1, but it would be great if someone could confirm that the fix released in HEAD actually helped. 

Martin, that crash seems to be caused by a different issue.
Comment 28 Martin Lippert CLA 2011-08-22 11:29:41 EDT
> I can put this into 3.7.1, but it would be great if someone could confirm that
> the fix released in HEAD actually helped. 

Yepp, agree. I will try to ask our user to give this a try, since I am not on Linux.

> Martin, that crash seems to be caused by a different issue.

Should I add a new bugzilla entry for that?
Comment 29 Bernard Mising name CLA 2011-08-22 11:32:50 EDT
I am currently testing this version since the 18th (last Thursday):
http://download.eclipse.org/eclipse/downloads/drops/I20110816-0800/index.php

So far no problem, but it would be better to wait a little more before
confirming the problem is not here anymore. The problem was appearing really
randomly on my PC (not a single one in a week and then two in a day).
Comment 30 Bogdan Gheorghe CLA 2011-08-29 10:15:09 EDT
I've put the code in the 3.7.1 stream and it should be in last week's RC2 3.7.1 build.

I'm going to mark this as FIXED. Please reopen if you come across this again. Thanks!
Comment 31 Felipe Heidrich CLA 2011-09-13 15:40:13 EDT
*** Bug 357445 has been marked as a duplicate of this bug. ***
Comment 32 Steffen Pingel CLA 2011-09-23 04:45:03 EDT
*** Bug 358692 has been marked as a duplicate of this bug. ***
Comment 33 Aurelien Pupier CLA 2011-12-28 08:14:58 EST
Hi,

I encounter quite the same issue with Eclipse 3.7.1. I can reproduce it. I
posted on the forum: http://www.eclipse.org/forums/index.php/t/271004/

Do you think it is really the same issue or another?
If the same, it seems that I can reproduce it everytime so i can help to fix
the issue by testing.
If not, I will open a new bug.

Regards,