mpris2 -> spopd exits / segfaults when I restart Xorg
Opened this issue · 2 comments
I just configured dwm so I can interact with spopd with key combinations. I therefore activated the mpris2 plugin. When I restarted dwm, hence restarted Xorg, to test the new config, spop suddenly stopped playing. I checked, the process wasn't running anymore. I then changed spopd's config back to not using mpris2, now playback continues.
I don't have any error messages etc from spopd, because I don't know how to get them...
Ok, me stupid! I now ran spopd in a tmux session. Here's the output:
$ spopd -f
spop Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015 Thomas Jost and the spop contributors
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
See the COPYING file bundled with this program for details.
Powered by SPOTIFY(R) CORE
2017-10-08 21:13:09 [SPTF] 19:13:09.901 I [ap:1752] Connecting to AP ap.spotify.com:4070
2017-10-08 21:13:09 [SPTF] 19:13:09.940 I [offline-mgr:2084] Storage has been cleaned
2017-10-08 21:13:10 [SPTF] 19:13:10.035 I [ap:1226] Connected to AP: 194.132.198.19:4070
2017-10-08 21:13:10 [SPTF] 19:13:10.688 E [ap:4172] ChannelError(1, 0, playlist)
2017-10-08 21:13:10 [SPTF] 19:13:10.690 E [ap:4172] ChannelError(2, 0, playlist)
2017-10-08 21:13:10 [SPTF] 19:13:10.879 E [ap:4172] ChannelError(8, 1, playlist)
2017-10-08 21:13:10 [SPTF] 19:13:10.880 E [ap:4172] ChannelError(9, 1, playlist)
2017-10-08 21:13:10 [SPTF] 19:13:10.880 E [ap:4172] ChannelError(10, 1, playlist)
2017-10-08 21:13:20 [SPTF] 19:13:20.927 E [ap:4172] ChannelError(2, 1, playlist)
2017-10-08 21:13:20 [SPTF] 19:13:20.928 E [ap:4172] ChannelError(4, 1, playlist)
2017-10-08 21:13:20 [SPTF] 19:13:20.928 E [ap:4172] ChannelError(3, 1, playlist)
2017-10-08 21:13:25 [ERR ] mpris2: name lost on (nil)
Trace/breakpoint trap (core dumped)
The version of spop is commit 340
To clarify, I initially ran spop in daemon mode, I only chose "spopd -f" in tmux to see the output in the terminal.
And spop crashes, when Xorg starts, not when I stop it.