!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

914 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
19 Sep 2024
@k900:0upti.meK900boehmgc was last updated six months ago06:14:55
@k900:0upti.meK900Don't really see how it would be those06:17:43
@jade_:matrix.orgjade_
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_:matrix.orgjade_not impossible but also not likely?08:10:10
@jade_:matrix.orgjade_hm, i am going to write a bad script and see what happens08:10:58
@roberthensing:matrix.orgRobert Hensing (roberth)also no occurrences on Nixpkgs 24.05, which is the CI env, and what I've been daily driving fwiw08:12:43
@jade_:matrix.orgjade_
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_:matrix.orgjade_
#!/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_:matrix.orgjade_if i can repro it in rr, we will be able to fix this bug without question08:22:56
@jade_:matrix.orgjade_so i am planning to leave that cooking overnight08:23:12
@jade_:matrix.orgjade_

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_:matrix.orgjade_ no guarantees this is going to actually find anything, but i will throw computer time at the problem 08:41:40
@jade_:matrix.orgjade_if i don't get a failure by morning, i am guessing my config is not good enough to trigger it08:49:16
@jade_:matrix.orgjade_still no exploding and we're surely up to hundreds of runs at this point08:59:53
@jade_:matrix.orgjade_i suspect my config is not good enough, so i defer to someone with one that will actually do this09:00:09
@joerg:thalheim.ioMic92
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_:matrix.orgjade_
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_:matrix.orgjade_puck also got it on her config09:00:59
@joerg:thalheim.ioMic92Ok. Maybe its better to open a nix issue. Matrix is not a good place to track stuff like this.09:02:22
@joerg:thalheim.ioMic92I can't find the flake in question either09:06:18
@aleksana:mozilla.orgFind 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
@aleksana:mozilla.orgFind me at aleksana:qaq.li It's in nixpkgs/nixos/tests/installer.nix 09:13:53
@joerg:thalheim.ioMic92Ok. I will try locally09:20:18
@aleksana:mozilla.orgFind me at aleksana:qaq.liMaybe we should just open fsantizers and attach valgrind, and fix as many potential errors around libexpr as possible?09:22:36
@jade_:matrix.orgjade_wont help if the fuckup is gc induced09:32:07
@jade_:matrix.orgjade_gc means no sanitizers09:32:14
@aleksana:mozilla.orgFind me at aleksana:qaq.liBoehm gc 💀09:39:14
@joerg:thalheim.ioMic92I 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
@joerg:thalheim.ioMic92* 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
@joerg:thalheim.ioMic92This is the nixos configuration from simple-uefi-system-boot: https://gist.github.com/Mic92/0243df2a0b47bbc44ae0384de5f49aa911:04:22

Show newer messages


Back to Room ListRoom Version: 6