Zig Version
0.12.0-dev.1751+7fbbeae617
Steps to Reproduce and Observed Behavior
Switch to this branch if not merged yet: #18262
(note that the branch fixes issues with the build system that have nothing to do with this bug report)
git clone https://github.com/kristoff-it/zine.git
cd zine
git switch looping-trace
cd sample_website
Running Zig build at this point causes on my machine to hit an assertion in my code, which starts printing a stacktrace stuck on the same frame forever.
thread 421506 panic: reached unreachable code
/home/kristoff/zig/lib/std/debug.zig:342:14: 0x250f43 in assert (super)
if (!ok) unreachable; // assertion failure
^
/home/kristoff/zig/lib/std/debug.zig:342:14: 0x250f43 in assert (super)
if (!ok) unreachable; // assertion failure
^
/home/kristoff/zig/lib/std/debug.zig:342:14: 0x250f43 in assert (super)
if (!ok) unreachable; // assertion failure
^
/home/kristoff/zig/lib/std/debug.zig:342:14: 0x250f43 in assert (super)
if (!ok) unreachable; // assertion failure
^
/home/kristoff/zig/lib/std/debug.zig:342:14: 0x250f43 in assert (super)
if (!ok) unreachable; // assertion failure
My machine is a NixOS VM running on aarch64 (Mac Mini M2).
In some other circumstances the stack trace fails to print completely.
Expected Behavior
The stack trace should end at some point.
Zig Version
0.12.0-dev.1751+7fbbeae617
Steps to Reproduce and Observed Behavior
Switch to this branch if not merged yet: #18262
(note that the branch fixes issues with the build system that have nothing to do with this bug report)
Running Zig build at this point causes on my machine to hit an assertion in my code, which starts printing a stacktrace stuck on the same frame forever.
My machine is a NixOS VM running on aarch64 (Mac Mini M2).
In some other circumstances the stack trace fails to print completely.
Expected Behavior
The stack trace should end at some point.