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

tools/jpackage/share/MainClassTest.java SIGSEGV in dlerror

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 17, 25
    • tools
    • x86_64
    • linux

      The following crash was seen today (linuxx86_64) :
      jtreg test tools/jpackage/share/MainClassTest.java

      # SIGSEGV (0xb) at pc=0x00007fa8185d4a1a, pid=80754, tid=80764
      #
      # JRE version: OpenJDK Runtime Environment (25.0) (build 25-internal-adhoc.jenkinsi.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (25-internal-adhoc.jenkinsi.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # C [libdl.so.2+0x1a1a] dlerror+0x18c

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libdl.so.2+0x1a1a] dlerror+0x18c
      V [libjvm.so+0xd3a070] NativeLookup::lookup_style(methodHandle const&, char*, char const*, int, JavaThread*)+0x2d0 (nativeLookup.cpp:267)
      V [libjvm.so+0xd3a792] NativeLookup::lookup_base(methodHandle const&, JavaThread*)+0xa2 (nativeLookup.cpp:335)
      V [libjvm.so+0xd3a97b] NativeLookup::lookup(methodHandle const&, JavaThread*)+0x4b (nativeLookup.cpp:422)
      V [libjvm.so+0x96d9b7] InterpreterRuntime::prepare_native_call(JavaThread*, Method*)+0x77 (interpreterRuntime.cpp:1481)
      j sun.nio.fs.UnixNativeDispatcher.init()I+0 java.base
      j sun.nio.fs.UnixNativeDispatcher.<clinit>()V+5 java.base
      v ~StubRoutines::call_stub 0x00007fa7ffa32c86
      V [libjvm.so+0x977be0] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x2b0 (javaCalls.cpp:416)
      V [libjvm.so+0x94de1a] InstanceKlass::call_class_initializer(JavaThread*)+0x2ea (instanceKlass.cpp:1686)
      V [libjvm.so+0x9500ef] InstanceKlass::initialize_impl(JavaThread*)+0x72f (instanceKlass.cpp:1295)
      V [libjvm.so+0xc07760] LinkResolver::resolve_static_call(CallInfo&, LinkInfo const&, bool, JavaThread*)+0x2e0 (linkResolver.cpp:1116)
      V [libjvm.so+0xc07e13] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle const&, int, Bytecodes::Code, JavaThread*)+0x163 (linkResolver.cpp:1745)
      V [libjvm.so+0x96f37a] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x19a (interpreterRuntime.cpp:824)
      V [libjvm.so+0x96f915] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x105 (interpreterRuntime.cpp:1003)
      j sun.nio.fs.UnixFileSystem.<init>(Lsun/nio/fs/UnixFileSystemProvider;Ljava/lang/String;)V+79 java.base
      j sun.nio.fs.LinuxFileSystem.<init>(Lsun/nio/fs/UnixFileSystemProvider;Ljava/lang/String;)V+3 java.base
      j sun.nio.fs.LinuxFileSystemProvider.newFileSystem(Ljava/lang/String;)Lsun/nio/fs/LinuxFileSystem;+6 java.base
      j sun.nio.fs.LinuxFileSystemProvider.newFileSystem(Ljava/lang/String;)Lsun/nio/fs/UnixFileSystem;+2 java.base
      j sun.nio.fs.UnixFileSystemProvider.<init>()V+9 java.base
      j sun.nio.fs.LinuxFileSystemProvider.<init>()V+1 java.base
      j sun.nio.fs.DefaultFileSystemProvider.<clinit>()V+4 java.base
      v ~StubRoutines::call_stub 0x00007fa7ffa32c86
      V [libjvm.so+0x977be0] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x2b0 (javaCalls.cpp:416)
      V [libjvm.so+0x94de1a] InstanceKlass::call_class_initializer(JavaThread*)+0x2ea (instanceKlass.cpp:1686)
      V [libjvm.so+0x9500ef] InstanceKlass::initialize_impl(JavaThread*)+0x72f (instanceKlass.cpp:1295)
      V [libjvm.so+0xc07760] LinkResolver::resolve_static_call(CallInfo&, LinkInfo const&, bool, JavaThread*)+0x2e0 (linkResolver.cpp:1116)
      V [libjvm.so+0xc07e13] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle const&, int, Bytecodes::Code, JavaThread*)+0x163 (linkResolver.cpp:1745)
      V [libjvm.so+0x96f37a] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x19a (interpreterRuntime.cpp:824)
      V [libjvm.so+0x96f915] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x105 (interpreterRuntime.cpp:1003)
      j java.nio.file.FileSystems.getDefault()Ljava/nio/file/FileSystem;+10 java.base
      j java.nio.file.Path.of(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;+0 java.base
      j jdk.internal.module.ModuleBootstrap.finderFor(Ljava/lang/String;)Ljava/lang/module/ModuleFinder;+65 java.base
      j jdk.internal.module.ModuleBootstrap.boot2()Ljava/lang/ModuleLayer;+8 java.base
      j jdk.internal.module.ModuleBootstrap.boot()Ljava/lang/ModuleLayer;+64 java.base
      j java.lang.System.initPhase2(ZZ)I+0 java.base
      v ~StubRoutines::call_stub 0x00007fa7ffa32c86
      V [libjvm.so+0x977be0] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x2b0 (javaCalls.cpp:416)
      V [libjvm.so+0x978032] JavaCalls::call_static(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x122 (javaCalls.cpp:324)
      V [libjvm.so+0x1060b8c] Threads::create_vm(JavaVMInitArgs*, bool*)+0x80c (threads.cpp:322)
      V [libjvm.so+0xa1bc2e] JNI_CreateJavaVM+0x4e (jni.cpp:3589)
      C [libjli.so+0x3bfb] JavaMain+0x8b (java.c:1495)
      C [libjli.so+0x7a99] ThreadJavaMain+0x9 (java_md.c:649)

            asemenyuk Alexey Semenyuk
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: