JDK8 vm crash on Solaris 11 Express

Jonathan Lu chuanshenglu at gmail.com
Mon Oct 31 19:29:43 PDT 2011


On 10/29/2011 01:20 AM, Tom Rodriguez wrote:
> On Oct 28, 2011, at 12:08 AM, Jonathan Lu wrote:
>
>> Hello,
>>
>> I got a vm crash issue from my newly built JDK8 on Solaris 11 Express 2010.11 and SolarisStudio12.2. This happens for every java program including JDK tools and demos. But it seems to be from client VM only since if I specify "-server" parameter to the Java launcher, the crash issue will disappear.
>>
>> Have you guys ever experienced this problem? can anybody help me on that?
> There's some issue building with the 12.2 tools.  7019374 was filed about this.  At the time I tried building with 12.2 and didn't see a problem.  CC -V reported this on the version I used:
>
> CC: Sun C++ 5.11 SunOS_i386 145731-01 2010/12/28
>
> What does it report for your version?  If it's older than that then you should try to get the latest version of the tool or just use 12.1, which is the officially supported version.
>
Hi Tom,

CC -V reports this on my Solaris box
CC: Sun C++ 5.11 SunOS_i386 2010/08/13

Seems older than your tools, so I think I will try version 12.1 tools to 
build it again.

Thank you!

> tom
>
>> Here's the error message when running demo jfc/Fond2DTest.
>> -----------------------------------------------------
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  SIGSEGV (0xb) at pc=0xd0328888, pid=14921, tid=7
>> #
>> # JRE version: 8.0
>> # Java VM: OpenJDK Client VM (23.0-b03 mixed mode solaris-x86 )
>> # Problematic frame:
>> # V  [libjvm.so+0x328888]  Interval*LinearScan::split_child_at_op_id(Interval*,int,LIR_OpVisitState::OprMode)+0x54
>> #
>> # Core dump written. Default location: /home/luchsh/jdk8/build/solaris-i586/j2sdk-image/core or core.14921
>> #
>> # An error report file with more information is saved as:
>> # /home/luchsh/jdk8/build/solaris-i586/j2sdk-image/hs_err_pid14921.log
>> #
>> # If you would like to submit a bug report, please visit:
>> #   http://bugreport.sun.com/bugreport/crash.jsp
>> #
>> -----------------------------------------------------------------------
>>
>> Here's some lines of hs_err_pid14921.log.
>> -----------------------------------------------------------------------
>> Stack: [0xb96fe000,0xb977e000],  sp=0xb977d290,  free space=508k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
>> V  [libjvm.so+0x328888]  Interval*LinearScan::split_child_at_op_id(Interval*,int,LIR_OpVisitState::OprMode)+0x54
>> V  [libjvm.so+0x328c23]  void LinearScan::resolve_collect_mappings(BlockBegin*,BlockBegin*,MoveResolver&)+0xeb
>> V  [libjvm.so+0x32926d]  void LinearScan::resolve_data_flow()+0x459
>> V  [libjvm.so+0x32c984]  void LinearScan::do_linear_scan()+0x94
>> V  [libjvm.so+0x238e6e]  void Compilation::emit_lir()+0x2c6
>> V  [libjvm.so+0x2c6708]  Compilation::Compilation(AbstractCompiler*,ciEnv*,ciMethod*,int,BufferBlob*)+0x46c
>> V  [libjvm.so+0x22115c]  void Compiler::compile_method(ciEnv*,ciMethod*,int)+0x148
>> V  [libjvm.so+0x21c28d]  void CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc05
>> V  [libjvm.so+0x21481c]  void CompileBroker::compiler_thread_loop()+0x9dc
>> V  [libjvm.so+0x213e38]  void compiler_thread_entry(JavaThread*,Thread*)+0x18
>> V  [libjvm.so+0x1fd947]  void JavaThread::thread_main_inner()+0xb3
>> V  [libjvm.so+0x1fd88a]  void JavaThread::run()+0x1c2
>> V  [libjvm.so+0x5d4570]  java_start+0x10c
>> C  [libc.so.1+0xbd673]  _thrp_setup+0x9b
>> C  [libc.so.1+0xbd920]  _lwp_start+0x0
>>
>>
>> Current CompileTask:
>> C1:   4028    3             java.lang.String::hashCode (67 bytes)
>>
>>
>> ---------------  P R O C E S S  ---------------
>>
>> Java Threads: ( =>  current thread )
>>   0x08169800 JavaThread "Service Thread" daemon [_thread_blocked, id=8, stack(0xb96ad000,0xb96fd000)]
>> =>0x08168000 JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=7, stack(0xb96fe000,0xb977e000)]
>>   0x08165c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6, stack(0xb977f000,0xb97cf000)]
>>   0x08129c00 JavaThread "Finalizer" daemon [_thread_blocked, id=5, stack(0xcd815000,0xcd865000)]
>>   0x08125000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4, stack(0xcd866000,0xcd8b6000)]
>>   0x08066000 JavaThread "main" [_thread_in_native, id=2, stack(0xcfe8f000,0xcfedf000)]
>>
>> Other Threads:
>>   0x0811f400 VMThread [stack: 0xcd8b7000,0xcd937000] [id=3]
>>   0x0816d400 WatcherThread [stack: 0xb962c000,0xb96ac000] [id=9]
>>
>> VM state:not at safepoint (normal execution)
>>
>> ---------------------------------------
>>
>>
>> Thank you!
>>



More information about the hotspot-compiler-dev mailing list