Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] nix-channel --update crashes on musl
@ 2022-06-02 12:19 loreb
  2022-06-10 21:49 ` paper42
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: loreb @ 2022-06-02 12:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

New issue by loreb on void-packages repository

https://github.com/void-linux/void-packages/issues/37382

Description:
<!-- Don't request update of package. We have a script for that. https://repo-default.voidlinux.org/void-updates/void-updates.txt. However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.10.117_1 x86_64-musl GenuineIntel uptodate rFFF
* package:  
  nix-2.8.1_1

### Expected behavior
It works as usual

### Actual behavior
```
$ nix-channel --update
unpacking channels...
RT34
$ echo $?
162
$ strace nix-channel --update
(...)
vfork()
+++ killed by SIGRT_2 +++
RT34
```


### Steps to reproduce the behavior

Run the above on a musl machine.

To make it more interesting, if you stop the nix-daemon service,
log in as root, and run /etc/sv/nix-daemon/run by hand the behavior changes:
nix-daemon starts to spew many, many, *many* messages saying that it accepted a connection from $pid until it runs out of memory while keeping tens of thousands of nix-daemon processes alive (or zombies?); I have no idea if adding substantially more memory would help, but I know at least that this used to work before.

The bug happens the exact same way with the newly released 2.9.0 (I believe - I had to fiddle with the `--with-sandbox-shell` option to get it to compile for some reason).

`grep -R SIGRT` in the nix sources doesn't return any result, so I guess it's in some dependency (boost?)

Any help is greatly appreciated.


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2023-07-19 22:06 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 12:19 [ISSUE] nix-channel --update crashes on musl loreb
2022-06-10 21:49 ` paper42
2022-06-11 12:37 ` loreb
2022-10-31 10:57 ` xiarenfan
2022-11-02 12:59 ` loreb
2022-11-03  0:27 ` xiarenfan
2022-11-03 12:30 ` loreb
2023-06-03 20:35 ` vincele
2023-06-03 20:43 ` vincele
2023-06-03 21:17 ` vincele
2023-06-03 21:18 ` vincele
2023-06-03 21:19 ` vincele
2023-06-03 21:19 ` vincele
2023-06-03 21:27 ` vincele
2023-06-04  7:10 ` vincele
2023-06-05 14:31 ` loreb
2023-06-05 15:07 ` vincele
2023-06-05 15:12 ` vincele
2023-06-05 15:17 ` vincele
2023-06-05 15:18 ` vincele
2023-06-05 15:25 ` vincele
2023-06-05 16:23 ` loreb
2023-06-23 15:18 ` loreb
2023-07-17 13:56 ` loreb
2023-07-17 14:08 ` classabbyamp
2023-07-17 14:08 ` classabbyamp
2023-07-17 14:42 ` loreb
2023-07-17 15:50 ` loreb
2023-07-19 22:06 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).