Environment & Versions
- System: macos
- Termusic version: master with cargo
- Rust version: 1.94.1
Logs:
Logs
[2026-04-04T17:48:13.767+02:00 INFO termusicplayback::backends::rusty::decoder]: Found supported container with trackid 0 and codectype 0x2000
[2026-04-04T17:48:13.880+02:00 INFO termusicplayback]: Not restoring Last position as it is not enabled for Music
[2026-04-04T17:48:13.880+02:00 WARN discord_rich_presence::ipc_unix]: find_pipe: could not find pipe
[2026-04-04T17:48:13.885+02:00 ERROR termusic_server::logger]: Panic occured:
panicked at /Users/[me]/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/souvlaki-0.8.3/src/platform/macos/mod.rs:324:24:
null pointer dereference occurred
disabled backtrace
~
Description of the Problem
Everything related to play (or so it seems) is broken. This happens only on debug builds (here cargo build --locked). Verified as not happening on Linux (and the file where the panic occurs is clearly about macos). I don't know nor can I test for Windows.
Issue seems related to a crate, so it might require an upstream report there. It's still weird it affect only debug builds.
Additional observations:
- I don't know if it's possible to have logs at a more predictable location on mac, they currently are at a location with unpredictable path so I had to search after them:
❯ fd termusic-server.log /
/private/var/folders/vf/ptf858lx6mv_3hdbs1z6s85w0000gn/T/termusic-server.log
/System/Volumes/Data/private/var/folders/vf/ptf858lx6mv_3hdbs1z6s85w0000gn/T/termusic-server.log
(README mentioned with an interrogation /tmp for mac, so it's actually incorrect)
- Should the Discord part (line 3) appears as a warning when we don't use such features?
- First line was making me curious with codectype 0x2000, trackid and so on.
EDIT: Out of topic, but I was surprised that, when the laptop was under heavy load (still compiling one termusic), launching termusic had music play start instantly but several seconds of delay in build and showing the UI. It the (T)UI that heavy and demanding in resources that there's such a difference under heavy load between the music startup timing, and when the TUI is drawn?
Environment & Versions
Logs:
Logs
Description of the Problem
Everything related to play (or so it seems) is broken. This happens only on debug builds (here
cargo build --locked). Verified as not happening on Linux (and the file where the panic occurs is clearly about macos). I don't know nor can I test for Windows.Issue seems related to a crate, so it might require an upstream report there. It's still weird it affect only debug builds.
Additional observations:
(
READMEmentioned with an interrogation/tmpfor mac, so it's actually incorrect)EDIT: Out of topic, but I was surprised that, when the laptop was under heavy load (still compiling one
termusic), launching termusic had music play start instantly but several seconds of delay in build and showing the UI. It the (T)UI that heavy and demanding in resources that there's such a difference under heavy load between the music startup timing, and when the TUI is drawn?