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

NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0'

XMLWordPrintable

    • b01

      java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java test failed in HS PIT at least two times with the following log:

      #section:main
      ----------messages:(4/196)----------
      command: main -Xcheck:jni NativeLibraryTest
      reason: User specified action: run main/othervm/native -Xcheck:jni NativeLibraryTest
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 83.805
      ----------configuration:(0/0)----------
      ----------System.out:(13/1213)----------
      Warning: SIGHUP handler expected:libjvm.so+0x1c461b0 found:0x0000000000000001
      Signal Handlers:
      SIGSEGV: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIGBUS: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIGFPE: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIGPIPE: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIGXFSZ: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIGILL: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIG40: [libjvm.so+0x1c4c4d0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART|SA_SIGINFO
      SIGQUIT: [libjvm.so+0x1c461b0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART
      SIGHUP: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
      SIGINT: [libjvm.so+0x1c461b0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART
      SIGTERM: [libjvm.so+0x1c461b0], sa_mask[0]=11111111011111111111110111111111, sa_flags=SA_RESTART
      ----------System.err:(13/837)----------
      java.lang.RuntimeException: Expected unloaded=1 but got=0
      at NativeLibraryTest.main(NativeLibraryTest.java:64)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected unloaded=1 but got=0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected unloaded=1 but got=0

            thartmann Tobias Hartmann
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: