FULL PRODUCT VERSION :
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)
FULL OS VERSION :
Linux towel.yyz.redhat.com 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Running ecj with JAVA_HOME set to openjdk causes a segfault. It only segfaults because the default vm used is "server". Works fine when "-client" is passed to java.
This also fails with openjdk6. This is not an issue with IcedTea.
Note, if the "nowarn" flag is not used, it works... or if "-client" is
used it works.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Fails with eclipse-ecj
$ sudo rpm -q eclipse-ecj
eclipse-ecj-3.3.2-11.fc9.i386
Can be fixed by adding "-client" to /usr/bin/ecj - forces hotspot to use client vm instead of server.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Should not segfault.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Add -client option in /usr/bin/ecj