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

NPE at org.sunflow.core.Geometry.intersect on aarch64

XMLWordPrintable

      Running SPECJvm2008 sunflow on aarch64 fails intermittently (with low frequency) with the following NPE:

      java.lang.NullPointerException: Cannot invoke "org.sunflow.core.AccelerationStructure.intersect(org.sunflow.core.Ray, org.sunflow.core.IntersectionState)" because "this.accel" is null
      at org.sunflow.core.Geometry.intersect(Unknown Source)
      at org.sunflow.core.Instance.intersect(Unknown Source)
      at org.sunflow.core.InstanceList.intersectPrimitive(Unknown Source)
      at org.sunflow.core.accel.BoundingIntervalHierarchy.intersect(Unknown Source)
      at org.sunflow.core.Scene.trace(Unknown Source)
      at org.sunflow.core.LightServer$1.run(Unknown Source)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      ORIGINAL REPORT:

      Running Kitchensink (8H) on JDK 24+10 (linux-aarch64) fails intermittently with the following NPE when compressed OOPs are disabled:

      java.lang.NullPointerException: Cannot invoke "org.sunflow.core.AccelerationStructure.intersect(org.sunflow.core.Ray, org.sunflow.core.IntersectionState)" because "this.accel" is null
      at org.sunflow.core.Geometry.intersect(Unknown Source)
      at org.sunflow.core.Instance.intersect(Unknown Source)
      at org.sunflow.core.InstanceList.intersectPrimitive(Unknown Source)
      at org.sunflow.core.accel.BoundingIntervalHierarchy.intersect(Unknown Source)
      at org.sunflow.core.Scene.trace(Unknown Source)
      at org.sunflow.core.LightServer$1.run(Unknown Source)
      at java.base/java.lang.Thread.run(Thread.java:1575)

            Unassigned Unassigned
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: