mariusor / mpris-scrobbler

A minimalistic user daemon to submit the songs you're playing to audioscrobbler services like listenbrainz.org, libre.fm and last.fm.
MIT License
151 stars 6 forks source link

Crash in debug mode when closing Qmmp #81

Closed mariusor closed 2 years ago

mariusor commented 3 years ago
DEBUG   main::loading_credentials: ok
DEBUG   main::loading_config: ok
ERROR     mpris::failed_to_load_player_name: This message iterator must have variant type
INFO    mpris_player::already_opened[0]: org.mpris.MediaPlayer2.qmmp:1.111
mpris-scrobbler: /home/habarnam/playground/mpris-scrobbler/build/../src/sdbus.h:1258: add_filter: Assertion `mpris_player_is_valid(player)' failed.
Aborted (core dumped)

This might be related to the crash mentioned in the first message of #80

mariusor commented 3 years ago

So, the logs for the crash in #80 are showing it happening in a different place but it looks to be the same underlying issue.

Dec 26 11:27:23 charon mpris-scrobbler[12082]: DEBUG   events::add_event:now_playing[Qmmp] in 65.000s, ellapsed 0.000s
Dec 26 11:27:23 charon mpris-scrobbler[12082]: INFO     api::submitted_to[listenbrainz.org:0]: ok
Dec 26 11:27:41 charon mpris-scrobbler[12082]: INFO    mpris_player::already_opened[1]: org.mpris.MediaPlayer2.qmmp:1.136
Dec 26 11:27:41 charon mpris-scrobbler[12082]: DEBUG   changed::volume:               no
Dec 26 11:27:41 charon mpris-scrobbler[12082]: DEBUG   changed::position:            yes
Dec 26 11:27:41 charon mpris-scrobbler[12082]: DEBUG   changed::playback_status:     yes
Dec 26 11:27:41 charon mpris-scrobbler[12082]: DEBUG   changed::track:               yes
Dec 26 11:27:50 charon mpris-scrobbler[12082]: INFO    mpris_player::closed[1]: org.mpris.MediaPlayer2.qmmp:1.136
Dec 26 11:28:28 charon mpris-scrobbler[12082]: mpris-scrobbler: /builddir/build/BUILD/mpris-scrobbler-0.4.0.1/x86_64-redhat-linux-gnu/../src/sevents.h:79: send_now_playing: Assertion `NULL != player && mpris_player_is_valid(player)' failed.