Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097231

[Crash] jvm crash using instrument agent on custom classes using javafx code under linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • None
    • 8u20
    • javafx
    • uname -a : Linux plx01076 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 21:00:16 UTC 2011 i686 i686 i386 GNU/Linux

      Hello,
      We develop a big commercial app and we encounter a jvm crash when used with the following conditions match:
      * under linux (uname -a : Linux plx01076 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 21:00:16 UTC 2011 i686 i686 i386 GNU/Linux )
      * using java 8.0.20-ea b20&b21 (works well in 8.0.5) (using the jre of the jdk for instrumentation agent libs)
      * using instrumentation agent
      * using JIT



      * Disabling JIT with -Xint works well
      * Using instrumentation agent on classes that do not refer to javafx package works well
      * Using java 8u5 works well

      I'll attach the errors hs files
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xa8713ac7, pid=21486, tid=2130029376
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_20-b20) (build 1.8.0_20-ea-b20)
      # Java VM: Java HotSpot(TM) Server VM (25.20-b20 mixed mode linux-x86 )
      # Problematic frame:
      #
      [error occurred during error reporting (printing problematic frame), id 0xb]

      # Failed to write core dump. 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:
      # /home/exped/orga-dev/install/hs_err_pid21486.log
      Compiled method (c1) 22926 6487 2 sun.invoke.util.ValueConversions::identity (2 bytes)
       total in heap [0xa90a6688,0xa90a6864] = 476
       relocation [0xa90a6758,0xa90a6780] = 40
       main code [0xa90a6780,0xa90a6800] = 128
       stub code [0xa90a6800,0xa90a6820] = 32
       metadata [0xa90a6820,0xa90a6824] = 4
       scopes data [0xa90a6824,0xa90a6830] = 12
       scopes pcs [0xa90a6830,0xa90a6860] = 48
       dependencies [0xa90a6860,0xa90a6864] = 4
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #


      ----------------------------------------------------------------------------------------------------------------------------------
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xa8713ac7, pid=21486, tid=2130029376
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_20-b20) (build 1.8.0_20-ea-b20)
      # Java VM: Java HotSpot(TM) Server VM (25.20-b20 mixed mode linux-x86 )
      # Problematic frame:
      #
      [error occurred during error reporting (printing problematic frame), id 0xb]

      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

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

      Current thread (0x7ee0fc00): JavaThread "QuantumRenderer-0" daemon [_thread_in_Java, id=21502, stack(0x7ef0a000,0x7ef5b000)]

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00001461

      Registers:
      EAX=0x9ecac290, EBX=0x83eb65e8, ECX=0x9ecac290, EDX=0x88573690
      ESP=0x7ef587c0, EBP=0x7ef587e0, ESI=0x00001460, EDI=0xa90a6780
      EIP=0xa8713ac7, EFLAGS=0x00210246, CR2=0x00001461

      Top of Stack: (sp=0x7ef587c0)
      0x7ef587c0: a899ef60 7ee11240 7ef587e0 a8c14128
      0x7ef587d0: 7ee11240 a8c14128 9ecac290 885736b8
      0x7ef587e0: 866fc268 7ee0fc00 011894ce 7ee0fc00
      0x7ef587f0: 866fc268 7ee0fc00 7ef58810 a8c0a5c0
      0x7ef58800: a8c0a5c0 a8c0a5c0 9ecac6f0 885736b8
      0x7ef58810: 884ddc00 ffff0167 ffffffff 01003723
      0x7ef58820: 00000073 884ca8c0 7ef58828 868031ec
      0x7ef58830: 7ef5885c 86803b18 7ef58860 a8e1d2a0

      Instructions: (pc=0xa8713ac7)
      0xa8713aa7: 00 00 c7 87 28 01 00 00 00 00 00 00 81 7f 04 00
      0xa8713ab7: 00 00 00 0f 85 40 c9 fe ff 8b 75 e4 8b 7d e8 c3
      0xa8713ac7: 0f b7 56 01 8b 4d ec c1 e2 02 8b 5c 91 10 8b 44
      0xa8713ad7: 91 14 8b 4c 91 0c 8b 49 38 8b d0 c1 ea 15 83 e2

      Register to memory mapping:

      EAX=0x9ecac290 is an oop
      com.sun.scenario.effect.impl.Renderer$$Lambda$336/7637527
       - klass: 'com/sun/scenario/effect/impl/Renderer$$Lambda$336'
      EBX={method} {0x83eb65e8} 'identity' '(Ljava/lang/Object;)Ljava/lang/Object;' in 'sun/invoke/util/ValueConversions'
      ECX=0x9ecac290 is an oop
      com.sun.scenario.effect.impl.Renderer$$Lambda$336/7637527
       - klass: 'com/sun/scenario/effect/impl/Renderer$$Lambda$336'
      EDX=0x88573690 is an oop
      java.lang.invoke.MemberName
      ESP=0x7ef587c0 is pointing into the stack for thread: 0x7ee0fc00
      EBP=0x7ef587e0 is pointing into the stack for thread: 0x7ee0fc00
      ESI=0x00001460 is an unknown value
      EDI=0xa90a6780 is at entry_point+0 in (nmethod*)0xa90a6688


      Stack: [0x7ef0a000,0x7ef5b000], sp=0x7ef587c0, free space=313k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

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


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

      Java Threads: ( => current thread )
        0x7c07b000 JavaThread "Timer-3" daemon [_thread_blocked, id=21517, stack(0x7c418000,0x7c469000)]
        0x7c0a1000 JavaThread "Timer-2" daemon [_thread_blocked, id=21515, stack(0x7be5e000,0x7beaf000)]
        0x7c096000 JavaThread "Timer-1" daemon [_thread_blocked, id=21514, stack(0x7beaf000,0x7bf00000)]
        0x84393000 JavaThread "Thread-5" [_thread_blocked, id=21512, stack(0x7c85e000,0x7c8af000)]
        0x7ca08400 JavaThread "Thread-4" [_thread_blocked, id=21511, stack(0x7c8af000,0x7c900000)]
        0x7cb4dc00 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=21510, stack(0x8444f000,0x844a0000)]
        0x7d02b000 JavaThread "Thread-3" [_thread_blocked, id=21509, stack(0x7d142000,0x7d193000)]
        0x7d6e0c00 JavaThread "Thread-2" [_thread_in_native, id=21507, stack(0x7d193000,0x7d1e4000)]
        0x7d6af400 JavaThread "Prism Font Disposer" daemon [_thread_blocked, id=21506, stack(0x7d350000,0x7d3a1000)]
        0x7ee27800 JavaThread "Attach Listener" daemon [_thread_blocked, id=21505, stack(0x7da17000,0x7da68000)]
      =>0x7ee0fc00 JavaThread "QuantumRenderer-0" daemon [_thread_in_Java, id=21502, stack(0x7ef0a000,0x7ef5b000)]
        0x845a8400 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=21501, stack(0x83e0d000,0x83e5e000)]
        0x8459f000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=21500, stack(0x83e5e000,0x83eaf000)]
        0x84124800 JavaThread "HttpClient-Pinger" daemon [_thread_blocked, id=21499, stack(0x840af000,0x84100000)]
        0x8633a000 JavaThread "Service Thread" daemon [_thread_blocked, id=21496, stack(0x87e03000,0x87e54000)]
        0x86337000 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=21495, stack(0x85ffe000,0x8607f000)]
        0x86335000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=21494, stack(0x8607f000,0x86100000)]
        0x86333800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=21493, stack(0x87e54000,0x87ea5000)]
        0x86316800 JavaThread "Finalizer" daemon [_thread_blocked, id=21492, stack(0x88002000,0x88053000)]
        0x86315000 JavaThread "Reference Handler" daemon [_thread_blocked, id=21491, stack(0xb7802000,0xb7853000)]
        0xb7706800 JavaThread "JavaFX Application Thread" [_thread_blocked, id=21487, stack(0xb785f000,0xb78b0000)]

      Other Threads:
        0x86310c00 VMThread [stack: 0x8640f000,0x86490000] [id=21490]
        0x8633bc00 WatcherThread [stack: 0x85f7d000,0x85ffe000] [id=21497]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None


            kcr Kevin Rushforth
            pchaleatjfx Philippe Chaleat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: