You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
patchelf: Launching any JACK clients cause segmentation faults. (originally filed as pipewire) #579810
Launching any JACK clients (tested using Reaper and Pianoteq 9) causes a segmentation fault on launch.
On any clients where JACK support is optional (tested using Audacity), only ALSA support is listed.
Last known working unstable hash: 55bfb4d lastModified 1791956154
Earliest known broken unstable hash: 02c087f lastModified 1792502884
Steps to reproduce
Install the current NixOS unstable version with Pipewire and JACK enabled, then launch either Reaper or Pianoteq.
Note: Tested rolling back pipewire and wireplumber to the latest known working hash (pipewire version 1.6.8 vs 1.6.9) so the problem might be bigger than pipewire itself.
Something might be broken somewhere else in the stack but again only JACK clients are broken.
The real culprit might be in libjack2 instead. Not sure if things get built against libjack2 or pipewire.jack though if the latter is enabled. I would ping the maintainers... but there are none!
Note 3: The actual system Pipewire version doesn't matter (tested against both 1.6.8 and 1.6.9). What matters is that the version that the JACK client is built against is downgraded to 1.6.8.
As a temporary fix for anyone else encountering this issue, all you need to downgrade is the version of any JACK clients you are using and nothing else.
For maintainers, please check what's going on with libjack2 or pipewire.jack.
That is extremely strange, it's crashing in the dynamic loader before the application even runs. Can you try running the application with LD_DEBUG=all?
Switched to Pianoteq which is unwrapped since I have no idea how to unwrap Reaper.
> LD_DEBUG=all Pianoteq\ 9
106621: tls: assign modid 1 to Pianoteq 9 [0]
106621: symbol=__vdso_clock_gettime; lookup in file=linux-vdso.so.1 [0]
106621: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_gettime' [LINUX_2.6]
106621: symbol=__vdso_gettimeofday; lookup in file=linux-vdso.so.1 [0]
106621: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_gettimeofday' [LINUX_2.6]
106621: symbol=__vdso_time; lookup in file=linux-vdso.so.1 [0]
106621: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_time' [LINUX_2.6]
106621: symbol=__vdso_getcpu; lookup in file=linux-vdso.so.1 [0]
106621: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getcpu' [LINUX_2.6]
106621: symbol=__vdso_clock_getres; lookup in file=linux-vdso.so.1 [0]
106621: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_getres' [LINUX_2.6]
106621: symbol=__vdso_getrandom; lookup in file=linux-vdso.so.1 [0]
106621: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getrandom' [LINUX_2.6]
That suggestion did lead me to this issue though : #577387
Timeline seems to match up with where the latest working version is (last working Oct 20, patchelf update Oct 22). Issue seems to have survived NixOS/patchelf#672 though.
FWIW since I was pinged I agree with K900 that it does look patchelf related, given what I have seen thus far. Both crashes land at the same offset in ld-linux, and Reaper’s kernel line shows error 7 (a write to a read-only page) inside the dynamic linker, which fits a corrupted binary. Pinning back to before the patchelf update fixing it also makes it stronger.
[@emenel](https://github.com/emenel) Can you try debugging against renoise as well and see if you get the same uninformative errors or something else?
Currently running verify but that's gonna uhhh take a while.
Here's the ld debug for renoise:
26110: tls: assign modid 1 to renoise [0]
26110: symbol=__vdso_clock_gettime; lookup in file=linux-vdso.so.1 [0]
26110: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_gettime' [LINUX_2.6]
26110: symbol=__vdso_gettimeofday; lookup in file=linux-vdso.so.1 [0]
26110: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_gettimeofday' [LINUX_2.6]
26110: symbol=__vdso_time; lookup in file=linux-vdso.so.1 [0]
26110: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_time' [LINUX_2.6]
26110: symbol=__vdso_getcpu; lookup in file=linux-vdso.so.1 [0]
26110: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getcpu' [LINUX_2.6]
26110: symbol=__vdso_clock_getres; lookup in file=linux-vdso.so.1 [0]
26110: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_getres' [LINUX_2.6]
26110: symbol=__vdso_getrandom; lookup in file=linux-vdso.so.1 [0]
26110: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getrandom' [LINUX_2.6]
fish: Job 1, 'LD_DEBUG=all renoise' terminated by signal SIGSEGV (Address boundary error)
and from reaper unwrapped:
32311: symbol=__vdso_clock_gettime; lookup in file=linux-vdso.so.1 [0]
32311: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_gettime' [LINUX_2.6]
32311: symbol=__vdso_gettimeofday; lookup in file=linux-vdso.so.1 [0]
32311: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_gettimeofday' [LINUX_2.6]
32311: symbol=__vdso_time; lookup in file=linux-vdso.so.1 [0]
32311: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_time' [LINUX_2.6]
32311: symbol=__vdso_getcpu; lookup in file=linux-vdso.so.1 [0]
32311: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getcpu' [LINUX_2.6]
32311: symbol=__vdso_clock_getres; lookup in file=linux-vdso.so.1 [0]
32311: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_getres' [LINUX_2.6]
32311: symbol=__vdso_getrandom; lookup in file=linux-vdso.so.1 [0]
32311: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getrandom' [LINUX_2.6]
fish: Job 1, 'LD_DEBUG=all /nix/store/bv8j2qb…' terminated by signal SIGSEGV (Address boundary error)
Can you please try building it with older patchelf?
Is there a way to downgrade only patchelf and not the entire nixpkgs for a given package? Right now all I can prove is that we don't get the segfault with the latest nixos-unstable prior to the patchelf upgrade.
Update: I just tested the same logic as this commit that just referenced this exact issue and it works perfectly. camdenboren/nixos@40b16c0
Uses patchelf 15.2 from stable and changes nothing else about the applications.
I think this probably confirms that the real issue is with patchelf. The fix can probably be backported to the affected packages (I am so far aware of Reaper, Bitwig, Pianoteq, and Renoise.
Can someone check if NixOS/patchelf#672 or #578975 fixes these??? I don't know how to test these myself.
changed the title [-]pipewire: Launching any JACK clients cause segmentation faults.[/-][+]patchelf: Launching any JACK clients cause segmentation faults. (originally filed as pipewire)[/+]on Oct 29, 2026
host os: Linux 7.2.8-cachyos-lto, NixOS, 26.11 (Zokor), 26.11.20261020.02c087f
multi-user?: yes
sandbox: yes
version: nix-env (Lix, like Nix) 2.95.4 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/vavakado/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/vavakado/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/vavakado/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/vavakado/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/vavakado/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/ib5pqhkh5vxvr2xa9dw454fy341rxk7d-lix-2.95.4/share
Activity
emenel commentedon Oct 27, 2026
this also impacts
renoisesilikeite commentedon Oct 27, 2026
Note: Tested rolling back pipewire and wireplumber to the latest known working hash (pipewire version 1.6.8 vs 1.6.9) so the problem might be bigger than pipewire itself.
Something might be broken somewhere else in the stack but again only JACK clients are broken.
silikeite commentedon Oct 27, 2026
Note 2: I had to also downgrade Reaper and Pianoteq (and any other JACK-dependent software) to also use the older version - used this guide: https://nixos-and-flakes.thiscute.world/nixos-with-flakes/downgrade-or-upgrade-packages.
The real culprit might be in libjack2 instead. Not sure if things get built against libjack2 or pipewire.jack though if the latter is enabled. I would ping the maintainers... but there are none!
silikeite commentedon Oct 27, 2026
Note 3: The actual system Pipewire version doesn't matter (tested against both 1.6.8 and 1.6.9). What matters is that the version that the JACK client is built against is downgraded to 1.6.8.
As a temporary fix for anyone else encountering this issue, all you need to downgrade is the version of any JACK clients you are using and nothing else.
For maintainers, please check what's going on with libjack2 or pipewire.jack.
K900 commentedon Oct 28, 2026
Please post a full traceback, or a core dump file.
silikeite commentedon Oct 28, 2026
Any instructions for this on NixOS? (Not used to debugging non-debug builds so yeah)
K900 commentedon Oct 28, 2026
coredumpctl infosilikeite commentedon Oct 28, 2026
K900 commentedon Oct 28, 2026
That is extremely strange, it's crashing in the dynamic loader before the application even runs. Can you try running the application with
LD_DEBUG=all?silikeite commentedon Oct 28, 2026
Just as a sanity check before I send, is there anything sensitive I need to censor before I send the output? Output is a pretty long file.
K900 commentedon Oct 28, 2026
I don't think there should be anything sensitive in there.
silikeite commentedon Oct 28, 2026
https://gist.github.com/silikeite/bbdb38d5632f0ae90e4b9afc953f9853
K900 commentedon Oct 28, 2026
Ugh this is tracing the bash wrapper. Can you try running the unwrapped executable directly?
silikeite commentedon Oct 28, 2026
Switched to Pianoteq which is unwrapped since I have no idea how to unwrap Reaper.
9 remaining items
silikeite commentedon Oct 28, 2026
That suggestion did lead me to this issue though : #577387
Timeline seems to match up with where the latest working version is (last working Oct 20, patchelf update Oct 22). Issue seems to have survived NixOS/patchelf#672 though.
nick-linux8 commentedon Oct 28, 2026
FWIW since I was pinged I agree with K900 that it does look patchelf related, given what I have seen thus far. Both crashes land at the same offset in ld-linux, and Reaper’s kernel line shows error 7 (a write to a read-only page) inside the dynamic linker, which fits a corrupted binary. Pinning back to before the patchelf update fixing it also makes it stronger.
emenel commentedon Oct 28, 2026
Here's the ld debug for renoise:
and from reaper unwrapped:
K900 commentedon Oct 28, 2026
Can you please try building it with older patchelf?
reaper: hotfix downgrade patchelf -> 0.15.2
silikeite commentedon Oct 28, 2026
Is there a way to downgrade only patchelf and not the entire nixpkgs for a given package? Right now all I can prove is that we don't get the segfault with the latest nixos-unstable prior to the patchelf upgrade.
silikeite commentedon Oct 28, 2026
Update: I just tested the same logic as this commit that just referenced this exact issue and it works perfectly.
camdenboren/nixos@40b16c0
Uses patchelf 15.2 from stable and changes nothing else about the applications.
I think this probably confirms that the real issue is with patchelf. The fix can probably be backported to the affected packages (I am so far aware of Reaper, Bitwig, Pianoteq, and Renoise.
Can someone check if NixOS/patchelf#672 or #578975 fixes these??? I don't know how to test these myself.
[-]pipewire: Launching any JACK clients cause segmentation faults.[/-][+]patchelf: Launching any JACK clients cause segmentation faults. (originally filed as pipewire)[/+]vavakado commentedon Oct 31, 2026
can reproduce with reaper on
"x86_64-linux"Linux 7.2.8-cachyos-lto, NixOS, 26.11 (Zokor), 26.11.20261020.02c087fyesyesnix-env (Lix, like Nix) 2.95.4 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/vavakado/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/vavakado/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/vavakado/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/vavakado/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/vavakado/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/ib5pqhkh5vxvr2xa9dw454fy341rxk7d-lix-2.95.4/share/nix/store/87lfqfz7mc5dm4w75qikxhd6lkr9jisr-sourcecoredumpctl infoshows the same trace as for silikeiteK900 commentedon Oct 31, 2026
The patchelf update has been reverted on staging-next.
qweered commentedon Nov 3, 2026
Should be fixed by revert in staging-next and in 0.19.3 #577387 (comment), if it will be an issue after that please reopen
silikeite commentedon Nov 6, 2026
Noting that neither the reverted nor the updated patchelf is still in nixos-unstable. Let me know if that's grounds to reopen.
qweered commentedon Nov 6, 2026
Fix is in #580394, should be soon merged to master and then to nixos-unstable
vavakado commentedon Nov 7, 2026
It's just a matter of waiting, see https://nixpk.gs/pr-tracker.html?pr=580394