scala-native icon indicating copy to clipboard operation
scala-native copied to clipboard

Post-merge build fails a test

Open kitbellew opened this issue 3 months ago • 1 comments

See

  • https://github.com/scala-native/scala-native/actions/runs/18083964468/job/51451608718
  • https://github.com/scala-native/scala-native/actions/runs/18083964468/job/51453113759
ok  379 - run/t0412.scala                         [duration 43.37s]
!!  380 - run/t0421-new.scala                       [non-zero exit code][duration 43.77s]
##### Log file '/home/runner/work/scala-native/scala-native/scala-partest/fetchedSources/2.13.16/test/files/run/t0421-new-run.log' from failed test #####

[Array(0, 1),Array(2, 3),Array(4, 5)]
Exception in thread "main" java.lang.NullPointerException
	at scala.scalanative.runtime.package$.throwNullPointer(Unknown Source)
	at <none>.(Unknown Source)
	at java.lang.reflect.Array$.newInstance(Unknown Source)
	at java.lang.reflect.Array.newInstance(Unknown Source)
	at scala.reflect.ClassTag$GenericClassTag.newArray(Unknown Source)
	at scala.collection.mutable.ArrayBuilder$ofRef.mkArray(Unknown Source)

and

[info] Starting process '/home/runner/work/scala-native/scala-native/unit-tests-ext/native/.2.13/target/scala-2.13/tests-ext-test' on port '42529'.
ScalaNative: Unhandled signal 11, si_addr=0x10
	at _SM32scala.scalanative.runtime.Array$D4copyL16java.lang.ObjectiL16java.lang.ObjectiiuEO
	at _SM27java.io.BufferedInputStreamD10unsafeReadLAb_iiLAb_L19java.io.InputStreamiEPT27java.io.BufferedInputStream
	at _SM27java.io.BufferedInputStreamD4readLAb_iiiEO
	at _SM23java.io.DataInputStreamD14rebufferImpl$1iiiEPT23java.io.DataInputStream
	at _SM42scala.scalanative.runtime.dwarf.BinaryFileD8readBytebEO
	at _SM38scala.scalanative.runtime.dwarf.DWARF$D9readUnitsjL44scala.scalanative.runtime.dwarf.DWARF$HeaderL20scala.collection.MapL42scala.scalanative.runtime.dwarf.BinaryFileLAL45scala.scalanative.runtime.dwarf.DWARF$DIEUnit_EO

kitbellew avatar Sep 29 '25 23:09 kitbellew

So that is why the build badges on the SN landing page are almost always failing red.

LeeTibbert avatar Sep 30 '25 20:09 LeeTibbert