Comments (7)
This sounds fantastic. Sounds very much like something not too hard to fix. I'll have a look at this right away :-)
from mopidy-spotify.
I get the same segfault, or at least a very similar one (http://ix.io/k6i), when sending "status\nlsinfo" and sometimes when sending just "lsinfo" to the MPD interface. The lsinfo command has to be without arguments or with just / as the argument. It doesn't happen if I give another argument to lsinfo, I guess because it doesn't load the playlists then.
I tried running mopidy with a pdb breakpoint in get_starred and stepped through the code until I got to the segfault. Not sure if it helps, but here's the output: http://ix.io/k6j
from mopidy-spotify.
I believe this might have been fixed by jodal/pyspotify@2ed3d2a.
Can you retest?
from mopidy-spotify.
I quickly tested the websocket case and I still get a segfault although it's now slightly different. I have not seen this longer version before.
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007f89f3828a8b in sp_session_starred_create () from /usr/lib/libspotify.so.12
#2 0x00007f89f3b46e6c in _cffi_f_sp_session_starred_create (self=<optimised out>, arg0=<_cffi_backend.CData at remote 0x7f89f2b06c60>) at build/temp.linux-x86_64-2.7/spotify._spotify.c:10979
#3 0x000000000052f936 in PyInt_AsUnsignedLongMask (op=()) at ../Objects/intobject.c:277
#4 0x0000000002484fb0 in ?? ()
#5 0x00007f89f3d8b310 in ?? ()
#6 0x00007f89fa8ab578 in ?? ()
#7 0x00000000004d42be in file_dealloc.13342 (f=0x0) at ../Objects/fileobject.c:625
#8 0x00007f89bc000b50 in ?? ()
#9 0x00007f89f3d6b51c in ?? ()
#10 0x00007f89bc000cc8 in ?? ()
#11 0x0000000002be3f70 in ?? ()
#12 0x00007f89f3d8b110 in ?? ()
#13 0x00007f8900000000 in ?? ()
#14 0x00007f89f3d8b0d0 in ?? ()
#15 0x0000000000000000 in ?? ()
from mopidy-spotify.
jodal/pyspotify@dab0c67 adds another potential fix to this.
Please retest! :-)
from mopidy-spotify.
So far so good!
from mopidy-spotify.
Ok, then we close this :-)
from mopidy-spotify.
Related Issues (20)
- How to uninstall mopidy-spotify? HOT 4
- Bug: 'cffi' package version mismatch; unable to install on Kubuntu 22.04.1 LTS HOT 8
- RecvError panic during spotifyaudiosrc playback HOT 3
- "New login to Spotify" emails HOT 10
- https://auth.mopidy.com/spotify/ not responding HOT 2
- Unable to build gst-plugins-spotify HOT 12
- mpd connectivity breaks when aur mopidy-spotify-git is installed and running. HOT 1
- Unable to install mopidy-spotify on Rpi 3 (RaspOS bullseye) HOT 1
- Changing track crashes playback HOT 1
- Switch to PKCE auth HOT 2
- Browsing in Spotify Library doesn't work HOT 4
- [Bug] Fedora 38: GStreamer error: Could not get/set settings from/on resource. HOT 5
- cargo build of gst-plugin-spotify stuck at 288/298 HOT 2
- Problem with getting tracks from playlist HOT 6
- TypeError: Expected length to be a <class 'int'>, not 156923.0 HOT 8
- GStreamer fails to connect HOT 1
- Please remove this extension from the Mopidy extension directory HOT 4
- Fails to play any track, "GStreamer error: Could not get/set settings from/on resource." HOT 3
- Sometimes it fails to switch tracks and Mopidy stops playing anything HOT 6
- SpotifyBackend Error when trying to retrieve tracks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mopidy-spotify.