Zig Version
0.11.0-dev.203+58d9004ce, 0.11.0-dev.226+ea590ece4 and 0.11.0-dev.227+0697883d0
Steps to Reproduce and Observed Behavior
Clone dvmason/Zag-Smalltalk@d5a32d1
cd zig/zag
zig test arenas.zig
with dev-203 and dev-227 (though the constants are different) produces:
zig(26898,0x20ceae500) malloc: Double free of object 0x14fe51ab0
zig(26898,0x20ceae500) malloc: *** set a breakpoint in malloc_error_break to debug
with dev-226 produces:
zig(29104,0x20ceae500) malloc: Heap corruption detected, free list is damaged at 0x600002a4a370
*** Incorrect guard value: 18446462627365956102
zig(29104,0x20ceae500) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6
This on MacOs Ventura M1
Expected Behavior
There are errors that should be reported
Zig Version
0.11.0-dev.203+58d9004ce, 0.11.0-dev.226+ea590ece4 and 0.11.0-dev.227+0697883d0
Steps to Reproduce and Observed Behavior
Clone dvmason/Zag-Smalltalk@d5a32d1
cd zig/zag
zig test arenas.zig
with dev-203 and dev-227 (though the constants are different) produces:
zig(26898,0x20ceae500) malloc: Double free of object 0x14fe51ab0
zig(26898,0x20ceae500) malloc: *** set a breakpoint in malloc_error_break to debug
with dev-226 produces:
zig(29104,0x20ceae500) malloc: Heap corruption detected, free list is damaged at 0x600002a4a370
*** Incorrect guard value: 18446462627365956102
zig(29104,0x20ceae500) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6
This on MacOs Ventura M1
Expected Behavior
There are errors that should be reported