Community
Participate
Working Groups
Created attachment 252031 [details] core dump When indexing large project, Eclipse crash on Ubuntu 14.10 with both oracle jdk 1.8, openjdk 1.7 and openjdk 1.8 Crash log in stdout; java.lang.InterruptedException at java.lang.Object.wait(Native Method) at org.eclipse.core.internal.jobs.Semaphore.acquire(Semaphore.java:39) at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:861) at org.eclipse.core.internal.jobs.InternalJob.join(InternalJob.java:384) at org.eclipse.core.runtime.jobs.Job.join(Job.java:420) at org.eclipse.linuxtools.internal.cdt.libhover.LibHover.getFunctionInfo(LibHover.java:388) at org.eclipse.cdt.internal.ui.text.CHelpSettings.getFunctionInfo(CHelpSettings.java:121) at org.eclipse.cdt.internal.ui.CHelpProviderManager.getFunctionInfo(CHelpProviderManager.java:163) at org.eclipse.cdt.internal.ui.text.c.hover.CDocHover.getHoverInfo(CDocHover.java:81) at org.eclipse.cdt.internal.ui.text.c.hover.AbstractCEditorTextHover.getHoverInfo2(AbstractCEditorTextHover.java:84) at org.eclipse.cdt.internal.ui.text.c.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:144) at org.eclipse.cdt.internal.ui.text.c.hover.CEditorTextHoverProxy.getHoverInfo2(CEditorTextHoverProxy.java:84) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f7660f8835c, pid=19408, tid=140145627846400 # # JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode linux-amd64 compressed oops) # Problematic frame: # J 29151 C2 org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTDeclarator.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z (254 bytes) @ 0x00007f7660f8835c [0x00007f7660f87660+0xcfc] Refer to dump file for more detail
Looks like a bug in Java. Can you try the workaround mentioned in bug 333227 comment 7 ?
thx for workaround *** This bug has been marked as a duplicate of bug 333227 ***
Created attachment 252047 [details] another crash After -XX:-UseCompressedOops to eclipse.ini workaround, another reason still causes crash [libjvm.so+0x976fdd] oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x4d [libjvm.so+0x976978] PSPromotionManager::drain_stacks_depth(bool)+0x808 [libjvm.so+0x3f8c4e] CardTableExtension::scavenge_contents_parallel(ObjectStartArray*, MutableSpace*, HeapWord*, PSPromotionManager*, unsigned int, unsigned int)+0xafe [libjvm.so+0x97a25b] OldToYoungRootsTask::do_it(GCTaskManager*, unsigned int)+0x4b [libjvm.so+0x5cabaf] GCTaskThread::run()+0x12f [libjvm.so+0x910ee8] java_start(Thread*)+0x108 refer to attached file for more detail
reopen
Do you have sample code that causes the crash that could be attached? In the end, it's probably better to open a bug against openjdk though.