You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following program crashes with a segmentation fault on the last line:
Type t1
a As String
End Type
Type t2
b As t1
s As String
End Type
Type t3
n As Long
c As t2
End Type
Dim test As t3
Print test.c.s 'OK
Print test.c.b.a 'Segmentation fault
Reproduced on Linux, commit 35d901f. At a glance the bad pointer looks to be the high 4 bytes of a valid pointer shifted down, so I suspect a misaligned store in the initialisation.
The text was updated successfully, but these errors were encountered:
The following program crashes with a segmentation fault on the last line:
Initially observed at https://qb64phoenix.com/forum/showthread.php?tid=2889
Reproduced on Linux, commit 35d901f. At a glance the bad pointer looks to be the high 4 bytes of a valid pointer shifted down, so I suspect a misaligned store in the initialisation.
The text was updated successfully, but these errors were encountered: