!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

880 Members
For people hacking on the Nix package manager itself187 Servers

Load older messages


SenderMessageTime
7 Oct 2025
@lovesegfault:matrix.orglovesegfault * oh, hadn't seen this one before nix: ../canon-path.cc:82: void nix::CanonPath::push(std::string_view): Assertion \c != "." && c != ".."' failed.` 04:51:16
@lovesegfault:matrix.orglovesegfault * oh, hadn't seen this one before nix: ../canon-path.cc:82: void nix::CanonPath::push(std::string_view): Assertion `c != "." && c != ".."' failed. 04:51:49
@lovesegfault:matrix.orglovesegfaulti think this fixes it: https://github.com/NixOS/nix/pull/1417105:00:22
@dramforever:matrix.orgdramforever

anyone happen to know what this is fixed in? seems fixed on master, broken on 2.31-maintanance, but idk what this is

nix-repl> builtins.getFlake "github:NixOS/nixpkgs?narHash="
nix: ../flake.cc:37: nix::StorePath nix::flake::copyInputToStore(nix::EvalState&, nix::fetchers::Input&, const nix::fetchers::Input&, nix::ref<nix::SourceAccessor>): Assertion `!originalInput.getNarHash() || storePath == originalInput.computeStorePath(*state.store)' failed.
05:52:47
@dramforever:matrix.orgdramforever *

anyone happen to know what commit this is fixed in? seems fixed on master, broken on 2.31-maintanance, but idk what this is

nix-repl> builtins.getFlake "github:NixOS/nixpkgs?narHash="
nix: ../flake.cc:37: nix::StorePath nix::flake::copyInputToStore(nix::EvalState&, nix::fetchers::Input&, const nix::fetchers::Input&, nix::ref<nix::SourceAccessor>): Assertion `!originalInput.getNarHash() || storePath == originalInput.computeStorePath(*state.store)' failed.
05:53:00
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @k900:0upti.me
That would be insanely inefficient tbh
Well, snix only uses Rc for Values iirc
10:56:26
@k900:0upti.meK900 Yeah and it needs like 200GB of memory to evaluate nixpkgs 10:58:56
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Honestly if one is careful about the memory layout we could get parity with the current memory usage even without GC11:05:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org

anyone happen to know what commit this is fixed in? seems fixed on master, broken on 2.31-maintanance, but idk what this is

nix-repl> builtins.getFlake "github:NixOS/nixpkgs?narHash="
nix: ../flake.cc:37: nix::StorePath nix::flake::copyInputToStore(nix::EvalState&, nix::fetchers::Input&, const nix::fetchers::Input&, nix::ref<nix::SourceAccessor>): Assertion `!originalInput.getNarHash() || storePath == originalInput.computeStorePath(*state.store)' failed.
I think it’s #14050
11:06:38
@lovesegfault:matrix.orglovesegfaultso, last night i was playing with hooking up honggfuzz to libexpr14:39:31
@lovesegfault:matrix.orglovesegfaultand i think i got it working, and then went to sleep14:39:48
@lovesegfault:matrix.orglovesegfault woke up to Crashes : 370949 [unique: 78, blocklist: 0, verified: 67] 14:40:05
@lovesegfault:matrix.orglovesegfault:D 14:40:08
@lovesegfault:matrix.orglovesegfaultit's weird, the honggfuzz session stalls at ~4% coverage, but found a lot of unique crashes. the afl++ session gets up to >16% coverage, but finds no crashes whatsoever πŸ˜΅β€πŸ’«16:18:59
@lovesegfault:matrix.orglovesegfaulti wonder what's up 16:19:07
@lovesegfault:matrix.orglovesegfaultoh, afl++ found one!16:39:08
@fzakaria:one.ems.hostfzakariaoh really ?18:56:34
@fzakaria:one.ems.hostfzakaria are you running nix eval ? Or you hooked it up individually with a harness 18:56:50
@fzakaria:one.ems.hostfzakariamy laptop was going too slow18:57:37
@lovesegfault:matrix.orglovesegfaulti hooked it up with a harness19:00:05
@lovesegfault:matrix.orglovesegfaulti'll make a draft pr in a bit 19:00:11
@lovesegfault:matrix.orglovesegfaulthttps://github.com/NixOS/nix/pull/1417519:27:22
@fzakaria:one.ems.hostfzakariathat makes sense so it goes faster19:51:47
@fzakaria:one.ems.hostfzakariai just wasn't sure if i would "reset it" correctly19:51:53
@fzakaria:one.ems.hostfzakariadid you give it a dictionary?19:53:11
@lovesegfault:matrix.orglovesegfaulti did not19:54:37
@fzakaria:one.ems.hostfzakariaI saw you could; the bash.dict in AFL++ is a good example. That PR is pretty slick; I don't understand yet the N fuzzers but must be a feature with harness i'm not familiar with19:56:27
@lovesegfault:matrix.orglovesegfaulti took it from this: https://aflplus.plus/docs/fuzzing_in_depth/#c-using-multiple-cores19:58:01
@fzakaria:one.ems.hostfzakariaafl-tmin is pretty cool too.19:58:09
@lovesegfault:matrix.orglovesegfaulti'm trying out a dictionary, let's see19:58:19

Show newer messages


Back to Room ListRoom Version: 6