Menu

#210 Seg Fault in OpenJ9 java 17

All
open
nobody
Seg Fault (1)
1
2025-02-12
2025-01-30
No

On running java -jar wrapper.jar, there is a segmentation fault with OpenJ9 Java 17 but seems to work fine with Temurin java 17.
There seems to be a memory layout issue for the Permit$Fake class.
Based on OpenJ9 class structure, the override field is placed at offset 4 instead of 8, as a result a write to the override field is causing accidental writes into accessCheckCache and resulting in bad object pointer and causing the crash.
Can additional field be added to fix this issue?

Related

Bugs: #210

Discussion

  • rzo

    rzo - 2025-02-12

    this is not the first report, that there are issues with J9. About 10 years ago, there was a bug in the JVM which resulted in the JVM crash.
    Where can I download a binary of this version of the JVM ?

    -- Ron

     
    • Satya Jyoti Das

      Satya Jyoti Das - 2025-02-13

      Hi, you can download it from this link:
      https://developer.ibm.com/languages/java/semeru-runtimes/downloads/

      On Wed, Feb 12, 2025 at 11:49 PM rzo rzorzorzo@users.sourceforge.net
      wrote:

      this is not the first report, that there are issues with J9. About 10
      years ago, there was a bug in the JVM which resulted in the JVM crash.
      Where can I download a binary of this version of the JVM ?

      -- Ron

      [bugs:#210] https://sourceforge.net/p/yajsw/bugs/210/ Seg Fault in
      OpenJ9 java 17

      Status: open
      Group: All
      Labels: Seg Fault
      Created: Thu Jan 30, 2025 09:39 AM UTC by Satya Jyoti Das
      Last Updated: Thu Jan 30, 2025 09:39 AM UTC
      Owner: nobody

      On running java -jar wrapper.jar, there is a segmentation fault with
      OpenJ9 Java 17 but seems to work fine with Temurin java 17.
      There seems to be a memory layout issue for the Permit$Fake class.
      Based on OpenJ9 class structure, the override field is placed at offset 4
      instead of 8, as a result a write to the override field is causing
      accidental writes into accessCheckCache and resulting in bad object pointer
      and causing the crash.
      Can additional field be added to fix this issue?


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/yajsw/bugs/210/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #210


Log in to post a comment.

MongoDB Logo MongoDB