aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
3.43k stars 149 forks source link

Crashes on startup on FreeBSD #332

Open pepe82sh opened 8 months ago

pepe82sh commented 8 months ago

Describe the bug I've just installed Spotify-Player inside a freeBSD jail. It has been built with the default options. On calling spotify_player my it'll start rendering the "window" but then fails fatally creating a core dump.

To Reproduce Install on FreeBSD and run.

Expected behavior Application not crashing.

Log and backtrace Core dump can be provided upon request. Buildlog: spotify-player-0.16.3.buildlog.txt

Screenshots

Screenshot 2024-01-06 at 23 31 04

Environment

Additional context

This device has no sound connected. In the end it's meant to create a stream to another device that'll ultimately output the audio.

aome510 commented 8 months ago

Can you see any logs/backtraces in the .cache/spotify_player folder?

aome510 commented 8 months ago

Hi any updates on this issue? Otherwise, I'll close it.

pepe82sh commented 8 months ago

Sorry, I was very sure I had sent an answer. The only thing I can see there is the core dump I was mentioning in the original ticket. It's a bit too big to add it to the ticket, but if anyone can use it I'm happy to figure out a way to provide the dump to someone working on it.

aome510 commented 8 months ago

Can you send me the core dump to phamducthang1234@gmail.com? I can take a look to see if there is a problem.

Sorry, I was very sure I had sent an answer. The only thing I can see there is the core dump I was mentioning in the original ticket

Very weird because normally if you can spawn the UI window, there should be a log and backtrace created in the cache folder.

Nafanya commented 8 months ago

Probably not related, but had similar issue -- in my case spotify_player just exited after a couple of seconds. The issue was an already running spotifyd instance. In the logs I had this error:

ERROR spotify_player: Encountered an error when running the application: Failed to initialize the Spotify data: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Used v0.16.3 on NixOS.

miguelbarao commented 5 months ago

Maybe it's jail related? Running on FreeBSD 14 outside a jail and it works perfectly. Installed with pkg.