BlockTheSpot icon indicating copy to clipboard operation
BlockTheSpot copied to clipboard

spotify crashes

Open 404-xianjin opened this issue 1 year ago • 12 comments


Describe the bug

A clear and concise description of what the bug is, along with your OS [eg. Windows 10]:

When I run Spotify, it crashes automatically. Then I refer to #600 and set the config.ini parameter to 0. Spotify can run normally, but the ads cannot be skipped.

Windows11 Pro 23H2

Zip and attach the log file.

log.zip


  • [x] You are using the Spotify last tested version mentioned in the README.
  • [x] You are using the latest BlockTheSpot from github.
  • [x] You uninstalled Spotify and just ran the patch
  • [x] You read through the known issues section in the README.
  • [x] You read through the additional notes section in the README.
  • [x] You enabled logging by editing config.ini set log = 1.
  • [x] Make sure whether an issue related yours is already open or not.
  • [x] Make sure you have completed everything in the above checklist.

Note:

  • Antivirus detections are false positive. Please only open an issue if you find any vulnerability in the code. False reports will be closed without notice.
  • If we find that you have opened an issue without following the troubleshooting above, the issue will be closed without notice.

404-xianjin avatar Apr 27 '25 01:04 404-xianjin

hi i edited the config.ini file and it seems to be working for now , here is what my file looks like

Image

FlexOnMc avatar Apr 27 '25 10:04 FlexOnMc

hi i edited the config.ini file and it seems to be working for now , here is what my file looks like

Cheers. This fixed it for me as well.

Only this change was required for me: Block_Banner=0

For anyone who may be wondering, the config.ini is located in the Spotify installation folder (e.g C:\Users\xxxxx\AppData\Roaming\Spotify)

Bryght7 avatar Apr 27 '25 14:04 Bryght7

Can confirm, Block_Banner=0 fixed it for me too. Thanks

SmileB4Deathz avatar Apr 29 '25 15:04 SmileB4Deathz

Thanks a lot!! This works for me too!

hi i edited the config.ini file and it seems to be working for now , here is what my file looks like

Image

Midsummer124 avatar Apr 30 '25 13:04 Midsummer124

What I found out is that Block_Banner should be set to 0 otherwise Spotify crashes.

roozbehzarei avatar May 02 '25 04:05 roozbehzarei

Can confirm, Block_Banner=0 fixed it for me too. Thanks

Working for me as well, thank you

kadhir-17 avatar May 06 '25 05:05 kadhir-17

Thank you so much. This fixes the issue. I hope on future update, we gonna able to block the banners too.

hi i edited the config.ini file and it seems to be working for now , here is what my file looks like

Image

zahinwadud avatar May 07 '25 18:05 zahinwadud

Hi, I can't reproduce these. help me do something to test replace this into your spotify folder. but make sure you had the same version of spotify

Image Spotify for Windows (64 bit) 1.2.63.394.g126b0d89

blockthespot_settings.json

mrpond avatar May 15 '25 04:05 mrpond

Hi, I can't reproduce these. help me do something to test replace this into your spotify folder. but make sure you had the same version of spotify

Image Spotify for Windows (64 bit) 1.2.63.394.g126b0d89

blockthespot_settings.json

The problem was the outdated addresses in blockthespot_settings.json here's how mine looks: blockthespot_settings.json Image It seems like the addresses don't get updated in the json file sometimes

Replacing my settings.json with the one you provided fixed the issue

SmileB4Deathz avatar May 15 '25 17:05 SmileB4Deathz

Reinstalling spotify fixed the addresses being updated for me.

But I think the "sentry.io" section is matching to the wrong string in xpui.js.

There are two matches: The address that gets found by the mod "1829633" is matching "sentry.io" to a console.error() string.

The other match is at "7772179" is part of an URL. I think that is the correct match, no?

ghost avatar May 15 '25 19:05 ghost

Reinstalling spotify fixed the addresses being updated for me.

But I think the "sentry.io" section is matching to the wrong string in xpui.js.

There are two matches: The address that gets found by the mod "1829633" is matching "sentry.io" to a console.error() string.

The other match is at "7772179" is part of an URL. I think that is the correct match, no?

This happens to random people, technically it should check pattern at specific address before apply patch into offset. the crash happens because the BTS try put the code into these offset without checking.

mrpond avatar May 19 '25 18:05 mrpond

Fixed release, kindly check the blockthespot.json

mrpond avatar Jun 01 '25 11:06 mrpond