Yikes.  Thanks for the quick report, Stephen.  I pushed an updated patch to get 
past the immediate bug and am looking more at the problem.

-- John

P.S.  Here are some random notes about debugging which might be useful:

The log file "hs_err_pid70212.log" might have been interesting for me to look 
at, although it might not contain a symbolic backtrace.

To get a symbolic backtrace, run java (or gamma, if that's what's built) with 
-XX:+ShowMessageBoxOnError.  When the error crops up, type 'yes <RETURN>' to 
jump into gdb.  Select the offending thread and say "where".  (You can tell 
which one it is because it is waiting for input from stdin.  "info threads" 
helps.)

Also, as the error message suggests, you can try re-running with 
-XX:SuppressErrorAt=/ciMethod.hpp:95 to see if you get a more interesting error 
message.  But you'd probably get a SEGV in this case.

On Jul 15, 2010, at 8:43 PM, Stephen Bannasch wrote:

> I just updated the bsdport sources and the mlvm patchsets and I'm getting the 
> following fatal error in the Java runtime just 
> after executing:
> 
>   cd bsd_i486_compiler1/fastdebug && ./test_gamma
> 
>   # A fatal error has been detected by the Java Runtime Environment:
>   #
>   #  Internal Error 
> (/Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/ci/ciMethod.hpp:95),
>  pid=69568, tid=2954858496
>   #  assert(is_loaded()) failed: not loaded
> 
> The end of the console output and a copy of the error log are in this gist: 
> http://gist.github.com/477883
> 
> I'm using Landon Foller's 32 bit Soylatte as the  build JVM.
> 
> If I rerun test_gamma outside of the build process I get an Abort trap.
> 
>   [sources]$ cd 
> ./build/bsd-i586/hotspot/outputdir/bsd_i486_compiler1/fastdebug && 
> ./test_gamma
>   java full version "1.6.0_03-p3-landonf_19_aug_2008_14_55-b00"
>   java version "1.6.0_03-p3"
>   Java(TM) SE Runtime Environment (build 
> 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00)
>   OpenJDK Client VM (build 19.0-b03-fastdebug, mixed mode)
> 
>   # To suppress the following error report, specify this argument
>   # after -XX: or in .hotspotrc:  SuppressErrorAt=/ciMethod.hpp:95
>   #
>   # A fatal error has been detected by the Java Runtime Environment:
>   #
>   #  Internal Error 
> (/Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/ci/ciMethod.hpp:95),
>  pid=70212, tid=2954858496
>   #  assert(is_loaded()) failed: not loaded
>   #
>   # JRE version: 6.0_03
>   # Java VM: OpenJDK Client VM (19.0-b03-fastdebug mixed mode bsd-x86 )
>   # An error report file with more information is saved as:
>   # 
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler1/fastdebug/hs_err_pid70212.log
>   #
>   # If you would like to submit a bug report, please visit:
>   #   http://java.sun.com/webapps/bugreport/crash.jsp
>   #
>   Current thread is 2954858496
>   Dumping core ...
>   ./test_gamma: line 12: 70212 Abort trap              ./${gamma:-gamma} 
> -Xbatch -showversion Queens < /dev/null
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev@openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to