ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

ncspot 0.10.0 crashes when ran from within proot

Open vaygr opened this issue 3 years ago • 0 comments

Describe the bug

Trying to run ncspot from a fresh Manjaro using proot.

sox (play) and other apps like web-browsers work well, but ncspot crashes with:

thread '<unnamed>' panicked at 'could not send no-op event to cursive: "SendError(..)"', src/events.rs:46:14
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', src/library.rs:230:32

To Reproduce Steps to reproduce the behavior:

  1. env PROOT_TMP_DIR='/mnt/disk-manjaro/tmp' proot -b /proc -b /run -b /tmp -b /var/lib/dbus -R /mnt/disk-manjaro
  2. ncspot
  3. Hit Enter
  4. Hear a sound glitch for split second
  5. See error

Expected behavior

Playing the track.

Screenshots

N/A

System (please complete the following information):

  • OS: Linux
  • Terminal: urxvt
  • Version: 0.10.0
  • Installed from: AUR, ncspot-bin

Backtrace/Debug log Instructions on how to capture debug logs: https://github.com/hrkfdn/ncspot#usage

To debug crashes a backtrace is very helpful. Make sure you run a debug build of ncspot, e.g. by running the command mentioned in the link above.

Additional context Add any other context about the problem here.

vaygr avatar Jul 17 '22 05:07 vaygr