Closed zenspider closed 1 year ago
For those that stumble across this 73bbd1069 is the last working SHA
Per suggestion in discord (via clara), I added -fno-stage1
to my zig test
command and now no version of SHA works... They all segfault in the same way.
I can't find any version that works w/ that flag, so I'm not sure it's a valid verification.
Thanks for the bug report. In order to reproduce this, do I need the file zlox.zig?
Could you provide the source code of your program so that we could repro it locally? Also, could you double check this still happens on latest master?
No, I can't provide the source... But! All sorts of other errors with my zig bug files but no longer the screaming address in zig 0.11. Closing.
Zig Version
0.10.0-dev.3636+507aae4a1
Steps to Reproduce
Build from source as per the wiki. I'm currently using an M2 (aarch64) mac with llvm via homebrew.
I've bisected across master from a known working SHA and identified 507aae4a1 as causing the segfault. My bisect script is below. The code in question for
zig test
(my confirmation) is previously working code w/o too much complexity. It seems to be any code tho afaict.Possibly related to #12746 ?
Expected Behavior
code to run w/o segfault
Actual Behavior