| Summary: | Oracle Java 6 update 23 crashes when running Eclipse CDT (64-bit version of CDT & JRE) [see comment 7 for workaround] | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Alexander Bychkov <dsso.abychkov> | ||||||
| Component: | cdt-parser | Assignee: | Project Inbox <cdt-parser-inbox> | ||||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | abhiravk, accountarbit109, akimaki, aleherb+eclipse, andy.m.sheldon, bab, bam, bangou86, cdtdoug, cooper, craigoliveira, cschol2112, dongseong.hwang, eclipse.sprigogin, eclipse, elazarl, gabrielsjoberg, gnfranco, gudavalligautam, joant, joe.remes, kpeng, malaperle, mitch.peng, mknauer, mrossello.public, neinome, oliver.mueller, orazio.1985, oyvind.harboe, philton, preetammn, ryano, sandiskr, smcclenahan, ssoni, sven.koehler, tgjonesuk, therandshow, torgeriedel, yevshif, zahroofm, zenith, zerke2001 | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Alexander Bychkov
I can confirm that this bug also occurs with Oracle Java 6u23 on CentOS 5.3 (64-bit). Created attachment 185845 [details]
Log file for crash on CentOS 5.3
Here's a crash log from 64-bit CentOS 5.3 with Oracle Java 6u23 (also 64-bit).
I am not sure if it has anything to do with CDT or it is JVM bug but the log points to
> # Problematic frame:
> # J org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTFunctionDeclarator.postAccept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z
Should somebody take a look at the parser code just in case?
The vm crashes while executing code generated by the jit-compiler. That is not CDT's fault. From the log file written it looks like the JVM is low on perm-space, so you might get around the issue by increasing the max perm size. *** Bug 333330 has been marked as a duplicate of this bug. *** I to am having this problem, my error log is reporting the following log header (other information left out for brevity, provided on request): # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000260d16e, pid=3816, tid=2676 # # JRE version: 6.0_23-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode windows-amd64 compressed oops) # Problematic frame: # j org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPSemantics.declaredBefore(Ljava/lang/Object;Lorg/eclipse/cdt/core/dom/ast/IASTNode;Z)Z+15 # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # I'm running Windows 7 64-bit in a Parallels Boot Camp VM on Mac OSX 10.6.6. I've yet to reboot properly into the partition to check if the error still occurs. But from what I see here it looks like it doesn't have anything to do with Parallels. The crash occurs when I try and add a linked directory to one of my projects, the directory contains a C++ source and header files. The parser automatically kicks in and then the crash happens at an arbitrary time soon after. Let me know if I can help with the resolution in any way. Tim I think this can be worked around by adding -XX:-UseCompressedOops to eclipse.ini This could be another JIT compiler bug similar to http://bugs.sun.com/view_bug.do?bug_id=6614100. To disable the JIT compiler add -Xint to the vmargs in eclipse.ini. To exclude only the problematic method from JIT compilation, use -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFunctionDeclarator,postAccept -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics,declaredBefore Marc-Andre your workaround got things going, thanks. Anton, I'll test your workaround and post the result. Thanks again. Tim I think Marc-Andre's workaround is the best choice. See also http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7002666. *** Bug 335401 has been marked as a duplicate of this bug. *** *** Bug 335449 has been marked as a duplicate of this bug. *** *** Bug 336311 has been marked as a duplicate of this bug. *** I am experiencing the exact same problem. Marc-Andre's suggestion seems to have solved it. Thanks! *** Bug 337419 has been marked as a duplicate of this bug. *** *** Bug 337952 has been marked as a duplicate of this bug. *** *** Bug 338071 has been marked as a duplicate of this bug. *** *** Bug 338165 has been marked as a duplicate of this bug. *** *** Bug 338513 has been marked as a duplicate of this bug. *** Hi, version 6u24 64bit crashes as well. I solved by using openjdk. I was experiencing Eclipse crash issue for quite some time. Marc-Andre Laperle suggestion worked for me. Thank you very much. *** Bug 339017 has been marked as a duplicate of this bug. *** *** Bug 339010 has been marked as a duplicate of this bug. *** *** Bug 339244 has been marked as a duplicate of this bug. *** *** Bug 339338 has been marked as a duplicate of this bug. *** *** Bug 339423 has been marked as a duplicate of this bug. *** *** Bug 340289 has been marked as a duplicate of this bug. *** *** Bug 264919 has been marked as a duplicate of this bug. *** Created attachment 192358 [details]
A crash on my Linux Ubuntu 10.10 64bit
Trying to index FreeSwitch latest git Makefile.
Have 5 more log files if needed
(In reply to comment #29) > Created attachment 192358 [details] > A crash on my Linux Ubuntu 10.10 64bit > > Trying to index FreeSwitch latest git Makefile. > > Have 5 more log files if needed Thanks but it's not a bug in CDT :) See comment 7 for workaround. *** Bug 342368 has been marked as a duplicate of this bug. *** *** Bug 342544 has been marked as a duplicate of this bug. *** *** Bug 342801 has been marked as a duplicate of this bug. *** *** Bug 342803 has been marked as a duplicate of this bug. *** *** Bug 343126 has been marked as a duplicate of this bug. *** Java 6u25 (see http://www.oracle.com/technetwork/java/javase/downloads/index.html) solves the problem for me, under Windows x64 *** Bug 345190 has been marked as a duplicate of this bug. *** *** Bug 345711 has been marked as a duplicate of this bug. *** *** Bug 346849 has been marked as a duplicate of this bug. *** Java 6u25 as suggested by Enriquevagu also worked for me. Should we mark this as fixed then? (In reply to comment #40) > Java 6u25 as suggested by Enriquevagu also worked for me. Should we mark this > as fixed then? I don't think it should be marked as fixed. This is not a Eclipse/CDT problem and it is already marked as Resolved/Not Eclipse. *** Bug 347400 has been marked as a duplicate of this bug. *** *** Bug 350401 has been marked as a duplicate of this bug. *** *** Bug 350512 has been marked as a duplicate of this bug. *** *** Bug 351234 has been marked as a duplicate of this bug. *** Made the title more accurate :) *** Bug 360134 has been marked as a duplicate of this bug. *** *** Bug 360377 has been marked as a duplicate of this bug. *** *** Bug 361765 has been marked as a duplicate of this bug. *** Where do I add the work around in eclpise.ini? I tried adding it to the end and now it says that it cannot create Java VM.... help!? To neinome@gmail.com, First I would recommend getting a newer release of Java. This bug in the JVM has been fixed. I put the -XX:-UseCompressedOops option on my eclipse command line, worked perfectly. But I have since removed it as it is no longer necessary. *** Bug 374624 has been marked as a duplicate of this bug. *** *** Bug 463563 has been marked as a duplicate of this bug. *** |