Eclipse crashes due to jvm crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eclipse |
Invalid
|
Unknown
|
|||
eclipse (Gentoo Linux) |
Fix Released
|
Medium
|
|||
eclipse (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
openjdk-6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eclipse
eclipse crashes on kubuntu hardy.
with both eclipse from apt and eclipse from website.
I'm using java-sun6
I checked on #kubuntu-devel but didn't find anyone with the problem
error log from command:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x06219a26, pid=25424, tid=3075606192
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# V [libjvm.
#
# An error report file with more information is saved as hs_err_pid25424.log
#
# If you would like to submit a bug report, please visit:
# http://
#
thomas coopman (tmske) wrote : | #1 |
Daniele Dellafiore (ildella) wrote : | #2 |
- hs_err_pid6635.log Edit (25.9 KiB, text/plain)
I have exactly the same problem, on gutsy gibbon.
Also happens with 1.5.0_13
Jean Azzopardi (aragorn-waldonet) wrote : | #3 |
- hs_err_pid27298.log Edit (26.4 KiB, text/plain)
I have the same problem on Hardy as of today, as a matter of fact. Used to work, but it doesn't anymore, and I don't know why, thanks to the large glut of updates we get on a daily basis.
Changed in eclipse: | |
status: | New → Confirmed |
Jean Azzopardi (aragorn-waldonet) wrote : | #4 |
I believe I solved my problem.
I reinstalled eclipse, and it turned out that the workspace was problematic.
Paul Wagland (paul-kungfoocoder) wrote : | #5 |
For what it is worth, I have started to have the same issue. And it might well be a corrupt workspace, but the JVM should probably still not crash...
WIll try a new workspace as a workaround though.
Daniele Dellafiore (ildella) wrote : | #6 |
- hs_err_pid5802.log Edit (39.4 KiB, text/plain)
Using a clean eclipse installation sometimes fix the problem, but just temporary.
Today I am having a lot of crashes, here is another log:
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb56cbe93, pid=5802, tid=3029511056
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing linux-x86)
# Problematic frame:
# J org.eclipse.
This is *really* annoying, I simply cannot work in this condition, eclipse crashes continuously.
Daniele Dellafiore (ildella) wrote : | #7 |
I think that bug 77393 is a duplicated of this one.
Daniele Dellafiore (ildella) wrote : | #8 |
I know you cannot believe this but during last eclipse session, eclipse crashes with this error on the console:
della@della-
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
(Details: serial 347140 error_code 182 request_code 157 minor_code 23)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Firefox was open and did not crash at all, still running.
Michael (michael-bischoff) wrote : | #9 |
same here
traced to native code in libjvm.so
It consistently crashes. a second or so after the workspace is started.
tried icedtea, sun java 6 and 5 and gcj
My version is the normal ubuntu(64) though. not kubuntu, everything worked perfectly before I updated to hardy.
Doesn't look at all like the sloppy lock thing ppl are raving about in the alpha releases. (also the proposed fixes don't work)
Dorgendubal (svenwerlen) wrote : | #10 |
Same problem (apt-get Eclipse and sun-jvm 6).
Perfectly worked until I tried to open a file that was modified outside Eclipse. IDE crashed.
Since then... Eclipse crashes 1-2 seconds after the workspace is started.
Dorgendubal (svenwerlen) wrote : | #11 |
Some investigation... could maybe help others.
Just after the workspace is started, I immediately stopped the "building workspace..." background action.
Eclipse didn't crash then. I disabled "build automatically" and switch to PHP perspective (PHPEclipse).
This helped in my case. I'm developping with PHP (not Java) and don't need "automatic compilation" which seems to be the problem.
Rengarajan (rengarajan-iyengar) wrote : | #12 |
Applying "sed -i 's/XINERAMA/
Nicolas Albert (nicoa380) wrote : | #13 |
- hs_err_pid22338.log Edit (115.7 KiB, text/plain)
The problem during when Eclipse compile java code.
The first build is ok, but if I edit a java source, the "automatic building" crash.
If I disable "automatic building" and I run the java application, the compiler run and crash.
If I make "project > clean" (delete .class) and rebuild, it's ok.
I have Ubuntu Hardy (2.6.24-16-generic) 64 bit, Eclipse 3.3.2 (from eclipse.org) 32 & 64 bit, all this JVM :
64 openjdk-6> OpenJDK 64-Bit Server VM (build 1.6.0-b08, mixed mode)
32 openjdk-6 (with getlibs) > OpenJDK Server VM (build 1.6.0-b08, mixed mode)
32 ia32-sun-java6 > Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
No problem on Windows with the same java application and Eclipse version.
Kai Krueger (kakrueger) wrote : | #14 |
Thanks, disabling "automatic building" seems to have fixed it for me.
Previously I had tried it with a variety of Java versions (sun java 1.6, sun java 1.7beta, iced tea) and several eclipse versions (3.2, 3.4M6a) and all showed the same problem. It does also seem to have something to do with the workspace metadata, as not all workspaces showed the same crashing immediately after startup.
This is all on Hardy 64bit.
Nicolas Albert (nicoa380) wrote : | #15 |
Eclipse doesn't crash anymore but it is slower.
I add -Xint in my eclipse.ini, the jvm don't try to optimize by compiling native code (mixed mode).
I havn't test all jvm/eclipse with this option, but you can try.
(Eclipse really eat more CPU with -Xint ! :( so it isn't a good solution)
Fotis Paraskevopoulos (forums-existanze) wrote : | #16 |
I can confirm that the -Xint option in eclipse.ini solves the problem, I didn't see the cpu hit though. I will be attent for it. I have a vanilla eclipse 3.2.2 and jdk 1.6.0_04 from sun
Thanks.
Scott Van Wart (silvaran-gmail) wrote : | #17 |
The IBM Java6 SDK doesn't trigger this bug, so if you can live with that in the time being, it seems a good substitute until this gets fixed.
Jørgen H. Seland (jorgen-fabeljet) wrote : | #18 |
Eclipse 3.3.2 64-bit, sun-java6 6-06-0ubuntu1, Hardy beta 5 AMD 64:
Confirming crash on java build (both automatic and non-automatic).
Also confirming the -Xint option workaround.
Also confirming slowdown with -Xint option (but this is no surprise, as it disables JIT compilation).
everflux (tklaunchpad) wrote : | #19 |
Same hier - downgrade or -Xint fixes the problem. AMD64 dual core machine.
-Xint is really a serious performance hit.
I have crashes with other java applications (RSSowl), too - seems not to be eclipse compiler related. And this is not the xinerama / x bug.
Jørgen H. Seland (jorgen-fabeljet) wrote : | #20 |
Eclipse 3.3.2 64-bit, sun-java6 6-06-0ubuntu1, Hardy beta 5 AMD 64:
Confirming that downgrade to sun-java6 6-03-0ubuntu2 (gutsy version) fixes the problem.
everflux (tklaunchpad) wrote : | #21 |
Upgrading to the Jdk 6 u10 beta version fixes the problem, too. afaik there is no package of it yet, so the jdk must be replaced manually.
Matthias Hilbig (hilbig) wrote : | #22 |
jdk 6 u10 beta crashes for me too.
Tony McCrary (tmccrary) wrote : | #23 |
I've tried both jdk 6 u10, Sun Java 6 and the most recent version of OpenJDK in the repos.
They all cause Eclipse to crash. Nothing like this happened with Gutsy.
Tony McCrary (tmccrary) wrote : | #24 |
The issue occurs with Java JDK 6 Update 6 as well.
Tony McCrary (tmccrary) wrote : | #25 |
It looks like this issue is caused by a bug introduced with JDK 6u5.
Here is an eclipse bug report:
https:/
Here is the bug on Sun's bug tracker:
http://
A workaround for this is to exclude the method from being optimized by hotspot or to downgrade the JDK before 6u5, namely JDK 6u3.
Tony McCrary (tmccrary) wrote : | #26 |
Okay, I take that back. 6u3 crashes as well.
Tony McCrary (tmccrary) wrote : | #27 |
I'm switching to fedora.
Scott Van Wart (silvaran-gmail) wrote : | #28 |
> I'm switching to fedora.
I can appreciate the frustration, but let's not get nuts.
:)
Tony McCrary (tmccrary) wrote : | #29 |
You're right, I may have jumped the gun a little. It's just a major problem when you can't do any work because your tools crash at random intervals.
So far excluding this from the hotspot JIT:
echo "exclude org/eclipse/
...and modifying eclipse's VM args (edit /usr/bin/
VMARGS=
...seems to help reduce the amount of crashes.
However, it still has crashed, just not everytime eclipse tries to compile something.
everflux (tklaunchpad) wrote : | #30 |
Starting with "-Xint" (vmargs) should fix the problem - which switching to Fedora wouldn't, since the bug is from upstream Java/JVM.
Tony McCrary (tmccrary) wrote : | #31 |
That switches the ENTIRE JVM into interpreted mode. Not really a smart idea. It's better to just disable the function causing the crash.
Also, Fedora and Red Hat maintain their own JVM port, IcedTea. There's a good chance they don't have the same problems (or that it's already fixed). They seem to move faster than Sun when it comes to stuff like this.
I realize IcedTea is also in Ubuntu, but it originally comes from the Red Hat folks, so they probably have a more up to date version. They generally do a much better job maintain eclipse and eclipse related software.
Matti Tiainen (mvtiaine) wrote : | #32 |
At work I've been using the IBM JDK as a workaround, Eclipse seems to work perfectly with that. You can then even speedup Eclipse startup a bit by using class data sharing (-Xshareclasses) option, which is similar to the -Xshare option in Sun JRE, but vastly better :)
http://
http://
Xtien (xtien) wrote : | #33 |
-Xint doesn't work for me on AMD64 dual core. I have downgraded to Sun jdk 1.5.
Pasi (pasi-lehtimaki) wrote : | #34 |
- hs_err_pid7620.log Edit (48.0 KiB, text/plain)
Eclipse 3.2.2 crashes on startup every time using Java VM: OpenJDK Server VM (1.6.0-b09 mixed mode linux-x86). Using sun jdk it works fine.
Attached log file.
Mirko Nasato (mirko-nasato) wrote : | #35 |
- hs_err_pid7151.log Edit (63.5 KiB, text/plain)
Same problem here - frequent crashes with Eclipse 3.3.2 and Sun JDK 1.6.0_06. No crashes with JDK 1.5.0_15.
Adding
-XX:CompileCo
to eclipse.ini as suggested by Tony McCrary seems to fix the problem with JDK 1.6. (Thanks Tony!)
Changed in eclipse: | |
status: | Unknown → Confirmed |
terigox (terigox) wrote : | #36 |
I don't know if you need anymore confirmations on this Bug, but I have it as well. I'm running an up to date Hardy Ubuntu (amd64), Eclipse 3.3.2 from their website, sun-java-6 packages from Ubuntu. It crashes very often when I try to manipulate files it seems. Although that could not be related. I haven't found anything that will force it to crash yet. I always seem to notice it when I'm using the project explorer.
I tried downgrading to sun-java-5 (and uninstalling 1.6), but that didn't change anything for me. Also tried adding several things to my eclipse.ini:
-Xms128m
-Xmx512m
-XX:CompileComm
None really seemed to help. I haven't tried downgrading to a previous version of sun-java-6 yet, as I haven't found the packages.
terigox (terigox) wrote : | #37 |
I meant "Package Explorer" not "Project Explorer".
terigox (terigox) wrote : | #38 |
And I feel silly now, of course right after I write that, it just crashed while trying to Auto-Complete something.
Markus Majer (mpathy) wrote : | #39 |
Why not starting Eclipse with sun-java-5 and doing your projects in a newer java version?
Sun Java 5 is additionally the version who is recommended for Eclipse 3.2.* and 3.3.* !!
Just curious? :/
Markus Majer (mpathy) wrote : | #40 |
I want to provide a link how to change the VM with which Eclipse is started, you can do that in your eclipse.ini:
http://
("-vm" !)
Before you have to install sun-java-5.
Paolo Costa (paolinux) wrote : | #41 |
I confirm it works with IBM JRE 1.6!
However, for some reason the file eclipse.ini is not parsed by /usr/bin/eclipse (although inotify reports it's open during the initialization)
Two possible workarounds:
1. create a file eclipserc under $HOME/.eclipse with the following line
JAVA_HOME=
2. use /usr/lib/
J0Sb31R (josbeir) wrote : | #42 |
hardy - amd64 dual
installed sun-java5-jre and set it as default jre with
sudo update-alternatives --config java
this seems to fix the problem... i'm using eclipse for php development so i don't need the newest java for anything else.
Markus Majer (mpathy) wrote : | #43 |
Sure, that is another solution..
Because it is just the default jre, runtime stuff.
If you need another one, or another JDK/SDK, you can choose it for your project from within eclipse.
And the eclipse homepage says it is only tested and recommended with Java 5.0 - but it "could" works also work with Java 6 or Java 7 (IcedTea)
Dmitriy Geels (dmig) wrote : | #44 |
Changing sun-java6 (Ubuntu) status to confirmed, since I get crashes since september 2007 libc6 update (using Feisty) with package sun-java6-jre up to 15-20 per day.
Bug is reproduced after each CVS commit or file search operation in Feisty, then Gutsy, now Hardy.
Eclipse PDT, got from http://
Changed in sun-java6: | |
status: | New → Confirmed |
Dmitriy Geels (dmig) wrote : | #45 |
Just got same Eclipse hang with sun-java5-jre. Waiting for it to crash.
Dmitriy Geels (dmig) wrote : | #46 |
- JRE 1.5 crash log Edit (89.3 KiB, text/plain)
Got it!
IBM java also crashed for me (see e.g. BUG #77393 for dump), but I can't find bug report, where I attached my dump. By the way, IBM java is noticeably slower and consumes twice more RAM, than one from Sun or IcedTea
Sami Nybacka (sapeny) wrote : | #47 |
- hs_err_pid28466.log Edit (56.1 KiB, text/plain)
Don't know if this relate, but my eclipse is crashing a bit differently: if i double click php file open, eclipse crashes.
I have reinstalled eclipse, removed my ~/.eclipse and workspace, reinstalled sun-java6* and xulrunner packages, no help.
eclipse-
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb2729097, pid=28466, tid=3074602784
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libxul.
#
Paolo Costa (paolinux) wrote : | #48 |
I can confirm that I have been using Eclipse for more than a week using the Gutsy packages (on Hardy) without any crash or noticeable slowdown thus far
Jørgen H. Seland (jorgen-fabeljet) wrote : | #49 |
- hs_err_pid6819.log Edit (88.0 KiB, text/plain)
Confirming that bug is still present in sun-java6 version 6-06-0ubuntu1 on 64bit Hardy running on AMD64, 64bit eclipse version 3.3.2.
Crash occurs when the eclipse java compiler is running. Crash dump:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f53dc
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b22 mixed mode linux-amd64)
# Problematic frame:
# V [libjvm.
#
# An error report file with more information is saved as:
# /home/jorgen/
#
# If you would like to submit a bug report, please visit:
# http://
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Drew Stephens (dinomite) wrote : | #50 |
Just one more confirmation of this bug on Hardy AMD64/x86_64 with sun-java6. Using -Xint in eclipse.ini is a workaround. The bug does /not/ affect Eclipse if you are not doing any Java work (say, you're always in PHPeclipse view); I didn't believe a co-worker of mine who has the same setup, until I started working on a Java project.
Flavio C. da Costa (flavio-cdc) wrote : | #51 |
Seems like running eclipse with this parameter makes Eclipse look more stable:
# eclipse -vmargs -client
I only did that due to the fact that the error is happening inside "jre/lib/
So far so good.
Dmitriy Geels (dmig) wrote : | #52 |
- eclipse with -client option crash dump Edit (90.1 KiB, text/plain)
I got hang-n-crash with -client option, but it seems bit more stable, than without this option.
Flavio C. da Costa (flavio-cdc) wrote : | #53 |
No crashed for a couple days here.
Cameron Braid (cameron-braid) wrote : | #54 |
- hs_err_pid1790.log Edit (157.7 KiB, text/plain)
This crashing is happening for me in java 1.6 +
I have tried these vms :
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b12, mixed mode)
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b28)
Java HotSpot(TM) 64-Bit Server VM (build 13.0-b01, mixed mode)
Attached are the crash dumps
Cameron Braid (cameron-braid) wrote : | #55 |
Cameron Braid (cameron-braid) wrote : | #56 |
Cameron Braid (cameron-braid) wrote : | #57 |
The workaround mentioned here http://
> A better workaround is probably to put
>
> -XX:CompileComm
> into eclipse.ini
Craig (candrews-integralblue) wrote : | #58 |
I can confirm that the solution the previous commenter suggests works (openjdk-6 - 6b10-0ubuntu1 on amd64).
eclipse -vm /usr/lib/
Changed in openjdk-6: | |
status: | New → Confirmed |
Changed in eclipse: | |
status: | Unknown → Invalid |
Guus (guus-der-kinderen) wrote : | #59 |
Indeed, putting:
-XX:CompileComm
in eclipse.ini stops my Eclipse (manual download, 3.4.0 "Ganymede") from crashing as well.
$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
$ uname -a
Linux guus-pc-nimbuzz 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 x86_64 GNU/Linux
demch (demch-kwmyf) wrote : | #60 |
I finally get a stable combination 1 week with out crashes.
I have installed from synaptic
Sun java version "1.5.0_15" 1.5.0-15-0ubuntu1
and manually installed
Eclipse SDK Version: 3.4.0 Build id: I20080617-2000
/usr/lib/
I have various serious sorts of crashes using jvms for java 1.6 on Ubuntu 8.04 Hardy amd64
These are my results decreasing in stability:
sun-java-5 1.5.0-15-0ubuntu1 (recommended)
ibm-java-x86-64-jre 6.0-2 (maybe more tests needed)
sun-java-6 6-06-0ubuntu1 (not recommended)
java-6-openjdk 6b10-0ubuntu1 (not recommended)
Markus Majer (mpathy) wrote : | #61 |
As I said many times before.
Read also the Eclipse homepage.
Eclipse isnt recommendend to RUN on the new Java version.
BUT for developing it is completely perfect okay to use another vm / jdk / sdk / crazyjavamarket
Also I NEVER would install a Eclipse from the repository - it is so outdated!
But if that is not bad enough - the also begin to packaging eclipse plugins altough these plugins have a own update mechanism so they will be more outdated than even eclipse.
My recommendation:
Use the Sun Java 5 packages from the repository to run Eclipse, but use a Eclipse from the Eclipse homepage.
If you want to develop in Java 6 or OpenJDK than add them as choice when creating a new project.
Its all easy.
Lucky that I had to do much Java stuff..
I use Eclipse for Python Development (PyDev plugin)
Gerald E Butler (gerald-edward-butler) wrote : | #62 |
branflake2267's solution worked for me as well. This seems the most straight-forward solution:
>>>> branflake2267 wrote on 2008-04-29: (permalink)
>>>>
>>>> Setting 'JAVA_HOME=
>>>>
>>>> I tried OpenJDK and got the crash, I tried sun-java-6 and got the crash on my Ubuntu 8.04 hardy amd x64 system. Started happening after the upgrade. Very annoying bug.
I'm using Hardy with Eclipse 3.2. I was using Sun Java JDK 6 under Gutsy. With upgraded to "Hardy" Eclipse kept crashing as described in this bug. Setting the JAVA_HOME as "branflake2267" described above fixed the problem perfectly (obviously, you will need Sun Java 1.5 installed -- available from Synaptic).
Škrat Bolfenk (miroslav-beranic) wrote : | #63 |
Hi,
using Fedora 9, OpenJDK 6. Solution from Cameron Braid, works great (for now), I needed to compile Spring Batch project. Many thanks.
BTW: I do not think switching to Fedora would have helped - I have same problem on my Ubuntu 8.04 box (as well Fedora 9).
$ java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
$ uname -a
Linux mbs-laptop.local 2.6.25.
Eclipse Platform
Version: 3.3.2
Build id: M20080221-1800
Dioktos (dioktos) wrote : | #64 |
As the <a href="http://
Matthias Klose (doko) wrote : | #65 |
please recheck with openjdk-6 6b11-2ubuntu2 (as found in hardy-proposed)
Changed in openjdk-6: | |
status: | Confirmed → Incomplete |
doniv (doniv79) wrote : | #66 |
I'd like to confirm that using "-XX:CompileCom
If it doesn't work in eclipse.ini (the crash dump file will show the JVM args being used), you can edit /usr/bin/eclipse and put the above in the VMARGS variable.
Starting eclipse from the command line should report the following -
"CompilerOracle: exclude org/eclipse/
exactt (giesbert) wrote : | #67 |
please recheck using the latest openjdk available in hardy-proposed. it is
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
with this, eclipse runs fine on AMD64 so far. (without-
give it a try!
Kim Stebel (kimstebel) wrote : | #68 |
- hs_err_pid14975.log Edit (25.7 KiB, text/plain)
I'm not sure wether this is the same bug or something else, since my eclipse crashes at startup when trying to load the workspace. the error message is the same though. if i specify a different workspace with -data it works fine.
the proposed workaround (using -XX:CompileComm
I tried build 1.6.0_0-b11 from hardy-proposed - no difference.
Some more data:
eclipse 3.3.2
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Server VM (build 1.6.0_0-b11, mixed mode)
CompilerOracle: exclude org/eclipse/
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb6c2292d, pid=14975, tid=3074934560
#
# Java VM: OpenJDK Client VM (1.6.0_0-b11 mixed mode, sharing linux-x86)
# Problematic frame:
# V [libjvm.
#
# An error report file with more information is saved as:
# /opt/eclipse/
#
# If you would like to submit a bug report, please visit:
# https:/
#
Aborted
Kim Stebel (kimstebel) wrote : | #69 |
same problem with 1.5
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
Kim Stebel (kimstebel) wrote : | #70 |
and ibm's jre:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr1-
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-
J9VM - 20080415_
JIT - r9_20080415_1520
GC - 20080415_AA)
JCL - 20080412_01
Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_
Handler1=B715D15D Handler2=B712C5C8 InaccessibleAdd
EDI=BFA13C1C ESI=B71B0CEC EAX=00000000 EBX=B71B5988
ECX=084E7D74 EDX=BFA1415C
EIP=B7178D26 ES=0000007B DS=BFA1007B ESP=BFA13BD8
EFlags=00210202 CS=00000073 SS=0000007B EBP=080BC500
Module=
Module_
Target=
CPU=x86 (2 logical CPUs) (0xbd986000 RAM)
----------- Stack Backtrace -----------
/opt/ibm-
/opt/ibm-
/opt/ibm-
/opt/ibm-
/opt/ibm-
/opt/ibm-
[0xb7f67440]
-------
JVMDUMP006I Processing dump event "gpf", detail "" - please wait.
JVMDUMP007I JVM Requesting System dump using '/opt/ibm-
JVMDUMP010I System dump written to /opt/ibm-
JVMDUMP007I JVM Requesting Snap dump using '/opt/ibm-
JVMDUMP010I Snap dump written to /opt/ibm-
JVMDUMP007I JVM Requesting Java dump using '/opt/ibm-
JVMDUMP013I Processed dump event "gpf", detail "".
Matthias Klose (doko) wrote : | #71 |
fixed with openjdk-6 6b11 in hardy-updates
Changed in openjdk-6: | |
status: | Incomplete → Fix Released |
Matthias Klose (doko) wrote : | #72 |
for sun-java6, please recheck with sun-java6 6-07
Changed in sun-java6: | |
status: | Confirmed → Incomplete |
Olivier FAURAX (olivier-faurax) wrote : | #73 |
Same problem on a Mandriva 2008.1.
Eclipse 4.0.1, java version "1.6.0_06"
Matti Lindell (mlind) wrote : | #74 |
Still happens with 6-07-3ubuntu2 in hardy-proposed. I'm using x86-64.
Previously mentioned "-XX:CompileCom
Changed in sun-java6: | |
status: | Incomplete → Confirmed |
Claudio Margulhano (cmargulhano) wrote : | #75 |
I do not use the Ubuntu but I am a big fan.
Currently I use Slackware 12.1.
I was having this problem with Eclipse.
I solved my problem installing the OpenJDK 7.
Good luck to all.
Franck (alci) wrote : | #76 |
Thanks Claudio.
On my side, eclipse runs perfectly here on a freshly installed 8.10 AMD64 Ubuntu. I use default-jdk package, that is openjdk-1.6.
Maybe the bug is gone ?
Claudio Margulhano (cmargulhano) wrote : | #77 |
Hi,
I realized that this occurred with many people ...
I do not use Gnome, the official distribution of SuSE is KDE 3.5 ...
Thank God the Eclipse worked.
These post here of the forum were very helpful.
I do not need the JVM from Sun for the development of my applications. My clients use Windows, then do the tests for the application I need to use VirtualBox for example.
!!!! Long live the Linux community !!!!!
Thank you very much.
Hugs,
Claudio
Claudio Margulhano (cmargulhano) wrote : | #78 |
Ops....
Sorry, I meant Slackware up.
Hugs,
Cláudio
Changed in eclipse: | |
status: | Confirmed → Fix Released |
Andrew Lenards (lenards) wrote : | #79 |
- JVM crash log Edit (71.4 KiB, text/plain)
proving my laziness (and partly dreading issues like this), I just upgrade my work machine from gutsy to hardy and I can confirm the java-6-sun and I can confirm this issue w/ the following:
OS Linux xxxx.xxx.
Eclipse 3.3.2 (manual download) (developing java)
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
I had no issues in Gutsy until the upgrade today.
I work on the Tree of Life Web project and we're using 1.5 so the downgrade to java-1.5.0-sun appears to be working. I will see if openjdk6 works.
James Stansell (jamesstansell) wrote : | #80 |
I was reading eclipse release notes recently (probably the 3.5M5 release) and saw a warning about using a whole range of JVM versions. I think something like 6u3 through 6u7 had problems.
It's possible to grab 6u11 or 6u12 from intrepid and/or jaunty and install it on hardy (and even earlier than hardy) if you care to try that.
Kees de Kooter (kees-boplicity) wrote : | #81 |
Having the same problem with both Eclipse 3.4 and 3.5RC4 and both latest sun jvm and latest openjdk on Jaunty:
# Java VM: OpenJDK 64-Bit Server VM (14.0-b08 mixed mode linux-amd64 )
# Distribution: Ubuntu 9.04, package 6b14-1.4.1-0ubuntu7
# Problematic frame:
# C [libxul.
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.3-b02 mixed mode linux-amd64)
# Problematic frame:
# C [libxul.
Kees de Kooter (kees-boplicity) wrote : | #82 |
A downgrade to libxul-common 1.8.1.16 fixed the problem for me.
Khairul Aizat Kamarudzzaman (fenris) wrote : | #83 |
- hs_err_pid7110.log Edit (89.0 KiB, text/plain)
its happend to me in karmic ,
searching for compatible vm...
testing /usr/lib/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x703e5187, pid=7110, tid=3073883024
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Server VM (14.0-b16 mixed mode linux-x86 )
# Problematic frame:
# C [libxul.
#
# An error report file with more information is saved as:
# /home/fenris/
#
# If you would like to submit a bug report, please visit:
# http://
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
after upgrading eclipse to 3.4.1 , attach with error report
Khairul Aizat Kamarudzzaman (fenris) wrote : | #84 |
using libxul-common 1.8.1.16+
Khairul Aizat Kamarudzzaman (fenris) wrote : | #85 |
- hs_err_pid7190.log Edit (89.8 KiB, text/plain)
searching for compatible vm...
testing /usr/lib/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x08c74187, pid=7190, tid=5708688
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Server VM (14.0-b15 mixed mode linux-x86 )
# Distribution: Ubuntu karmic (development branch), package 6b16~pre3-0ubuntu1
# Problematic frame:
# C [libxul.
#
# An error report file with more information is saved as:
# /home/fenris/
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https:/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
if using openjdk
Marcos Petry (marcosrpetry) wrote : | #86 |
I had the same problem...
It could sound strange but as workaround I removed the ../workspace/
Regards,
Ichthyostega (ichthyo) wrote : | #87 |
> Marcos Petry wrote on 2009-07-24:
> ... as workaround I removed the ../workspace/
outch, I whouldn't recommend that to anyone!
- you throw away maybe lots of local workspace data and configuration
- this isn't a workaround, it just hides the problem until your workspace
configuration
In the current situation, there are two known resolutions or workarounds:
- use a Java-5 JRE to run ECLIPSE (note: you can still use a JDK-6 inside for your programs)
- use the newest updates for sun java-6 (> update 11)
Ichthyostega (ichthyo) wrote : | #88 |
...just to add some clarifications:
I don't know how the situation is with OpenJDK? Did they already pick up the upstream fix?
As I understand it, this bug is about a crash caused in the JDK java compiler.
https:/
Of course, there might be other unrelated bugs in other third party libraries which also cause
a hard crash of the JVM (personally, I saw libxul, the GTK and occasionally the xserver-xorg,
but nither of these was reproducable for me).
For a Java user, all of these crashes might seem like "the same bug", but they aren't.
You can see the source of the problem in the stacktrace: look at the "Problematic frame".
PolitikerNEU (bobbug) wrote : | #89 |
I have got a similar error in my downloaded eclipse, it crashes all the time, e.g. after clicking "finish" of the configure-
[Fatal Error] :37899:55: Premature end of file.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f7b44
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0-b16 interpreted mode linux-amd64 )
# Problematic frame:
# C [libpango-
#
# An error report file with more information is saved as:
# /home/robert/
#
# If you would like to submit a bug report, please visit:
# http://
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
PolitikerNEU (bobbug) wrote : | #90 |
Forgot to mention: I use karmic, amd64, adding the -Xint-Option doesn't help.
Rarian Rakista (rakista) wrote : | #91 |
searching for compatible vm...
testing /usr/lib/
!SESSION 2009-09-06 11:45:00.863 -------
eclipse.
java.version=
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA
Framework arguments:
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2009-09-06 11:45:01.121
!MESSAGE Error reading configuration: No such file or directory
!STACK 0
java.io.
at java.io.
at java.io.
at java.io.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
Crashes with no error message
tags: | added: local-binary swt-gtk |
Niels Thykier (niels-thykier) wrote : | #92 |
Hi
Please retest this in eclipse 3.5.1. You probably have to remove your "~/.eclipse" for it though and may also have to use an empty workspace.
Thank you in advance,
~Niels
Changed in eclipse (Ubuntu): | |
status: | Confirmed → Incomplete |
Volodymyr Buell (vbuell) wrote : | #93 |
eclipse 3.5.1 have the same problems i had with 3.5 (as well as eclipse 3.6m2). And in my case it crashes at pango_layout_
Niels Thykier (niels-thykier) wrote : | #94 |
Hi
I think this might be cause the swt cairo lib is very old. In the next upload of eclipse we should have this fixed.
~Niels
Changed in eclipse (Ubuntu): | |
assignee: | nobody → Niels Thykier (niels-thykier) |
status: | Incomplete → Fix Committed |
Vanda Ribeiro (vanda-ribeiro) wrote : | #95 |
I had a problem with Eclipse crashing when I debugged/ran a program.
Using Java-5 JRE to run Eclipse worked for me (at least, so far so good).
Thanks :)
Niels Thykier (niels-thykier) wrote : | #96 |
Hi
This should be fixed in 3.5.1-0ubuntu3, which was uploaded some 8 hours ago. You may have to remove your ~/.eclipse and start in a empty workspace for it to work.
If you still experience this, please write back and we will reopen it.
~Niels
Changed in eclipse (Ubuntu): | |
status: | Fix Committed → Fix Released |
Allan Bogh (ajbogh) wrote : | #97 |
I received this same problem on Ubuntu 9.10 64bit. Eclipse version: 3.5.1 build id: M20090917-0800. It happens when I try to install phpEclipse from the software installation window. It will let me get through everything but when I hit Finish it immediately crashes with the same error as the originator. I will try to install Java 5 (not preferable).
BeowulfOF (beowulfof) wrote : | #98 |
- Eclipse-Error.log Edit (64.7 KiB, text/plain)
On Ubuntu 9.10 it is stilll an actual problem, I can't work with eclipse, since all thre steps it crashes, even in the tutorials.
Niels Thykier (niels-thykier) wrote : | #99 |
@BeowulfOF:
Hi
Checking your log it looks like you are suffering from #445009 and not this one. Said bug will be closed on next upload to Ubuntu.
~Niels
rbt (rula6) wrote : | #100 |
It still seems to be a problem with Ubuntu 9.10 for sun-java5 and sun-java6. Therefore I think the status of this bug should be changed.
Best.
rbt
Dmitriy Geels (dmig) wrote : | #101 |
I haven't seen this problem for a long time, since I use Eclipse 3.5 (manually installed) and sun-java6 (from repo).
I recommend installing latest Eclipse from official site.
rbt (rula6) wrote : | #102 |
- hs_err_pid2332.log Edit (73.4 KiB, text/plain)
Even with Eclipse 3.5.2 and sun-java6 I do have this problem. See attached log
Andries (andries-spies) wrote : | #103 |
My fix for this was to remove firefox + xulrunner completely, re-installing older version of xulrunner (1.9.2) and gnome-integration. This fix the problem for me. Probably not the best solution (i'm without firefox), but google's chrome browser is replaces firefox nicely.
Micah Gersten (micahg) wrote : Re: [Bug 174759] Re: Eclipse crashes due to jvm crash | #104 |
Which version of Ubuntu are you on? Xulrunner 1.9.2 is the current
version in Lucid. Also, Firefox in Lucid doesn't need xulrunner as it
ships its own copy.
On 04/28/2010 09:25 AM, Andries wrote:
> My fix for this was to remove firefox + xulrunner completely, re-
> installing older version of xulrunner (1.9.2) and gnome-integration.
> This fix the problem for me. Probably not the best solution (i'm without
> firefox), but google's chrome browser is replaces firefox nicely.
>
Will Bickerstaff (willbickerstaff) wrote : | #105 |
- hs_err_pid18828.log Edit (69.7 KiB, text/plain)
I see this also in 10.04, In fact eclipse is pretty un-useable with an apparently random crash every other minute. Doesn't seem to matter if I use sun-java or openjdk its just really unstable. Attached openjdk error
Niels Thykier (niels-thykier) wrote : | #106 |
Will wrote:
> I see this also in 10.04, In fact eclipse is pretty un-useable with an
> apparently random crash every other minute. Doesn't seem to matter if I
> use sun-java or openjdk its just really unstable. Attached openjdk error
>
> ** Attachment added: "hs_err_
> http://
>
Hi
The crash is due to xulrunner; could you try to ensure you only got one
xulrunner installed.
~Niels
Will Bickerstaff (willbickerstaff) wrote : | #107 |
Niels, Thanks had some 1.9.1 components still installed. Removed and now working for 20mins crash free.
fingerskier (fingerskier) wrote : | #108 |
- hs_err_pid4946.log Edit (112.3 KiB, text/plain)
Haven't had any issues until this. Eclipse crashed while switching workspaces as an update was downloading in yet another workspace. Thanks in advance for attention given to this matter.
Raymond Hill (rhill) wrote : | #109 |
- hs_err_pid4590.log Edit (118.2 KiB, text/plain)
I also have regular crashes, all occurring in libjvm.so. Address at or around 0x4fdf52 seems to be involved, is it shows up in 3 out of 4 crashes I had today, while the other I had 0x4fdf48.
Laszlo Suto (laszlo-suto) wrote : | #110 |
- hs_err_pid17906.log Edit (63.8 KiB, text/plain)
I have regular jvm crashes also these days. It happens starting jboss 5.1.0 or eclipse 3.5 or 3.6, but it is not reproducible. I've attached one of my crash report. The crash occurs every time in the libjvm.so but the address is not constant. I've tried already with openjdk-6 but it is the same, tried also with the fresh sun java 1.6.0_21 but nothing has been changed. I've got updated lucid lynx with sun-java6 default java.
Niels Thykier (niels-thykier) wrote : | #111 |
@Raymond Hill:
If you still have this issue, please file a new bug against eclipse. We need additional info than the one provided by your crash log (though please do attach it to your new bug). Depending on how you file the bug, you may have to run apport-bug $new_bug_id after wards.
@fingerskier and @Laszlo Suto:
You both use an eclipse that has not been installed via Ubuntu's repositories; we cannot do much about your issue. If you can reproduce the issue with the eclipse from Ubuntu's APT repositories then please follow the same instructions as I gave Raymond Hill (please use the crash log produced by the Ubuntu eclipse). Otherwise, you will have to file a bug against eclipse upstream asking them to fix the issue. You should probably file a new bug (at least do not use the one linked from here - it seems to be a different issue/cause).
Thank you in advance,
~Niels
Changed in eclipse (Ubuntu): | |
assignee: | Niels Thykier (niels-thykier) → nobody |
Changed in eclipse (Gentoo Linux): | |
importance: | Unknown → Medium |
Nem Nesic (nemnesic) wrote : | #112 |
I have the same problem running Ubuntu 10.04 on my lap top only. JVM crashes all the time. It is not only related to Eclipse. It crashes when I run grails app, or tomcat , or anything that runs in JVM. Now, the weird thing is that I have the same java, eclipse, grails, ubuntu, tomcat on my desktop. So the software part is identical and everything works fine. No JVM crashes at all!
I read someowere that bad hardware can cause JVM to crash. Is this true?
Oh and I tried open jdk and sun jdk 6. but no luck.
nn
Laszlo Suto (laszlo-suto) wrote : | #113 |
Yes, it could be the hardware. For me it turned out that the memory module was faulty, after it was replaced everything works fine.
linux4guru (linux4guru) wrote : | #115 |
I do think this is hardware related too - we have desktop system on ASUS i5 and some i7 which worked fine with FC12 but the newer ASUS with i7 2600k CPU - those system crashed every time.
no longer affects: | sun-java6 (Ubuntu) |
error log