fatal runtime error: assertion failed: output.write(&bytes).is_ok() #125952
Labels
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
O-NixOS
Operating system: NixOS, https://nixos.org/
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
So I was recompiling a typescript nextjs project in a nix derivation, that previously worked (Nix builds are kind of reproducible, so that's very unexpected) and it failed with a weird error:
I suspect my kernel version might be different because I just upgraded to NixOS 24.05 recently.
I traced this panic to
rust/library/std/src/sys/pal/unix/process/process_unix.rs
Line 125 in 1689a5a
I got a strace output:
I'm not sure where to even report it, and a bit tired to dig deeper. Creating the issue just for reference.
The whole thing can be reproduced with:
I'm going to try it on some machines and see when it fails and when works.
The text was updated successfully, but these errors were encountered: