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

compiler/uncommontrap/TestDeoptOOM.java failed with "guarantee(false) failed: wrong number of expression stack elements during deopt"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK17 CI:

      compiler/uncommontrap/TestDeoptOOM.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/643)----------
      command: main -XX:-BackgroundCompilation -Xmx128M -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyStack -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::main -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::m9_1 compiler.uncommontrap.TestDeoptOOM
      reason: User specified action: run main/othervm -XX:-BackgroundCompilation -Xmx128M -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyStack -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::main -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::m9_1 compiler.uncommontrap.TestDeoptOOM
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 25.999
      ----------configuration:(0/0)----------
      ----------System.out:(45/3101)----------
      CompileCommand: exclude compiler/uncommontrap/TestDeoptOOM.main bool exclude = true
      CompileCommand: exclude compiler/uncommontrap/TestDeoptOOM.m9_1 bool exclude = true
      OOM caught in m1
      Wrong number of expression stack elements during deoptimization
        Error occurred while verifying frame 0 (0..0, 0 is topmost)
        Fabricated interpreter frame had 1 expression stack elements
        Interpreter oop map had 0 expression stack elements
        try_next_mask = 0
        next_mask_expression_stack_size = -1
        callee_size_of_parameters = 0
        callee_max_locals = 0
        top_frame_expression_stack_adjustment = 0
        exec_mode = 1
        cur_invoke_parameter_size = 1
        Thread = 0x00007f370020f940, thread ID = 19928
        Interpreted frames:
          sun.util.cldr.CLDRLocaleProviderAdapter.getTimeZoneNameProvider()Ljava/util/spi/TimeZoneNameProvider; (bci 8)
       - sp: 0x00007f36e94c61f0
       - thread: "UsageTracker" #14 daemon prio=5 os_prio=0 cpu=1185.46ms elapsed=16.42s tid=0x00007f370020f940 nid=0x4dd8 runnable [0x00007f36e94c5000]
         java.lang.Thread.State: RUNNABLE
      Thread: 0x00007f370020f940 [0x4dd8] State: _running _at_poll_safepoint 0
         JavaThread state: _thread_in_Java
       - frame size: 26
       - interpreter_frame -> sp: 0x00007f36e94c6248
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/deoptimization.cpp:853
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14826/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9f825512-2738-4ffb-b585-2f7496ecee27/runs/d564efbd-a26d-4f69-8df4-100ba92994c6/workspace/open/src/hotspot/share/runtime/deoptimization.cpp:853), pid=19879, tid=19928
      # guarantee(false) failed: wrong number of expression stack elements during deopt
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0+11) (fastdebug build 17-ea+11-LTS-782)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+11-LTS-782, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xab228f] Deoptimization::unpack_frames(JavaThread*, int)+0xa7f
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S206/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bc5bc38e-d5fa-4270-98b5-37f826bef99f/runs/a4f23d3b-7a11-4690-bde6-a97d6a9d5749/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/scratch/2/core.19879)
      #
      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/35ca6ea2-bf72-41ef-89b8-0c013c60cac4-S206/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bc5bc38e-d5fa-4270-98b5-37f826bef99f/runs/a4f23d3b-7a11-4690-bde6-a97d6a9d5749/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/scratch/2/hs_err_pid19879.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(0/0)----------
      ----------rerun:(50/6485)*----------


      Here's the crashing thread's stack:

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

      Current thread (0x00007f370020f940): JavaThread "UsageTracker" daemon [_thread_in_Java, id=19928, stack(0x00007f36e93c7000,0x00007f36e94c8000)]

      Stack: [0x00007f36e93c7000,0x00007f36e94c8000], sp=0x00007f36e94c41b0, free space=1012k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xab228f] Deoptimization::unpack_frames(JavaThread*, int)+0xa7f
      v ~DeoptimizationBlob
      j sun.util.cldr.CLDRLocaleProviderAdapter.getTimeZoneNameProvider()Ljava/util/spi/TimeZoneNameProvider;+8 java.base@17-ea
      j sun.util.locale.provider.JRELocaleProviderAdapter.getLocaleServiceProvider(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;+417 java.base@17-ea
      j sun.util.locale.provider.LocaleServiceProviderPool.findProviders(Ljava/util/Locale;Z)Ljava/util/List;+68 java.base@17-ea
      j sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;+53 java.base@17-ea
      J 1018 c1 sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (11 bytes) @ 0x00007f36e9fbaee4 [0x00007f36e9fbae40+0x00000000000000a4]
      j sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayNamesImpl(Ljava/lang/String;Ljava/util/Locale;)[Ljava/lang/String;+140 java.base@17-ea
      J 997 c1 sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(Ljava/lang/String;ZILjava/util/Locale;)Ljava/lang/String; java.base@17-ea (32 bytes) @ 0x00007f36e9fae4fc [0x00007f36e9fae4a0+0x000000000000005c]
      J 990 c1 java.util.TimeZone.getDisplayName(ZILjava/util/Locale;)Ljava/lang/String; java.base@17-ea (129 bytes) @ 0x00007f36e9fab004 [0x00007f36e9faae40+0x00000000000001c4]
      j java.util.Date.toString()Ljava/lang/String;+150 java.base@17-ea
      j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.buildMessage(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+55 java.base@17-ea
      J 713 c1 sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.run()V java.base@17-ea (131 bytes) @ 0x00007f36e9ecaec4 [0x00007f36e9eca7e0+0x00000000000006e4]
      J 712 c1 java.lang.Thread.run()V java.base@17-ea (17 bytes) @ 0x00007f36e9eca17c [0x00007f36e9eca0e0+0x000000000000009c]
      v ~StubRoutines::call_stub
      V [libjvm.so+0xe4f405] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x595
      V [libjvm.so+0xe4fc85] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x4c5
      V [libjvm.so+0xe5013c] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0xac
      V [libjvm.so+0xfbfb9b] thread_entry(JavaThread*, Thread*)+0x12b
      V [libjvm.so+0x1844616] JavaThread::thread_main_inner()+0x256
      V [libjvm.so+0x184a980] Thread::call_run()+0x100
      V [libjvm.so+0x1536b36] thread_native_entry(Thread*)+0x116

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~DeoptimizationBlob
      j sun.util.cldr.CLDRLocaleProviderAdapter.getTimeZoneNameProvider()Ljava/util/spi/TimeZoneNameProvider;+8 java.base@17-ea
      j sun.util.locale.provider.JRELocaleProviderAdapter.getLocaleServiceProvider(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;+417 java.base@17-ea
      j sun.util.locale.provider.LocaleServiceProviderPool.findProviders(Ljava/util/Locale;Z)Ljava/util/List;+68 java.base@17-ea
      j sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;+53 java.base@17-ea
      J 1018 c1 sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (11 bytes) @ 0x00007f36e9fbaee4 [0x00007f36e9fbae40+0x00000000000000a4]
      j sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayNamesImpl(Ljava/lang/String;Ljava/util/Locale;)[Ljava/lang/String;+140 java.base@17-ea
      J 997 c1 sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(Ljava/lang/String;ZILjava/util/Locale;)Ljava/lang/String; java.base@17-ea (32 bytes) @ 0x00007f36e9fae4fc [0x00007f36e9fae4a0+0x000000000000005c]
      J 990 c1 java.util.TimeZone.getDisplayName(ZILjava/util/Locale;)Ljava/lang/String; java.base@17-ea (129 bytes) @ 0x00007f36e9fab004 [0x00007f36e9faae40+0x00000000000001c4]
      j java.util.Date.toString()Ljava/lang/String;+150 java.base@17-ea
      j sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.buildMessage(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+55 java.base@17-ea
      J 713 c1 sun.usagetracker.UsageTrackerClient$UsageTrackerRunnable.run()V java.base@17-ea (131 bytes) @ 0x00007f36e9ecaec4 [0x00007f36e9eca7e0+0x00000000000006e4]
      J 712 c1 java.lang.Thread.run()V java.base@17-ea (17 bytes) @ 0x00007f36e9eca17c [0x00007f36e9eca0e0+0x000000000000009c]
      v ~StubRoutines::call_stub

        Attachments

          Activity

            People

            Assignee:
            dlong Dean Long
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: