NPE on LinkedBlockingQueue on arm 32 bit (armhf and arm7l)

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 17.0.4
    • Component/s: hotspot
    • Environment:

      32 bit arm

    • aarch32
    • linux

      Bug originally reported here:

      https://github.com/adoptium/adoptium-support/issues/609

      It has a reproducer and steps as to how to reproduce attached.

      Actual (NPE in LinkedBlockingQueue):

      2022-11-21T23:57:46.861349+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] java.lang.NullPointerException: Cannot read field "next" because "<local1>" is null
      2022-11-21T23:57:46.861793+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] #011at java.base/java.util.concurrent.LinkedBlockingQueue.dequeue(Unknown Source)
      2022-11-21T23:57:46.862291+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] #011at java.base/java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
      2022-11-21T23:57:46.862715+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] #011at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
      2022-11-21T23:57:46.863181+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2022-11-21T23:57:46.863657+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2022-11-21T23:57:46.864193+00:00 APP-val app: ERROR [DBus-Signal-Receiver-9, AppRepeater] #011at java.base/java.lang.Thread.run(Unknown Source)

      Expected: No NPE.

      This might be a concurrency issue.

            Assignee:
            Unassigned
            Reporter:
            Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: