Xeroday / Spotify-Ad-Blocker

EZBlocker - A Spotify Ad Blocker for Windows
https://www.ericzhang.me/projects/spotify-ad-blocker-ezblocker/
GNU General Public License v3.0
1.85k stars 192 forks source link

crashes on 32bit systems #125

Closed Sogolumbo closed 6 years ago

Sogolumbo commented 6 years ago

I want to use this Program on my 32bit Windows 10 tablet/laptop. The program works on my 64bit PC (that's where I'm running Visual Studio). At the first try I compiled the program (without making any changes) and copied the files to the laptop. Running it did not work (as expected) because I compiled it on a 64bit machine. At the second try I chose the x86 target platform in both projects. But the program program crashed on both my PC and laptop: error message (It says: EZBlocker stopped working.... Debug/Close) I tried debugging it but I have not found out, what the problem is. All I found out is that the crash is shortly after the Marshal.ThrowExceptionForHR(_AudioSessionManager2.RegisterSessionNotification(_AudioSessionNotification)); method call (line 62 in AudioSessionManager2.cs). I am really unexperienced in debugging outside of managed Code (C#) and VisualStudio Projects (self-written code). I hope someone else can solve this Issue.

Xeroday commented 6 years ago

Seems like an issue with the finding the audio drivers. Can you try the latest version and let me know if you still have a problem?

Sogolumbo commented 6 years ago

It didn't crash until I checked the option: "Block Banner Ads". It kept crashing at every startup. I thought I reset the option in the settings file (but it was the wrong file) and then it worked again (Muting Ads as it is supposed to do). After shutting down the program and restarting it it started crashing again.

Edit 2: If I start Spotify first it works. But if EZBlocker has to start Spotify it crashes.

Xeroday commented 6 years ago

That issue you just had is unrelated to 32 bit systems and has been fixed in 1.7.1.1.

Let me know if the latest version still crashes.