Mopidy crashes while playing music

Every time I attempt to play a song I get this error message:

** (mopidy:22014): WARNING **: Command line `dbus-launch --autolaunch=b0676c7438205daeccd5a39354150b04 --binary-syntax --close-stderr’ exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

** (mopidy:22014): WARNING **: Command line `dbus-launch --autolaunch=b0676c7438205daeccd5a39354150b04 --binary-syntax --close-stderr’ exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

** (mopidy:22014): WARNING **: Command line `dbus-launch --autolaunch=b0676c7438205daeccd5a39354150b04 --binary-syntax --close-stderr’ exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

** (mopidy:22014): WARNING **: Command line `dbus-launch --autolaunch=b0676c7438205daeccd5a39354150b04 --binary-syntax --close-stderr’ exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

** (mopidy:22014): WARNING **: Command line `dbus-launch --autolaunch=b0676c7438205daeccd5a39354150b04 --binary-syntax --close-stderr’ exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

Then Mopidy crashes. Any solutions to why? I’m running it on debian 7

Thanks

Those errors are likely red herrings, but really annoying. We’ve been trying to figure out what on earth is constantly trying to run / connect to dbus, but not managed to isolate it this time around.

Following http://docs.mopidy.com/en/latest/troubleshooting/#debug-logging or /var/log/mopidy/mopidy.log contents would help with pointing you in the right direction as this currently isn’t enough info to say anything at all. Oh and mopidy deps output while you are at it :slight_smile:

Thank you for your reply.

Here’s the debug log: http://pastebin.com/edWjyJSX

and here’s the deps: http://pastebin.com/Zw243HNG

/var/crash/_usr_bin_mopidy.*.crash should also help debugging issue

I don’t have that directory. Also, now I just recieve a “Bus error” when playing songs from the local storage.

Hmm, this is really strange, logs have no indication of what is going on. For something calling “sys.exit” there would be some trace in the logs. So it is likely a crash, but without any hints from the logs there isn’t much to be done.

I assume this is running as a system service? Any chance /var/log/messages or one of the other system logs contains some trace of what happend?

Otherwise you could perhaps try to narrow down by disabling extensions. If you can reproduce with a barebone mopidy that at least would exclude quite a bit of responsibilities.

Finally, running with GST_DEBUG_FILE=/path/to/log/file/for/gstreamer and GST_DEBUG=3 in the environment of mopidy might uncover if we are crashing somewhere in gstreamer.