[GH-ISSUE #353] Crashes on Startup Arch Linux #242

Closed
opened 2026-02-28 14:31:36 +03:00 by kerem · 4 comments
Owner

Originally created by @hughesjs on GitHub (Oct 22, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/353

Describe the bug
Start psst-gui and login. App immediately crashes.

STD_ERR reports (with RUST_BACKTRACE=full):

!  ~  RUST_BACKTRACE=full psst-gui Sat 22 Oct 2022 19:48:17 BST
[2022-10-22T18:49:35Z INFO psst_gui::data::config] loading config: "/home/james/.config/Psst/config.json"
[2022-10-22T18:49:35Z INFO psst_gui::webapi::local] parsing local tracks: "/home/james/.config/spotify/Users/tniu738flenbq0ormrdd3eaa3-user/local-files.bnk"
[2022-10-22T18:49:35Z INFO psst_core::audio::output::cpal] using audio device: "default"
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
thread 'main' panicked at 'called Result::unwrap() on an Err value: AudioOutputError(DeviceNotAvailable)', psst-gui/src/controller/playback.rs:53:49
stack backtrace:
0: 0x55dcbb251bd1 -
1: 0x55dcbaff001c -
2: 0x55dcbb22bdb4 -
3: 0x55dcbb252946 -
4: 0x55dcbb2539d8 -
5: 0x55dcbb2534b2 -
6: 0x55dcbb253426 -
7: 0x55dcbb2533e2 -
8: 0x55dcbaa9aa02 -
9: 0x55dcbaa9ac82 -
10: 0x55dcbabc53ed -
11: 0x55dcbad913bf -
12: 0x55dcbaea7dff -
13: 0x55dcbad913bf -
14: 0x55dcbab01acd -
15: 0x55dcbad913bf -
16: 0x55dcbabc0a38 -
17: 0x55dcbad913bf -
18: 0x55dcbad912bd -
19: 0x55dcbae12dcb -
20: 0x55dcbae11836 -
21: 0x55dcbad08ae9 -
22: 0x55dcbad045bb -
23: 0x55dcbaeb9b8c -
24: 0x55dcbad06d1a -
25: 0x55dcbafc6a5e -
26: 0x55dcbaca1dc3 -
27: 0x55dcbafd7506 -
28: 0x7f2663d51290 -
29: 0x7f2663d5134a - __libc_start_main
30: 0x55dcbaab3c75 -
31: 0x0 -

To Reproduce
Start psst-gui and log-in

Expected behavior
It logs in and gui launches.

Screenshots
N/A

Environment

  • OS: Arch Linux
  • Version: 5.19.13-arch1-g14-3
  • DM: Sway

Additional context
I'm using PulseAudio for my sound stack

Originally created by @hughesjs on GitHub (Oct 22, 2022). Original GitHub issue: https://github.com/jpochyla/psst/issues/353 **Describe the bug** Start `psst-gui` and login. App immediately crashes. STD_ERR reports (with `RUST_BACKTRACE=full`): > !  ~  RUST_BACKTRACE=full psst-gui Sat 22 Oct 2022 19:48:17 BST > [2022-10-22T18:49:35Z INFO psst_gui::data::config] loading config: "/home/james/.config/Psst/config.json" > [2022-10-22T18:49:35Z INFO psst_gui::webapi::local] parsing local tracks: "/home/james/.config/spotify/Users/tniu738flenbq0ormrdd3eaa3-user/local-files.bnk" > [2022-10-22T18:49:35Z INFO psst_core::audio::output::cpal] using audio device: "default" > ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave > thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: AudioOutputError(DeviceNotAvailable)', psst-gui/src/controller/playback.rs:53:49 > stack backtrace: > 0: 0x55dcbb251bd1 - <unknown> > 1: 0x55dcbaff001c - <unknown> > 2: 0x55dcbb22bdb4 - <unknown> > 3: 0x55dcbb252946 - <unknown> > 4: 0x55dcbb2539d8 - <unknown> > 5: 0x55dcbb2534b2 - <unknown> > 6: 0x55dcbb253426 - <unknown> > 7: 0x55dcbb2533e2 - <unknown> > 8: 0x55dcbaa9aa02 - <unknown> > 9: 0x55dcbaa9ac82 - <unknown> > 10: 0x55dcbabc53ed - <unknown> > 11: 0x55dcbad913bf - <unknown> > 12: 0x55dcbaea7dff - <unknown> > 13: 0x55dcbad913bf - <unknown> > 14: 0x55dcbab01acd - <unknown> > 15: 0x55dcbad913bf - <unknown> > 16: 0x55dcbabc0a38 - <unknown> > 17: 0x55dcbad913bf - <unknown> > 18: 0x55dcbad912bd - <unknown> > 19: 0x55dcbae12dcb - <unknown> > 20: 0x55dcbae11836 - <unknown> > 21: 0x55dcbad08ae9 - <unknown> > 22: 0x55dcbad045bb - <unknown> > 23: 0x55dcbaeb9b8c - <unknown> > 24: 0x55dcbad06d1a - <unknown> > 25: 0x55dcbafc6a5e - <unknown> > 26: 0x55dcbaca1dc3 - <unknown> > 27: 0x55dcbafd7506 - <unknown> > 28: 0x7f2663d51290 - <unknown> > 29: 0x7f2663d5134a - __libc_start_main > 30: 0x55dcbaab3c75 - <unknown> > 31: 0x0 - <unknown> **To Reproduce** Start `psst-gui` and log-in **Expected behavior** It logs in and gui launches. **Screenshots** N/A **Environment** - OS: Arch Linux - Version: `5.19.13-arch1-g14-3` - DM: Sway **Additional context** I'm using PulseAudio for my sound stack
kerem 2026-02-28 14:31:36 +03:00
Author
Owner

@hughesjs commented on GitHub (Oct 22, 2022):

This seems relevant: https://github.com/RustAudio/rodio/issues/267

And installing this seems to fix the issue but this definitely feels like a workaround, not a fix: https://archlinux.org/packages/extra/x86_64/pulseaudio-alsa

<!-- gh-comment-id:1287884142 --> @hughesjs commented on GitHub (Oct 22, 2022): This seems relevant: https://github.com/RustAudio/rodio/issues/267 And installing this seems to fix the issue but this definitely feels like a workaround, not a fix: https://archlinux.org/packages/extra/x86_64/pulseaudio-alsa
Author
Owner

@bemug commented on GitHub (Nov 8, 2022):

I confirm installing pulseaudio-alsa works.

<!-- gh-comment-id:1307953553 --> @bemug commented on GitHub (Nov 8, 2022): I confirm installing pulseaudio-alsa works.
Author
Owner

@Insprill commented on GitHub (Jan 9, 2023):

Duplicate of #230

<!-- gh-comment-id:1376345674 --> @Insprill commented on GitHub (Jan 9, 2023): Duplicate of #230
Author
Owner

@kepi commented on GitHub (Mar 22, 2024):

Just for those who stumble here looking for solution and using pipewire, pipewire-alsa instead of pulseaudio one works too.

<!-- gh-comment-id:2015419193 --> @kepi commented on GitHub (Mar 22, 2024): Just for those who stumble here looking for solution and using pipewire, `pipewire-alsa` instead of pulseaudio one works too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#242
No description provided.