winjer / pyspotify

Python bindings for libspotify
39 stars 2 forks source link

Segfault when using own mod of pyspotify jukebox #3

Open MPV opened 13 years ago

MPV commented 13 years ago

Hi, Gotten it to work and have created an app based on your Jukebox example that should be able to download an URL from internet with the Spotify ID of the song to play.

I'm relatively new to Python (although I'm enjoying it a lot) so I ran into a bit of a problem that you might know more about:

We did a first version that works fine:

https://github.com/stroem/spotify-deamon

But after some minor tweaks (which I thought shouldn't affect) I get segfaults when trying to run this new version of the app:

https://github.com/BigNetwork/spotify-daemon

But hmmm, if I go back now and try the old code that also gets problems, this is what shows up in my /var/log/syslog:

Jan 19 02:45:13 jennifer kernel: [111769.632031] python[9956]: segfault at 4 ip 00e3f40f sp b6cd7c70 error 4 in _spotify.so[e3b000+8000]

Any idea what might have gone wrong? It worked earlier today on the same machine, with the same user.

I wouldn't be surprised if you had no clue. But maybe you might have ideas on where I got continue to look (since I'm really new to Python)?