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

Bug 279300

Summary: SIGBUS terminates eclipse initializing JGit workspace
Product: [Eclipse Project] Platform Reporter: John Bito <jwbito>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: remy.suen
Version: 3.5   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Whiteboard:
Attachments:
Description Flags
JVM crash log none

Description John Bito CLA 2009-06-05 14:22:32 EDT
Created attachment 138439 [details]
JVM crash log

Build ID: I20090528-2000

Steps To Reproduce:
1. Installed Eclipse 3.4.1 or 3.5RC3
2. Installed JGit from http://www.jgit.org/update-site/
3. Invoke File->Import, Git->"Git Repository"
4. Specify URI=git@github.com:baiker/nb_ads.git; protocol=git+ssh;
5. (Contact me to set up github access)
6. 'Import projects after clone' should be selected; selecting 'Next' will start repository download.
7.  Observe SIGBUS on Solaris 10.



More information:
Eclipse coredumps initializing complex workspace (status bar says Initializing Java tooling 1%).  The first problem was a SIGBUS that occurred on my 'stable' configuration running Eclipse 3.4.1 (JDK 1.6.0_12-b04) immediately after applying an update for the EGit(JGit) feature.  I have since checked logs for hardware faults and reproduced the problem with JDK 1.6.0_13-b03 (fails with  SIGSEGV rather than SIGBUS). I submitted the JVM crash log on the Sun website.

The problem occurs on my new install of Eclipse 3.5RC3 with EGit(JGit) <http://www.jgit.org/update-site/>. The problem doesn't occur if the workspace doesn't include projects that use JGit SCM, but the JGit folks point out that they are 100% Java and shouldn't be able to cause a SIGBUS/SIGSEGV.

It may be worth noting that the Eclipse 3.5RC3 install has a newer update to JGit than the 3.4.1 install.
Comment 1 John Arthorne CLA 2009-06-07 23:32:08 EDT
Please report this problem to JGit. From the crash log:

# Problematic frame:
# j  org.spearce.jgit.lib.OffsetCache.removeAll(Lorg/spearce/jgit/lib/PackFile;)V+13