SuperStrict
Framework Brl.StandardIO
Struct STestStruct
Field X:Int 'does not matter if you prepend something before the arrays
Field StaticArray statArr1:Int[10]
' Field StaticArray statArr2:Int[10]
Field arr1:Int[] = Null
' Field arr2:Int[] = Null
Method Base:Int()
DebugStop '<--- segfault
Print "Hello World"
End Method
End Struct
Local s:STestStruct
s.Base()
This will segfault on reaching the "DebugStop".
If you enable both static arrays then it works.
So this sounds like some alignment issue or so.