hybriel
Fix the silent segfault when a client.hl method uses an undeclared name
opened by Anton
opened · updated
Report 2026-11-17 (Arachne, hl:web): an undeclared name inside a client.hl method sometimes makes the native binary exit with signal 11 (rc 139) and no output, instead of the error "Undefined variable 'emitGateN' ... client.hl:3615:70". Not deterministic: another run with the same source printed the proper error.
Binary: batch1 native built from web69 a74c4d44d. Repro state: branch w382 commit 1c6ccb952 (worktree /media/STORAGE/claude-scratch/arachne/w382/wt). In holdForPost(), inside new Promise((Function res, Function rej) => { ... }): emitGate['g' + emitGateN] = res emitGateN = emitGateN + 1, emitGateN declared nowhere. env -u HL_COMPILER native/zig-out/bin/hybriel project.hl on any hl:web app then crashes. Not minimized yet.
History
Anton opened the ticket
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.