Open nomeata opened 3 years ago
Or maybe it even is deterministic (and it passed before in cases where fewer derivations were available in the nix cache)
Indeed it appears to be deterministic. And just reproduced it with latest nix master (43856b0).
And, in case it helps, it does not seem to occur with nix-2.3.13
Random crashes often indicate an issue with Boehm GC not finding some GC roots. Running with the environment variable GC_INITIAL_HEAP_SIZE=512k
might make it easier to trigger a crash (by forcing earlier/more frequent GCs).
Does this project use import-from-derivation?
Does this project use import-from-derivation?
Yes, I believe it does. (For example it patches the whole of nixpkgs before including it.)
I marked this as stale due to inactivity. → More info
Describe the bug
In one of my (larger) nix based projects,
nix-build
has started to crash non-deterministically during evaluation, but only on MacOS. Sometimes things just work, but sometimes I get(copied from here)
Steps To Reproduce
I don’t have a darwin machine myself, so I cannot try to reproduce it outside of the Github Action builder. But it should just be a matter of
But it only crashes sometimes, which makes debugging harder.
nix
is installed viacachix/install-nix-action@v13
which installs nix-2.4pre19700101.