| 19 Sep 2024 |
K900 | boehmgc was last updated six months ago | 06:14:55 |
K900 | Don't really see how it would be those | 06:17:43 |
jade_ | In reply to @aleksana:mozilla.org How do we make sure that the bug definitely doesn't happen with nix 2.18 and newer libraries in tree i would be extremely surprised if it did, since this seems to have happened enough for people to notice it this time around, whereas i don't think we have any reports of it happening on 2.18 | 08:10:05 |
jade_ | not impossible but also not likely? | 08:10:10 |
jade_ | hm, i am going to write a bad script and see what happens | 08:10:58 |
Robert Hensing (roberth) | also no occurrences on Nixpkgs 24.05, which is the CI env, and what I've been daily driving fwiw | 08:12:43 |
jade_ | In reply to @k900:0upti.me Do we revert again i mean, i think that it's most expedient to just revert so nobody is in a rush to fix it? | 08:22:00 |
jade_ | #!/usr/bin/env bash
set -e
RRDIR=$HOME/.cache/rr-testing
gorun() {
for (( i=0; i < 40; i = i + 1 )); do
_RR_TRACE_DIR=$RRDIR rr record --chaos -- nix eval --no-eval-cache .#nixosConfigurations.snowflake
done
}
while true; do
rm -rvf "$RRDIR"
gorun
done
btw this is my bad script
| 08:22:25 |
jade_ | if i can repro it in rr, we will be able to fix this bug without question | 08:22:56 |
jade_ | so i am planning to leave that cooking overnight | 08:23:12 |
jade_ | ok i didn't quite get that script right. here's one that works and also warms the computer a bit more:
#!/usr/bin/env bash
set -e
RRDIR=$HOME/.cache/rr-testing
gorun() {
for (( i=0; i < 40; i = i + 1 )); do
_RR_TRACE_DIR=$RRDIR parallel -N0 --verbose --halt-on-error 2 --lb rr record --chaos -- nix eval --eval-store "$(pwd)/store" --no-eval-cache .#nixosConfigurations.snowflake.config.system.build.toplevel ::: {1..10}
done
}
nix --version
while true; do
rm -rvf "$RRDIR"
gorun
done
| 08:40:40 |
jade_ | no guarantees this is going to actually find anything, but i will throw computer time at the problem | 08:41:40 |
jade_ | if i don't get a failure by morning, i am guessing my config is not good enough to trigger it | 08:49:16 |
jade_ | still no exploding and we're surely up to hundreds of runs at this point | 08:59:53 |
jade_ | i suspect my config is not good enough, so i defer to someone with one that will actually do this | 09:00:09 |
Mic92 | In reply to @mightyiam:matrix.org
Hey, I just got a segfault on nix flake check on nix (Nix) 2.24.6
checking flake output 'apps'zsh: segmentation fault (core dumped) nix flake check
Is the flake in question public? | 09:00:26 |
jade_ | In reply to @mightyiam:matrix.org The flake we were working on is private, sorry. Not sure what more I can do. Perhaps it will occur again... ^^ | 09:00:39 |
jade_ | puck also got it on her config | 09:00:59 |
Mic92 | Ok. Maybe its better to open a nix issue. Matrix is not a good place to track stuff like this. | 09:02:22 |
Mic92 | I can't find the flake in question either | 09:06:18 |
Find me at aleksana:qaq.li | In reply to @jade_:matrix.org i suspect my config is not good enough, so i defer to someone with one that will actually do this The nixosTests.installer.simpleUefiSystemdBoot just contains a dead simple configuration.nix, but that is triggering the problem | 09:13:53 |
Find me at aleksana:qaq.li | It's in nixpkgs/nixos/tests/installer.nix | 09:13:53 |
Mic92 | Ok. I will try locally | 09:20:18 |
Find me at aleksana:qaq.li | Maybe we should just open fsantizers and attach valgrind, and fix as many potential errors around libexpr as possible? | 09:22:36 |
jade_ | wont help if the fuckup is gc induced | 09:32:07 |
jade_ | gc means no sanitizers | 09:32:14 |
Find me at aleksana:qaq.li | Boehm gc 💀 | 09:39:14 |
Mic92 | I haven't seen this bug in nix-eval-jobs which doesn't enable GC. And I eval a fair bit of NixOS tests. | 10:06:42 |
Mic92 | * I haven't seen this bug in nix-eval-jobs which doesn't enable GC. And I eval a fair bit of NixOS tests on a daily base. | 10:07:34 |
Mic92 | This is the nixos configuration from simple-uefi-system-boot: https://gist.github.com/Mic92/0243df2a0b47bbc44ae0384de5f49aa9 | 11:04:22 |