You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
broken LLVM module found: Basic Block in function 'std.child_process.ChildProcess.spawnPosix' does not have terminator! label %OkResume
Instruction does not dominate all uses!
%28 = load { %std.child_process.Term, i16 }*, { %std.child_process.Term, i16 }** %6, align 8, !dbg !23024
%41 = bitcast { %std.child_process.Term, i16 }* %28 to i8*, !dbg !23024
This is a bug in the Zig compiler.
Unable to dump stack trace: debug info stripped
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Oct 15, 2020
I ran across a similar issue and in my reduction narrowed it down to working with std.ChildProcess under evented io. Commenting line 4 (pub const io_mode = .evented) in the code below will compile successfully. Compiling as is will produce the error on versions 0.6.0 -> current master 31802c6
This appears to be the result of #5728. forkChildErrReport() is marked as noreturn but uses async calling convention in evented io_mode due to writeIntFd()'s use of File.write().
Workaround is to add a 'nosuspend' before the last line in writeIntFd().
The text was updated successfully, but these errors were encountered: