mwiedemeyer / ProxySwitcher

Proxy Switcher allows you to automatically execute actions, based on the detected network connection. As the name indicates, Proxy Switcher comes with some default actions, for example setting proxy settings for Internet Explorer, Firefox and Opera.
Apache License 2.0
135 stars 60 forks source link

ProxySwitcher crashing under Windows10 64bit #25

Open andriusst opened 7 years ago

andriusst commented 7 years ago

As above, when I connect and disconnect to VPN several times proxy switcher stops working. No error messages or anything else to suggest it crashed. Except when mouse is moved over the tray icon it immediately disappears. Starting ProxySwitcher makes it work again for a few switches until it crashes again the same way. This was not an issue on Windows7. This is a great little program that I find very useful. Going back to manual is really painful. I would love to help to resolve this issue but I have no .NET programming or debugging experience what so ever. If anyone capable could look into this I would offer all the help I can. Thanks in advance.

mwiedemeyer commented 7 years ago

You can try to open the Event Viewer and have a look in the "Application" log. There should be an entry for the crashed application.

andriusst commented 7 years ago

Hi mwiedemeyer,

Thanks for such a quick reply! I found several entries in Windows Application logs relating to the most recent crash:

Event ID 1001 `Fault bucket 120807408791, type 4 Event Name: APPCRASH Response: Not available Cab Id: 0

Problem signature: P1: ProxySwitcher.exe P2: 3.6.1.322 P3: 4f6b956a P4: KERNELBASE.dll P5: 10.0.15063.502 P6: 005405b5 P7: c000041d P8: 0000000000069e08 P9: P10:

Attached files: \?\C:\Users\co7306\AppData\Local\Temp\WERDA90.tmp.WERDataCollectionStatus.txt \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WEREE94.tmp.csv \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WEREED3.tmp.txt

These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_ProxySwitcher.ex_16aff8ed4ceb238548f8cd22d20fbc74402bb3_c989719d_5b3f098c

Analysis symbol: Rechecking for solution: 0 Report Id: c97caa6c-1fcb-4a0e-8e99-bf6fb3deee92 Report Status: 268435456 Hashed bucket: d5c2860d7d3c4257efba3edd495c70d3`

Event ID 1000 Faulting application name: ProxySwitcher.exe, version: 3.6.1.322, time stamp: 0x4f6b956a Faulting module name: KERNELBASE.dll, version: 10.0.15063.502, time stamp: 0x005405b5 Exception code: 0xc000041d Fault offset: 0x0000000000069e08 Faulting process id: 0x3648 Faulting application start time: 0x01d31ce9837ed421 Faulting application path: C:\Program Files (x86)\Proxy Switcher\ProxySwitcher.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: c97caa6c-1fcb-4a0e-8e99-bf6fb3deee92 Faulting package full name: Faulting package-relative application ID:

and Event ID 1001 `Fault bucket -1409233160, type 5 Event Name: CLR20r3 Response: Not available Cab Id: 0

Problem signature: P1: ProxySwitcher.exe P2: 3.6.1.322 P3: 4f6b956a P4: Hardcodet.Wpf.TaskbarNotification P5: 1.0.4.0 P6: 4b83c9e6 P7: a6 P8: 2f P9: System.ComponentModel.Win32 P10:

Attached files: \?\C:\Users\co7306\AppData\Local\Temp\WER83A6.tmp.WERDataCollectionStatus.txt \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER991F.tmp.csv \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER995E.tmp.txt

These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_ProxySwitcher.ex_32c06a4873ea9871db3bd87ed389f515949194ec_c989719d_15c6c261

Analysis symbol: Rechecking for solution: 0 Report Id: 6aea937c-5605-4982-9b30-58cc61ceb2d5 Report Status: 268435456 Hashed bucket: 95a700244e5ebec144d2d30bab908a8c`

andriusst commented 7 years ago

Got some more, hope this is more useful

Source: .NET Runtime / Event ID:1026

Application: ProxySwitcher.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
   at Hardcodet.Wpf.TaskbarNotification.TaskbarIcon.CreateTaskbarIcon()
   at Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.OnWindowMessageReceived(IntPtr, UInt32, UInt32, UInt32)

Source: Application Error / Event ID: 1000

Faulting application name: ProxySwitcher.exe, version: 3.6.1.322, time stamp: 0x4f6b956a
Faulting module name: KERNELBASE.dll, version: 10.0.15063.502, time stamp: 0x005405b5
Exception code: 0xe0434352
Fault offset: 0x0000000000069e08
Faulting process id: 0x40a4
Faulting application start time: 0x01d328745d0cd2a3
Faulting application path: C:\Program Files (x86)\Proxy Switcher\ProxySwitcher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 9e92c123-735e-4a76-9ace-3d812ecf21d3
Faulting package full name: 
Faulting package-relative application ID: 

Source: Windows Error Reporting / Event ID: 1001

Fault bucket , type 0
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0

Problem signature:
P1: explorer.exe
P2: 10.0.15063.447
P3: 10.0.15063.2.0.0
P4: 
P5: 
P6: 
P7: 
P8: 
P9: 
P10: 

Attached files:
\\?\C:\Users\co7306\AppData\Local\Temp\RDR470C.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER470D.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER472E.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER47AC.tmp.txt

These files may be available here:

Analysis symbol: 
Rechecking for solution: 0
Report Id: 6b660357-53b5-44b2-917d-5c02c47001f9
Report Status: 536870914
Hashed bucket: 

Source: Windows Error Reporting / Event ID: 1001

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: ProxySwitcher.exe
P2: 3.6.1.322
P3: 4f6b956a
P4: Hardcodet.Wpf.TaskbarNotification
P5: 1.0.4.0
P6: 4b83c9e6
P7: a6
P8: 2f
P9: System.ComponentModel.Win32
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1E66.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER24FF.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER253C.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER25E9.tmp.txt
\\?\C:\Users\co7306\AppData\Local\Temp\WER31E2.tmp.appcompat.txt
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_ProxySwitcher.ex_32c06a4873ea9871db3bd87ed389f515949194ec_c989719d_cab_3403324c\memory.hdmp

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_ProxySwitcher.ex_32c06a4873ea9871db3bd87ed389f515949194ec_c989719d_cab_3403324c

Analysis symbol: 
Rechecking for solution: 0
Report Id: 9e92c123-735e-4a76-9ace-3d812ecf21d3
Report Status: 6
Hashed bucket: 

Source: Application Error / Event ID: 1000

Faulting application name: ProxySwitcher.exe, version: 3.6.1.322, time stamp: 0x4f6b956a
Faulting module name: KERNELBASE.dll, version: 10.0.15063.502, time stamp: 0x005405b5
Exception code: 0xc000041d
Fault offset: 0x0000000000069e08
Faulting process id: 0x40a4
Faulting application start time: 0x01d328745d0cd2a3
Faulting application path: C:\Program Files (x86)\Proxy Switcher\ProxySwitcher.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 81b553c5-e564-4d14-bdc2-9a7ae808dce5
Faulting package full name: 
Faulting package-relative application ID: