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

crash with # Problematic frame: # C [iris_dri.so+0xb52bc] | OpenJDK 20.0.2

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      arch linux latest versions everywhere, state: 23.07.28.

      A DESCRIPTION OF THE PROBLEM :
      with repository:
      https://github.com/MovingBlocks/Terasology/tree/build/bumpup-gradle-to-8.2

      SecurityManager is used, which is not available any more in java-18 up. trying to run does not error a little frightening with a core cump and vm crash.

      14:39:56.681 [main] ERROR o.t.engine.core.TerasologyEngine - Failed to initialise Terasology
      java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
              at java.base/java.lang.System.setSecurityManager(System.java:429)
              at org.terasology.engine.core.module.ModuleManager.setupSandbox(ModuleManager.java:276)
              at org.terasology.engine.core.module.ModuleManager.<init>(ModuleManager.java:92)
              at org.terasology.engine.core.module.ModuleManager.<init>(ModuleManager.java:102)
              at org.terasology.engine.core.TerasologyEngine.initManagers(TerasologyEngine.java:332)
              at org.terasology.engine.core.TerasologyEngine.initialize(TerasologyEngine.java:226)
              at org.terasology.engine.Terasology.call(Terasology.java:182)
              at org.terasology.engine.Terasology.call(Terasology.java:69)
              at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
              at picocli.CommandLine.access$1200(CommandLine.java:145)
              at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
              at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
              at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
              at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
              at picocli.CommandLine.execute(CommandLine.java:2058)
              at org.terasology.engine.Terasology.main(Terasology.java:138)
      14:39:56.682 [main] INFO o.t.engine.core.TerasologyEngine - Shutting down Terasology...
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fb630eb52bc, pid=82262, tid=82286
      #
      # JRE version: OpenJDK Runtime Environment (20.0.2+9) (build 20.0.2+9)
      # Java VM: OpenJDK 64-Bit Server VM (20.0.2+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # C [iris_dri.so+0xb52bc]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /srv/http/repos/terasology/core.82262)
      #
      # An error report file with more information is saved as:
      # /srv/http/repos/terasology/hs_err_pid82262.log
      14:39:56.761 [main] ERROR o.t.engine.core.TerasologyEngine - Error shutting down Configuration subsystem
      java.lang.NullPointerException: Cannot invoke "org.terasology.engine.config.flexible.AutoConfigManager.saveConfigsToDisk()" because "this.autoConfigManager" is null
              at org.terasology.engine.core.subsystem.common.ConfigurationSubsystem.shutdown(ConfigurationSubsystem.java:132)
              at org.terasology.engine.core.TerasologyEngine.cleanup(TerasologyEngine.java:554)
              at org.terasology.engine.core.TerasologyEngine.initialize(TerasologyEngine.java:250)
              at org.terasology.engine.Terasology.call(Terasology.java:182)
              at org.terasology.engine.Terasology.call(Terasology.java:69)
              at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
              at picocli.CommandLine.access$1200(CommandLine.java:145)
              at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
              at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
              at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
              at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
              at picocli.CommandLine.execute(CommandLine.java:2058)
              at org.terasology.engine.Terasology.main(Terasology.java:138)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #


      REGRESSION : Last worked in version 17.0.8

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      checkout out https://github.com/MovingBlocks/Terasology/tree/build/bumpup-gradle-to-8.2,
      run ./gradlew clean game


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      game starts up or fails without SIGSEV,

      FREQUENCY : always


            sswsharm swati sharma (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: