Re:Zig's Curious Multi-Sequence for Loops
by Jarred on Monday February 27, 2023 @11:28AM
(#34958330)
Most of what manifests as a segfault in Bun have been due to assuming a JSValue is a heap allocated value when it is (the JavaScript representation) “null”, “undefined”, “true”, “false” etc. These are invalid pointers, the operating system signals the memory access was invalid, Bun runs the signal handler, prints some metadata, and exits. This is a lot like a panic
[ Parent
| on HN ]
There are no comments on this comment yet.