!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

127 Members
23 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 May 2023
@raphi:tapesoftware.netraphi
       > openat(AT_FDCWD, "/build/tmp.sWUePkJTQX/.mono/config", O_RDONLY) = -1 ENOENT (No such file or directory)
       > access("/proc/self/maps", F_OK)         = 0
       > access("/proc/xen", F_OK)               = -1 ENOENT (No such file or directory)
       > mmap(NULL, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = -1 ENOMEM (Cannot allocate memory)
       > openat(AT_FDCWD, "/dev/zero", O_RDONLY) = 3
       > mmap(NULL, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, 3, 0) = -1 ENOMEM (Cannot allocate memory)
       > close(3)                                = 0
       > --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
       > +++ killed by SIGSEGV (core dumped) +++
       > /nix/store/2s0i8w7717g97wmj0r3rhdlhlwac0hj8-stdenv-linux/setup: line 1560:     7 Segmentation fault      (core dumped) strace nuget init "/nix/store/l0d2d7h78n87fsr7s8aw8k6n6k15b028-tjaplayer3-f-1.8.2.1-nuget-deps" "$out/lib"
18:26:34
@raphi:tapesoftware.netraphiugh mkNugetSource is using mono to run nuget18:44:46
@raphi:tapesoftware.netraphipossibly related: https://lore.kernel.org/all/32f156ba80010fd97dbaf0a0cdfc84366608624d.camel@intel.com/18:46:07
@raphi:tapesoftware.netraphi * possibly related: https://lore.kernel.org/all/cb8dc31a-fef2-1d09-f133-e9f7b9f9e77a@sony.com/18:47:36
@huantian:huantian.devhuantianI suppose kernel regression would make sense for this issue, wonder if anyone has reported this for mono as well19:54:45
@huantian:huantian.devhuantian
In reply to @raphi:tapesoftware.net
ugh mkNugetSource is using mono to run nuget
I think Nuget itself is packaged with mono, as MS only seems to release a .exe for it?
19:55:30
@raphi:tapesoftware.netraphi the bug seems to only happen if the stars align. if i run nuget init outside of the nix sandbox it succeeds. i can also run a highly nontrivial mono application just fine. i can also run a tiny c program that calls mmap(... MAP_32BIT) inside of the nix sandbox. 19:56:53
@raphi:tapesoftware.netraphi yeah i was looking into it. the closest thing the .net core CLI has is dotnet nuget push which doesn't have the same semantics 19:57:15
@huantian:huantian.devhuantianWish there was a good way to git bisect through kernel versions to check if it is a regression lol20:04:10
@huantian:huantian.devhuantian* Wish there was a good way to git bisect through kernel versions to check if it is a kernel regression lol20:05:40
@huantian:huantian.devhuantian
In reply to @raphi:tapesoftware.net
yeah i was looking into it. the closest thing the .net core CLI has is dotnet nuget push which doesn't have the same semantics
Man it is so weird that the nuget CLI requires mono on linux still... I suppose ms expects people to mostly use the .net core cli?
20:19:09
3 May 2023
@magikarpz:matrix.orgmdarocha joined the room.14:57:42
@sersorrel:matrix.orgsorrel joined the room.16:58:40

Show newer messages


Back to Room ListRoom Version: 9