javac crashes VM on Mac (jdk9/dev)
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Jul 20 03:17:11 UTC 2016
https://bugs.openjdk.java.net/browse/JDK-8155781
On 7/19/16 8:03 PM, Wang Weijun wrote:
> I just synced all my repos and did a exploded build, and it crashes if I want to compile a simple program with javac directly. If the program has an error, javac will happily point it out and exit nicely.
>
> # To suppress the following error report, specify this argument
> # after -XX: or in .hotspotrc: SuppressErrorAt=/library_call.cpp:2803
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/space/repos/jdk9/dev/hotspot/src/share/vm/opto/library_call.cpp:2803), pid=52376, tid=27395
> # assert(alias_type->adr_type() == TypeRawPtr::BOTTOM || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->basic_type() != T_ILLEGAL) failed: field, array element or unknown
> #
> # JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-07-19-162420.ww155710.dev)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-07-19-162420.ww155710.dev, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
> # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /private/tmp/hs_err_pid52376.log
> #
> # Compiler replay data is saved as:
> # /private/tmp/replay_pid52376.log
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.java.com/bugreport/crash.jsp
> #
> Current thread is 27395
> Dumping core ...
> Abort trap: 6
>
> If you want to read more, I put the logs at
>
> https://gist.github.com/wangweij/06476f39fcee5b36012786135ebe208d
> https://gist.github.com/wangweij/cdcdc11df81435cfbfe0bcf024ae91d3
>
> Thanks
> Max
>
More information about the hotspot-dev
mailing list