SpotX-Official / SpotX-Bash

SpotX Mac and Linux adblocker for the Spotify desktop client, in Bash
MIT License
1.7k stars 58 forks source link

segfault on 1.2.31.1205 (linux) #33

Closed k1gen closed 4 months ago

k1gen commented 4 months ago

๐Ÿง Have you fully read the README and viewed similar issues?

ะกountry of your account

Poland

What is your Spotify Plan?

Free

Do you have Spicetify installed?

No

โ„น Computer information

- Spotify version: 1.2.31.1205
- OS: Arch Linux
- Shell: zsh

๐Ÿ“ Description

  1. install spotify with aur
  2. run spotify (runs fine)
  3. run bash <(curl -sSL https://spotx-official.github.io/run.sh) -cfhl -P /opt/spotify
  4. run spotify and get
    User flags: --enable-features=UseOzonePlatform --ozone-platform=wayland
    /opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
    zsh: segmentation fault (core dumped)  /usr/bin/spotify

    (same without userflags, .cache/spotify & .config/spotify don't exist)

๐Ÿ–ฅ๏ธ Terminal Input/Output

โฏ bash <(curl -sSL https://spotx-official.github.io/run.sh) -cfhl -P /opt/spotify

โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ•—  โ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ•— โ–ˆโ•—
โ–ˆโ•”โ•โ•โ•โ–ˆโ•”โ•โ–ˆโ•—โ–ˆโ•”โ•โ•โ–ˆโ•—โ•šโ•โ–ˆโ•”โ•โ•โ•šโ–ˆโ•—โ–ˆโ•”โ•  โ–ˆโ•”โ•โ–ˆโ•—โ–ˆโ•”โ•โ–ˆโ•—โ–ˆโ•”โ•โ•โ•โ–ˆโ•‘ โ–ˆโ•‘
โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ•‘  โ–ˆโ•‘  โ–ˆโ•‘   โ•šโ–ˆโ•”โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•‘
โ•šโ•โ•โ–ˆโ•‘โ–ˆโ•”โ•โ• โ–ˆโ•‘  โ–ˆโ•‘  โ–ˆโ•‘   โ–ˆโ•”โ–ˆโ•—โ•šโ•โ•โ–ˆโ•”โ•โ–ˆโ•—โ–ˆโ•”โ•โ–ˆโ•‘โ•šโ•โ•โ–ˆโ•‘โ–ˆโ•”โ•โ–ˆโ•‘
โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ•‘   โ•šโ–ˆโ–ˆโ–ˆโ•”โ•  โ–ˆโ•‘  โ–ˆโ•”โ• โ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ•‘ โ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ•‘ โ–ˆโ•‘
โ•šโ•โ•โ•โ•โ•šโ•    โ•šโ•โ•โ•   โ•šโ•  โ•šโ•  โ•šโ•  โ•šโ•โ•โ• โ•šโ• โ•šโ•โ•šโ•โ•โ•โ•โ•šโ• โ•šโ•

Using Spotify Directory: /opt/spotify

Latest supported version: 1.2.31.1205
Detected Spotify version: 1.2.31.1205

โœ” Cleared app cache
โœ” Detected & restored backup
โœ” Applied free-tier plan patches
โœ” Enabled experimental features
โœ” Removed non-music categories on home screen
โœ” Removed lyrics background color
โœ” Finished

๐Ÿ“ธ Screenshots

No response

bytedream commented 4 months ago

Uninstalling (and removing the /opt/spotify directory completely, idk if this was necessary) and then installing it again resolved the issue for me.

Edit: I'm also on Arch, spotify installed via the AUR

k1gen commented 4 months ago

it was necessary. a couple cycles of deleting /opt/spotify and reinstalling spotify helped me too

jetfir3 commented 4 months ago

Edit:

I've fixed the issue where path was needed to be set manually with SpotX-Bash.

k1gen commented 4 months ago

yeah, I noticed the script was taking a long time to detect the installation after upgrading from 1.2.26.1187 to 1.2.31.1205. if I clean-upgrade - this disappears, and there is no such problem now

jetfir3 commented 4 months ago

I've now corrected the issue which leads to segfault. Turns out a previously implemented solution which I had recently updated was done so incorrectly which then brought back this issue.

Linux users should now be able to use SpotX-Bash normally without having to consider Spotify updates or existing backup files.

k1gen commented 4 months ago

thank you for your research on this matter and your great work on SpotX-Bash overall, @jetfir3!

jetfir3 commented 4 months ago

Fixed. Now closing.