Spotify-Ad-Blocker icon indicating copy to clipboard operation
Spotify-Ad-Blocker copied to clipboard

.NET Crash when trying to open last build

Open DualBandWiFi opened this issue 6 years ago • 7 comments

Somehow it works on my work notebook, but not at home.

Here's the Event Log.

Small problem: it's on spanish 😆

Aplicación: EZBlocker.exe Versión de Framework: v4.0.30319 Descripción: el proceso terminó debido a una excepción no controlada. -> The process ended due to an unhandled exception Información de la excepción: System.ComponentModel.Win32Exception en System.Diagnostics.ProcessManager.OpenProcess(Int32, Int32, Boolean) en System.Diagnostics.Process.GetProcessHandle(Int32, Boolean) en System.Diagnostics.Process.get_HasExited() en EZBlocker.SpotifyHook.IsRunning() en EZBlocker.SpotifyHook.<.ctor>b__21_0(System.Object) en System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) en System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) en System.Threading.TimerQueueTimer.CallCallback() en System.Threading.TimerQueueTimer.Fire() en System.Threading.TimerQueue.FireNextTimers()

DualBandWiFi avatar Jul 27 '18 22:07 DualBandWiFi

If it helps, here's the next "Application Error" log:

Nombre de la aplicación con errores: EZBlocker.exe, versión: 1.7.2.5 Nombre del módulo con errores: KERNELBASE.dll, versión: 10.0.17134.165, Código de excepción: 0xe0434352 Ruta de acceso de la aplicación con errores: C:\Users<my username>\Desktop\EZBlocker\EZBlocker.exe Ruta de acceso del módulo con errores: C:\WINDOWS\System32\KERNELBASE.dll

I'll be glad of translating if you can't understand.

DualBandWiFi avatar Jul 27 '18 22:07 DualBandWiFi

I also get this error:

For me it's in German (btw I can help translating to German) exception:

System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\Besitzer\AppData\Local\Temp\EZBlocker\2034" konnte nicht gefunden werden. bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) bei EZBlocker.SpotifyPatcher.Patch() bei EZBlocker.Main.Main_Load(Object sender, EventArgs e) bei System.Windows.Forms.Form.OnLoad(EventArgs e) bei System.Windows.Forms.Form.OnCreateControl() bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) bei System.Windows.Forms.Control.CreateControl() bei System.Windows.Forms.Control.WmShowWindow(Message& m) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.Form.WmShowWindow(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Maybe you can use a tool such as google translator or ask me if you don't understand sth German.

ghost avatar Jul 28 '18 17:07 ghost

That isn't the same error, mine is an unhandled exception and yours is because its trying to delete a directory which doesn't exists. As a temp fix you could try to create that dir, it's where the localhost server script is located.

DualBandWiFi avatar Jul 29 '18 10:07 DualBandWiFi

Have you both tried running as admin?

Xeroday avatar Jul 29 '18 17:07 Xeroday

Of course, I always run it as admin to avoid potential issues, at the end i trust on your software.

DualBandWiFi avatar Jul 29 '18 23:07 DualBandWiFi

Re-downloaded it, changed dir and suddenly it started working, let's see in some hours if it doesn't crashes.

DualBandWiFi avatar Jul 29 '18 23:07 DualBandWiFi

Well the problem is my anti-virus-program triggers this program. Even when I whitlist it.

ghost avatar Jul 31 '18 09:07 ghost