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

SEGV in com.sun.glass.ui.mac.MacCommonDialogs.<clinit>

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:
    • Environment:

      Host: MacBookPro12,1 x86_64 3100 MHz, 4 cores, 16G, Darwin 16.7.0

      Description

      CTW on macos gets SEGV on running com.sun.glass.ui.mac.MacCommonDialogs.<clinit>

      #
      # SIGSEGV (0xb) at pc=0x000000010f3f50cc, pid=35031, tid=7427
      #
      # JRE version: Java(TM) SE Runtime Environment (10.0) (build 10-internal+0-2017-07-21-1856273.iignatye.hs)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (10-internal+0-2017-07-21-1856273.iignatye.hs, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
      # Problematic frame:
      # V [libjvm.dylib+0x3f50cc] get_method_id(JNIEnv_*, _jclass*, char const*, char const*, bool, Thread*)+0xb0
      #
      # No core dump will be written. 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.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -XX:MaxRAMFraction=8 -Xbatch -XX:-UseCounterDecay -XX:-ShowMessageBoxOnError -XX:+UnlockDiagnosticVMOptions -DCompileTheWorldStartAt=0 -XX:+WhiteBoxAPI -Xbootclasspath/a:. --add-exports=java.base/jdk.internal.jimage=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/jdk.internal.reflect=ALL-UNNAMED -XX:+LogCompilation -XX:LogFile=hotspot_modules_0_%p.log -XX:ErrorFile=hs_err_modules_0_%p.log -XX:ReplayDataFile=replay_modules_0_%p.log -XX:CompileCommand=exclude,java/lang/invoke/MethodHandle.* sun.hotspot.tools.ctw.CompileTheWorld /Users/iignatye/ws/jdk10/hs/build/macosx-x64/images/jdk/lib/modules

      Host: MacBookPro12,1 x86_64 3100 MHz, 4 cores, 16G, Darwin 16.7.0
      Time: Thu Aug 3 17:19:38 2017 PDT elapsed time: 10044 seconds (0d 2h 47m 24s)

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

      Current thread (0x00007f9b06012000): JavaThread "main" [_thread_in_vm, id=7427, stack(0x000000010fcee000,0x000000010fdee000)]

      Stack: [0x000000010fcee000,0x000000010fdee000], sp=0x000000010fdec730, free space=1017k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x3f50cc] get_method_id(JNIEnv_*, _jclass*, char const*, char const*, bool, Thread*)+0xb0
      V [libjvm.dylib+0x3f4fd3] jni_GetMethodID+0x99
      C [libglass.dylib+0xaa61] Java_com_sun_glass_ui_mac_MacCommonDialogs__1initIDs+0x81
      j com.sun.glass.ui.mac.MacCommonDialogs._initIDs()V+0 javafx.graphics@10-internal
      j com.sun.glass.ui.mac.MacCommonDialogs.<clinit>()V+0 javafx.graphics@10-internal
      v ~StubRoutines::call_stub
      V [libjvm.dylib+0x3c22c2] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x216
      V [libjvm.dylib+0x3a5e1e] InstanceKlass::call_class_initializer(Thread*)+0x1c2
      V [libjvm.dylib+0x3a5723] InstanceKlass::initialize_impl(Thread*)+0x4c5
      V [libjvm.dylib+0x73815d] Unsafe_EnsureClassInitialized0(JNIEnv_*, _jobject*, _jobject*)+0x6d
      J 143356 jdk.internal.misc.Unsafe.ensureClassInitialized0(Ljava/lang/Class;)V java.base@10-internal (0 bytes) @ 0x000000012f32c9ff [0x000000012f32c940+0x00000000000000bf]
      J 494990 c2 sun.hotspot.tools.ctw.Compiler.compileClass(Ljava/lang/Class;JLjava/util/concurrent/Executor;)V (240 bytes) @ 0x0000000130356124 [0x0000000130356020+0x0000000000000104]
      J 631524 c2 sun.hotspot.tools.ctw.PathHandler.processClass(Ljava/lang/String;Ljava/util/concurrent/Executor;)V (140 bytes) @ 0x00000001325777ac [0x0000000132576580+0x000000000000122c]
      J 200798 c2 sun.hotspot.tools.ctw.PathHandler$$Lambda$45.accept(Ljava/lang/Object;)V (16 bytes) @ 0x000000013082909c [0x0000000130829040+0x000000000000005c]
      J 122536 c2 java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Ljava/lang/Object;)V java.base@10-internal (11 bytes) @ 0x000000012ed249ec [0x000000012ed249a0+0x000000000000004c]
      J 527969 c2 java.util.stream.ReferencePipeline$3$1.accept(Ljava/lang/Object;)V java.base@10-internal (23 bytes) @ 0x0000000130849e10 [0x0000000130849da0+0x0000000000000070]
      J 483794 c2 java.util.stream.ReferencePipeline$2$1.accept(Ljava/lang/Object;)V java.base@10-internal (27 bytes) @ 0x000000012fdc3ca0 [0x000000012fdc3c20+0x0000000000000080]
      J 483794 c2 java.util.stream.ReferencePipeline$2$1.accept(Ljava/lang/Object;)V java.base@10-internal (27 bytes) @ 0x000000012fdc3ca0 [0x000000012fdc3c20+0x0000000000000080]
      j java.util.Spliterators$ArraySpliterator.forEachRemaining(Ljava/util/function/Consumer;)V+53 java.base@10-internal
      j java.util.stream.AbstractPipeline.copyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)V+32 java.base@10-internal
      j java.util.stream.AbstractPipeline.wrapAndCopyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)Ljava/util/stream/Sink;+13 java.base@10-internal
      j java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Void;+3 java.base@10-internal
      j java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Object;+3 java.base@10-internal
      j java.util.stream.AbstractPipeline.evaluate(Ljava/util/stream/TerminalOp;)Ljava/lang/Object;+88 java.base@10-internal
      j java.util.stream.ReferencePipeline.forEach(Ljava/util/function/Consumer;)V+6 java.base@10-internal
      j sun.hotspot.tools.ctw.PathHandler.process(Ljava/util/concurrent/Executor;)V+27
      j sun.hotspot.tools.ctw.CompileTheWorld.lambda$main$0(Ljava/util/concurrent/ExecutorService;Lsun/hotspot/tools/ctw/PathHandler;)V+2
      j sun.hotspot.tools.ctw.CompileTheWorld$$Lambda$32.accept(Ljava/lang/Object;)V+8
      j java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Ljava/lang/Object;)V+5 java.base@10-internal
      j java.util.Collections$2.tryAdvance(Ljava/util/function/Consumer;)Z+29 java.base@10-internal
      j java.util.Collections$2.forEachRemaining(Ljava/util/function/Consumer;)V+2 java.base@10-internal
      j java.util.stream.ReferencePipeline$Head.forEach(Ljava/util/function/Consumer;)V+12 java.base@10-internal
      j java.util.stream.ReferencePipeline$7$1.accept(Ljava/lang/Object;)V+36 java.base@10-internal
      j java.util.stream.ReferencePipeline$3$1.accept(Ljava/lang/Object;)V+17 java.base@10-internal
      j java.util.Spliterators$ArraySpliterator.forEachRemaining(Ljava/util/function/Consumer;)V+53 java.base@10-internal
      j java.util.stream.AbstractPipeline.copyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)V+32 java.base@10-internal
      j java.util.stream.AbstractPipeline.wrapAndCopyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)Ljava/util/stream/Sink;+13 java.base@10-internal
      j java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Void;+3 java.base@10-internal
      j java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Object;+3 java.base@10-internal
      j java.util.stream.AbstractPipeline.evaluate(Ljava/util/stream/TerminalOp;)Ljava/lang/Object;+88 java.base@10-internal
      j java.util.stream.ReferencePipeline.forEach(Ljava/util/function/Consumer;)V+6 java.base@10-internal
      j sun.hotspot.tools.ctw.CompileTheWorld.main([Ljava/lang/String;)V+124
      v ~StubRoutines::call_stub
      V [libjvm.dylib+0x3c22c2] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x216
      V [libjvm.dylib+0x3fb695] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x12d
      V [libjvm.dylib+0x3fe147] jni_CallStaticVoidMethod+0x18d
      C [java+0x5062] JavaMain+0xb8d
      C [libsystem_pthread.dylib+0x393b] _pthread_body+0xb4
      C [libsystem_pthread.dylib+0x3887] _pthread_body+0x0
      C [libsystem_pthread.dylib+0x308d] thread_start+0xd
      C 0x0000000000000000

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                azvegint Alexander Zvegintsev (Inactive)
                Reporter:
                iignatyev Igor Ignatyev
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: