# Crash on ArchLinux

**URL:** <https://community.audiorelay.net/t/crash-on-archlinux/2218>\
**Category:** Bug reports\
**Tags:** linux\
**Created:** [March 29, 2024, 11:39pm UTC](https://community.audiorelay.net/t/crash-on-archlinux/2218 "2024-03-29T23:39:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![waicool20](https://community-cdn.audiorelay.net/user_avatar/community.audiorelay.net/waicool20/32/1526_2.png) [@waicool20](https://community.audiorelay.net/u/waicool20)\
**Post date:** [March 29, 2024, 11:39pm UTC](https://community.audiorelay.net/t/crash-on-archlinux/2218/1 "2024-03-29T23:39:42Z")

</div>

# Description

Audiorelay 0.27.5-5 crashing on ArchLinux unless run as root in which case it doesnt run properly because it can’t detect any devices, logs here:

Audio system is pipewire

```auto
$ audiorelay     
2024-03-29 16:29:15:911 [INFO] Version: 0.27.5, os: Linux, osVersion: 6.8.1-zen1-1-zen
2024-03-29 16:29:16:066 [INFO] Initializing locale to en
2024-03-29 16:29:16:098 [INFO] Network addresses: NetworkInfo(broadcastAddresses=[10.10.10.255], localAddresses=[10.10.10.40])
2024-03-29 16:29:16:103 [INFO] Starting the server...
terminate called after throwing an instance of 'std::logic_error'
  what(): basic_string::_M_construct null not valid
/usr/bin/audiorelay: line 14: 125612 Aborted (core dumped) archlinux-java-run -a 17 -- "${java_options[*]}" -Djava.library.path="$APPDIR/misc" -cp "$(eval echo "$app_classpath")" "$app_mainclass" "$@"

```

---

<div class="post-metadata">

**Author:** ![joseph](https://community-cdn.audiorelay.net/user_avatar/community.audiorelay.net/joseph/32/1462_2.png) [@joseph](https://community.audiorelay.net/u/joseph)\
**Post date:** [April 15, 2024, 1:42pm UTC](https://community.audiorelay.net/t/crash-on-archlinux/2218/2 "2024-04-15T13:42:32Z")

</div>

Can you try to download the archive file (.tar.gz), extract it and run it instead?

> **[Download AudioRelay on Linux](https://audiorelay.net/downloads/linux/)**
>
> Download AudioRelay on all your devices. It's available on multi-platform and is easy to setup.

What happens when you do run through this file? Do you need to run it with sudo or does it work without sudo? Let me know and I can try to help out. Also, what is your current installation method? Did you use the archive or did you download it from AUR?

If done with AUR, how about removing the package altogether and install it again?

---

<div class="post-metadata">

**Author:** ![waicool20](https://community-cdn.audiorelay.net/user_avatar/community.audiorelay.net/waicool20/32/1526_2.png) [@waicool20](https://community.audiorelay.net/u/waicool20)\
**Post date:** [April 15, 2024, 5:54pm UTC](https://community.audiorelay.net/t/crash-on-archlinux/2218/3 "2024-04-15T17:54:32Z")

</div>

Same issue with the same log output when I try to run it from that link.

It does not launch with sudo

I install it from AUR and have re installed it multiple times.

So I’ve tried replacing the libnative-rtaudio.so with the one you can install with the rtaudio (6.0.1) package and audiorelay launches but doesnt work because of JNI link errors probably because its not built for the newer rtaudio version. Honestly the only solution I can see here is if the dev updated audiorelay with a newer version of rtaudio, or maybe use a different backend like portaudio…

---

<div class="post-metadata">

**Author:** ![niscolas](https://community-cdn.audiorelay.net/letter_avatar_proxy/v4/letter/n/d6d6ee/32.png) [@niscolas](https://community.audiorelay.net/u/niscolas)\
**Post date:** [February 17, 2025, 11:39pm UTC](https://community.audiorelay.net/t/crash-on-archlinux/2218/4 "2025-02-17T23:39:14Z")

</div>

For anyone looking into the issue in the future (I had the same and wasn’t able to solve it), but I found an alternative app called SonoBus that can replace AudioRelay in the meantime.  
You’ll probably need a virtual input / output setup and change the settings of the app (cog at top left), but it’s working for me so far.

---

<div class="post-metadata">

**Author:** ![throwaway03092026](https://community-cdn.audiorelay.net/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@throwaway03092026](https://community.audiorelay.net/u/throwaway03092026)\
**Post date:** [March 9, 2026, 5:54pm UTC](https://community.audiorelay.net/t/crash-on-archlinux/2218/5 "2026-03-09T17:54:18Z")

</div>

i had the same issue, turns out it was because i wrote a custom pipewire sink, but did not set `node.description`. after setting it audiorelay started working again
