Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mopidy randomly crashes #1383

Closed
dirkgroenen opened this issue Jan 2, 2016 · 2 comments
Closed

Mopidy randomly crashes #1383

dirkgroenen opened this issue Jan 2, 2016 · 2 comments
Assignees
Labels
C-bug Category: This is a bug

Comments

@dirkgroenen
Copy link
Contributor

The last few days/weeks I experienced some strange behavior with Mopidy. I'm running a setup with Mopidy en Mopify on a Raspberry running Raspbian. For some reason it sometimes randomly crashes when a song has ended.

The output of service mopidy status shows me the following:

Jan 02 21:59:10 raspberrypi mopidy[2359]: File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 201, in _actor_loop
Jan 02 21:59:10 raspberrypi mopidy[2359]: response = self._handle_receive(message)
Jan 02 21:59:10 raspberrypi mopidy[2359]: File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 295, in _handle_receive
Jan 02 21:59:10 raspberrypi mopidy[2359]: return callee(*message['args'], **message['kwargs'])
Jan 02 21:59:10 raspberrypi mopidy[2359]: File "/usr/lib/python2.7/dist-packages/mopidy/core/listener.py", line 34, in on_event
Jan 02 21:59:10 raspberrypi mopidy[2359]: getattr(self, event)(**kwargs)
Jan 02 21:59:10 raspberrypi mopidy[2359]: TypeError: playback_state_changed() got an unexpected keyword argument 'old_state'
Jan 02 21:59:10 raspberrypi mopidy[2359]: Fatal Python error: GC object already tracked
Jan 02 21:59:10 raspberrypi systemd[1]: mopidy.service: main process exited, code=killed, status=6/ABRT
Jan 02 21:59:10 raspberrypi systemd[1]: Unit mopidy.service entered failed state.

Anyone who has any idea of what's happening?

@adamcik
Copy link
Member

adamcik commented Jan 5, 2016

Some bad frontend/backend for the getattr line, though not clear which one. So look for something with the wrong argument names relative to the events. aa010e0 should fix this in develop, and should probably be backported to 1.1.x

The following "GC object already tracked" at shutdown on the otherhand looks like something in some bindings, not mopidy itself.

@adamcik adamcik added this to the v1.1.2 - Bugfixes milestone Jan 5, 2016
@adamcik adamcik added the C-bug Category: This is a bug label Jan 5, 2016
@jodal jodal self-assigned this Jan 10, 2016
jodal added a commit that referenced this issue Jan 10, 2016
@jodal
Copy link
Member

jodal commented Jan 10, 2016

Fix cherry-picked to release-1.1 branch.

@jodal jodal closed this as completed Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

3 participants