0 Replies Latest reply: Mar 5, 2012 9:27 PM by 814280 RSS

    JVM crash when main process exiting

    814280
      I started a main process as root user, in the execution of the main process, i started several child processes. All children processes execution are ok, but then main process existing, it throws jvm crash as following:


      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00002aaabc7005a8, pid=19195, tid=1106790720
      #
      # JRE version: 6.0_31-b02
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      #
      [error occurred during error reporting (printing problematic frame), id 0xb]

      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x0000000056224800): VMThread [stack: 0x0000000041e84000,0x0000000041f85000] [id=19199]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x00002aaabc9a5848

      Registers:
      RAX=0x0000003311838510, RBX=0x0000003288c1c000, RCX=0x0000000000000000, RDX=0x0000000000000032
      RSP=0x0000000041f83ca0, RBP=0x0000000041f83e30, RSI=0x0000000000000000, RDI=0x0000003311838510
      R8 =0x00002aaab1ed8028, R9 =0x0000000000004aff, R10=0x0000000000000000, R11=0x0000003289233750
      R12=0x00002ae5cca86143, R13=0x000000005666b790, R14=0x0000000000000022, R15=0x000000000000000c
      RIP=0x00002aaabc7005a8, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
      TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x0000000041f83ca0)
      0x0000000041f83ca0: 00002aaabc77fb22 0000003288a0d7e4
      0x0000000041f83cb0: 00002ae5cbe9e000 00002ae5cbe9e590
      0x0000000041f83cc0: 00000000561ce5c0 00002aaab41eb5f0
      0x0000000041f83cd0: 0000000056492c40 00002aaab41ebac0
      0x0000000041f83ce0: 00000000561c5a40 00000000561c53a0
      0x0000000041f83cf0: 00000000561c27b0 00000000561c4050
      0x0000000041f83d00: 00002aaab41f5b30 00000000566514d0
      0x0000000041f83d10: 000000005666b790 00000000565c1070
      0x0000000041f83d20: 00000000565c0bc0 00000000563fea60
      0x0000000041f83d30: 00000000566519a0 00000000563fe5c0
      0x0000000041f83d40: 00000000565bfdc0 00000000565c19b0
      0x0000000041f83d50: 00000000565c1510 00000000565c0720
      0x0000000041f83d60: 00000000565c0270 00000000565c1e50
      0x0000000041f83d70: 00002ae5cbe9f508 00002ae5cbe9fa00
      0x0000000041f83d80: 00002ae5cbffd000 00000000561c2c80
      0x0000000041f83d90: 00000000561c6010 00000000563fe120
      0x0000000041f83da0: 000000005666bc60 00002ae5cbffd4c8
      0x0000000041f83db0: 0000003311838510 000000005671baa0
      0x0000000041f83dc0: 0000000000000000 0000003288a0d660
      0x0000000041f83dd0: 0000000000000000 0000003288c1c000
      0x0000000041f83de0: 0000003288c1c000 0000000041f83cb0
      0x0000000041f83df0: 00000000ccbdb240 0000000000000000
      0x0000000041f83e00: 0000000000000110 00000000418b2840
      0x0000000041f83e10: 00002ae5cca86143 0000000041f83ed0
      0x0000000041f83e20: 0000000000000000 0000000041f83f80
      0x0000000041f83e30: 0000000000000000 00000032892334f5
      0x0000000041f83e40: 00000000418b2840 0000000041f83e60
      0x0000000041f83e50: 00002ae5cca86143 00002ae5cc4dd6c9
      0x0000000041f83e60: 0000000041f83e80 00002ae5cc86e53f
      0x0000000041f83e70: 0000000041f83ed0 00000000418b2840
      0x0000000041f83e80: 0000000041f83ec0 00002ae5cc86d7ea
      0x0000000041f83e90: 0000000056223bb0 00000000561e3560

      Instructions: (pc=0x00002aaabc7005a8)
      0x00002aaabc700588: ff 25 aa 52 2a 00 68 6f 00 00 00 e9 f0 f8 ff ff
      0x00002aaabc700598: ff 25 a2 52 2a 00 68 70 00 00 00 e9 e0 f8 ff ff
      0x00002aaabc7005a8: ff 25 9a 52 2a 00 68 71 00 00 00 e9 d0 f8 ff ff
      0x00002aaabc7005b8: ff 25 92 52 2a 00 68 72 00 00 00 e9 c0 f8 ff ff

      Register to memory mapping:

      RAX=0x0000003311838510 is an unknown value
      RBX=0x0000003288c1c000: rtldglobal+0 in /lib64/ld-linux-x86-64.so.2 at 0x0000003288a00000
      RCX=0x0000000000000000 is an unknown value
      RDX=0x0000000000000032 is an unknown value
      RSP=0x0000000041f83ca0 is an unknown value
      RBP=0x0000000041f83e30 is an unknown value
      RSI=0x0000000000000000 is an unknown value
      RDI=0x0000003311838510 is an unknown value
      R8 =0x00002aaab1ed8028: <offset 0x208028> in /scratch/product/12.1.0/grid/oui/lib/linux64/liboraInstaller.so at 0x00002aaab1cd0000
      R9 =0x0000000000004aff is an unknown value
      R10=0x0000000000000000 is an unknown value
      R11=0x0000003289233750: __cxa_finalize+0 in /lib64/libc.so.6 at 0x0000003289200000
      R12=0x00002ae5cca86143: <offset 0xa86143> in /scratch/product/12.1.0/grid/jdk/jre/lib/amd64/server/libjvm.so at 0x00002ae5cc000000
      R13=0x000000005666b790 is an unknown value
      R14=0x0000000000000022 is an unknown value
      R15=0x000000000000000c is an unknown value


      Stack: [0x0000000041e84000,0x0000000041f85000], sp=0x0000000041f83ca0, free space=1023k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

      [error occurred during error reporting (printing native stack), id 0xb]

      VM_Operation (0x00000000418b2840): Exit, mode: safepoint, requested by thread 0x00000000561ca800


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
      0x00000000566d1800 JavaThread "GetActiveNodesThread" daemon [_thread_blocked, id=19282, stack(0x00000000426de000,0x00000000427df000)]
      0x0000000056259000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=19205, stack(0x00000000422da000,0x00000000423db000)]
      0x0000000056257000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=19204, stack(0x00000000421d9000,0x00000000422da000)]
      0x0000000056251800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=19203, stack(0x0000000040705000,0x0000000040806000)]
      0x000000005624f000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=19202, stack(0x0000000040604000,0x0000000040705000)]
      0x000000005622d000 JavaThread "Finalizer" daemon [_thread_blocked, id=19201, stack(0x00000000420d8000,0x00000000421d9000)]
      0x000000005622b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=19200, stack(0x0000000041fd7000,0x00000000420d8000)]
      0x00000000561ca800 JavaThread "main" [_thread_blocked, id=19196, stack(0x00000000417b3000,0x00000000418b4000)]

      Other Threads:
      =>0x0000000056224800 VMThread [stack: 0x0000000041e84000,0x0000000041f85000] [id=19199]

      VM state:at safepoint (shutting down)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x00000000561c8f80] Threads_lock - owner thread: 0x0000000056224800

      Heap
      PSYoungGen total 42048K, used 38587K [0x00000000f5560000, 0x00000000fa780000, 0x0000000100000000)
      eden space 36096K, 91% used [0x00000000f5560000,0x00000000f75b6b90,0x00000000f78a0000)
      from space 5952K, 91% used [0x00000000f78a0000,0x00000000f7df80a8,0x00000000f7e70000)
      to space 5952K, 0% used [0x00000000fa1b0000,0x00000000fa1b0000,0x00000000fa780000)
      PSOldGen total 96000K, used 0K [0x00000000e0000000, 0x00000000e5dc0000, 0x00000000f5560000)
      object space 96000K, 0% used [0x00000000e0000000,0x00000000e0000000,0x00000000e5dc0000)
      PSPermGen total 24320K, used 24139K [0x00000000dae00000, 0x00000000dc5c0000, 0x00000000e0000000)
      object space 24320K, 99% used [0x00000000dae00000,0x00000000dc592e20,0x00000000dc5c0000)

      Code Cache [0x00002aaaaae90000, 0x00002aaaab100000, 0x00002aaaade90000)
      total_blobs=620 nmethods=309 adapters=265 free_code_cache=49025536 largest_free_block=6976

      Dynamic libraries:
      40000000-40009000 r-xp 00000000 ca:01 17574009 /scratch/product/12.1.0/grid/jdk/bin/java
      40108000-4010a000 rwxp 00008000 ca:01 17574009 /scratch/product/12.1.0/grid/jdk/bin/java
      ....