!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

414 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.138 Servers

Load older messages


SenderMessageTime
3 Dec 2025
@522_:catgirl.cloud522 it/its ⛯ΘΔanyways this library seems so broken with timeouts that i can't find any interesting bugs. i would not use it.18:50:39
@522_:catgirl.cloud522 it/its ⛯ΘΔ
AddressSanitizer:DEADLYSIGNAL
=================================================================
==4186307==ERROR: AddressSanitizer: stack-overflow on address 0x7ffd4de08ff8 (pc 0x5573ef08d9d5 bp 0x7ffd4de09020 sp 0x7ffd4de09000 T0)
[...]
SUMMARY: AddressSanitizer: stack-overflow (/tmp/empty_2025-12-03_18-42_YO56/toml11/.clusterfuzzlite/parse_fuzzer+0xe49d5) 
==4186307==ABORTING
MS: 4 CopyPart-ChangeBit-PersAutoDict-ChangeBit- DE: "\001t]\027E\321t]"-; base unit: cedc8e17bb302340fa730e2daef1bf85c97f1c23
0x48,0xa,0xa,0x3d,0x2d,0x73,0x31,0x5b,0x2d,0x65,0x6d,0x20,0x20,0x60,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0xa,0x44,0xa,0x4e,0x3d,0x5b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5b,0xa,0x20,0x30,0x20,0x20,0x20,0x20,0x20,0x5b,0x5b,0x5b,0x20,0x3d,0x2d,0x73,0x31,0x20,0x74,0x5d,0x20,0x45,0x51,0x74,0x5d,
H\012\012=-s1[-em  `         \012D\012N=[\012         [\012 0     [[[ =-s1 t] EQt]
artifact_prefix='./'; Test unit written to ./crash-57c309cacf0b22cae06e40cb1e4a75759b0ec285
Base64: SAoKPS1zMVstZW0gIGAgICAgICAgICAKRApOPVsKICAgICAgICAgWwogMCAgICAgW1tbID0tczEgdF0gRVF0XQ==

loud cheering
we got a "not timeout"

18:53:33
@522_:catgirl.cloud522 it/its ⛯ΘΔnot actually memory unsafety, just a stack overflow, but still. lol lmao.18:53:54
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)this seems crazy19:30:35
@522_:catgirl.cloud522 it/its ⛯ΘΔdoes lix have a hard dep on rust? just use the toml crate and make C bindings to it :-)19:45:26
@aloisw:julia0815.dealoisw It does, but as far as I understand the problem with adding more Rust is that you can't have two dependencies on Rust, so that's not going to work. 19:47:45
@qyriad:katesiria.orgQyriad no we have the fix for that 19:52:45
@qyriad:katesiria.orgQyriad actually we have two 19:53:11
@qyriad:katesiria.orgQyriad the first is implemented and we just need to rebase it and write comments/README to explain it 19:53:44
@qyriad:katesiria.orgQyriad which is just linking all rust through a single crate 19:54:18
@qyriad:katesiria.orgQyriad the second is to just use rustc as our linker  19:54:35
@qyriad:katesiria.orgQyriad which we think is the cleaner solution and something we'll want to do anyway 19:54:56
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)i love the sound of every words20:15:11
16 May 2024
@aciceri:nixos.devzrsk joined the room.13:54:49
@samrose:matrix.orgsamrose
In reply to @lunaphied:lunaphied.me
I think there were a few CLs on the Gerrit but nothing being actively worked
The other thing that I could do if it helps is test things and try to find bugs. I did do some C++ work in the past, but may lack the time to do it justice here at least for about 30 days or so
15:55:29
@qyriad:katesiria.orgQyriadwe are not in any rush 🙂17:20:53
@samrose:matrix.orgsamroseWould it help to also test out the existing Lix code and try to find issues/bugs etc?17:23:21
@qyriad:katesiria.orgQyriadabsolutely17:23:41
@samrose:matrix.orgsamrose
  • how do people feel about the existing test suite that comes along with nix source code or Lix?
17:23:48
@qyriad:katesiria.orgQyriadit's pitiful17:24:10
@samrose:matrix.orgsamroseheh 17:24:16
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)expanding it is cool17:24:23
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)writing new tests for builtins which are not tested17:24:30
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)new test behaviors, etc.17:24:32
@qyriad:katesiria.orgQyriad we have three flavors of test:
  1. gtest (offer only available in libexpr and libutil)

  2. bash script

  3. virtual machine


the vast, vast majority of testing is in the "bash script" flavor and it is a mess
17:25:01
@samrose:matrix.orgsamroseI was just going to ask on the "functional" tests: do we still like using bash there?17:25:56
@samrose:matrix.orgsamrosethe last time that I worked on a major nix related cli project that used bash, or bats for testing, over time it became rather kind of hard to maintain17:26:42
@samrose:matrix.orgsamroseI am not usually a big python fan, but in that project we heard from some in the Rust community that they actually use Python to test CLI and seem to have success there. 17:27:59
@qyriad:katesiria.orgQyriadno gods please kill bash testing. the problem is that it's kind of really difficult to migrate an entire test suite and be sure that you actually migrated the test suite correctly and won't lose coverage accidentally in the process, which makes any kind of migration a bit nerve wracking17:28:36
@samrose:matrix.orgsamroseyes it's a rather large undertaking17:28:52

Show newer messages


Back to Room ListRoom Version: 10