-
-
Notifications
You must be signed in to change notification settings - Fork 93
Segmentation Fault because of lacking file permissions #150
Comments
Without any config, it'll try to read |
That file didn't change at all either. Everything was the same in the system as it was before, and yet it didn't work afterwards. -----Wiadomość oryginalna----- Without any config, it'll try to read spotify_appkey.key from the current working directory. Did something happen to that file? Changed contents? Permissions? Try moving/removing the key file and see if it still segfaults. |
Can you provide a coredump of the process when it segfaults? If you unfamiliar with how to do this, this blog post might be of help. |
Hoping that this is what you've asked for. EDIT: Just gave another shot, and removed the key file completely from my system and downloaded it again. Suddenly it works now. |
I would love to have a copy of the broken key file, so I can try to figure out the diff and add more Python-level sanity checks to avoid segfaults entirely. |
That's really a shame! Just deleted the only copy. But if that happens to me again, I'll make sure to send you a copy. |
Some people using pyportify are seeing this as well: rckclmbr/pyportify#3 (comment) He ran a diff between the bad and good, and there were no differences. |
I'd love to figure this one out, but don't have much to go on at this stage. Maybe check if the pyportify users can reproduce with the example from the first issue here? Reopening. |
@jodal it definitely could be, I'm not explicitly setting the cache location. Let me know when you create a new release in pypi, I'll update and see if it fixes it. |
The |
Oh, bummer. |
Nothing to go on here and downstream has closed/resolved their issue. |
I'm know it's too late, but in case anyone else comes here looking for answers, I just had this problem and it turned out that when I originally ran my script I used root privileges due to some config files I had, eventually when I removed the need for root permissions and ran the script I was getting the seg fault. It's because the tmp file created to store credentials and what not was owned by root, so simply removing this directory and rerunning it solved the issue. |
Thanks! That sounds like something I can make pyspotify guard against. On Sat, Jan 23, 2016, 02:30 ArtinSarraf notifications@github.com wrote:
|
Artin, I believe I have done the same thing as you. Run it as root which now causes a SIGSEGV as mopidy. Where was the tmp file you removed? I removed /var/lib/mopidy/spotify but still get it. |
Maybe On Thu, Mar 24, 2016, 06:44 keithahern notifications@github.com wrote:
|
Closing as libspotify and pyspotify are dead. See #215 for details. |
This is the traceback
To clarify. This worked for me like 5 minutes ago. I haven't installed anything new or anything.
Having rebooted the PC has not given any result.
I've got libspotify 12.1.51-3. (installed from AUR on Arch).
Am I missing something?
The text was updated successfully, but these errors were encountered: