jazz19820 / audioswitch

Automatically exported from code.google.com/p/audioswitch
0 stars 0 forks source link

RC2 Crash when hiding devices #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Hide 2 devices from playback list
2.  Crashes immediately ,or left click systray icon.

What version of the product are you using? On what operating system?
Win7 x64

Please provide any additional information below.

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '2' is not valid 
for 'index'.
Parameter name: index
   at System.Windows.Forms.ImageList.ImageCollection.get_Item(Int32 index)
   at AudioSwitch.Forms.FormSwitcher.SetDeviceIcon(Int32 index, Boolean isSelected)
   at AudioSwitch.Forms.FormSwitcher.RefreshDevices(EDataFlow renderType)
   at AudioSwitch.Forms.FormSwitcher.notifyIcon1_MouseDown(Object sender, MouseEventArgs e)
   at System.Windows.Forms.NotifyIcon.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.NotifyIcon.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
   at System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AudioSwitch
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/AudioSwitch/AudioSwitch.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************

Original issue reported on code.google.com by lcst...@gmail.com on 4 Dec 2013 at 3:45

GoogleCodeExporter commented 8 years ago
Here is the diff for the fix (attached).

Original comment by lcst...@gmail.com on 4 Dec 2013 at 8:01

Attachments:

GoogleCodeExporter commented 8 years ago
adding published setup in case others want to try.

I do not make any warranties or guaranties, I have not added anything else 
other than the fix for this particular issue in this file.  It is latest RC2 + 
fixes as of this post date.

Again, I am not responsible if this damages your computer.
You can always reverse the binary using reflector if you don't want to take any 
risks.

Here is the Md5Sum for this binary:
87e93a2f38bd6cc198e12d15665c6c5e  AudioSwitch.exe

Original comment by lcst...@gmail.com on 4 Dec 2013 at 8:18

Attachments:

GoogleCodeExporter commented 8 years ago
back up the original audioswitch.exe file, and replace with the one attached 
above to install.  If audioswitch is not installed, you must install it first 
with the RC2 setup.exe

Original comment by lcst...@gmail.com on 4 Dec 2013 at 8:22

GoogleCodeExporter commented 8 years ago
Im still getting crashes :(

Original comment by thejono...@gmail.com on 12 Jun 2014 at 9:02

GoogleCodeExporter commented 8 years ago
I got the same issue but just when I hide the first device on the list.
For me just click continue then re-call the setting page and remove the setting 
of first device item.
After that restart the app will be normal.

Original comment by edwards...@gmail.com on 30 Nov 2014 at 3:19

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed since RC3.

Original comment by tanelte...@gmail.com on 12 Apr 2015 at 8:31

GoogleCodeExporter commented 8 years ago
where is RC3?

Original comment by lcst...@gmail.com on 12 Apr 2015 at 9:03

GoogleCodeExporter commented 8 years ago
https://github.com/sirWest/AudioSwitch
You can find a link to RC5 on the bottom of this page, I'm moving AudioSwitch 
over to GitHub. The link for the setup is also posted on the main AudioSwitch 
page here.

Original comment by tanelte...@gmail.com on 12 Apr 2015 at 9:05

GoogleCodeExporter commented 8 years ago
https://github.com/sirWest/AudioSwitch
You can find a link to RC5 on the bottom of this page, I'm moving AudioSwitch 
over to GitHub. The link for the setup is also posted on the main AudioSwitch 
page here.

Original comment by tanelte...@gmail.com on 12 Apr 2015 at 9:05

GoogleCodeExporter commented 8 years ago
i installed RC5 it crashed immediately on startup

Original comment by lcst...@gmail.com on 12 Apr 2015 at 9:09

GoogleCodeExporter commented 8 years ago
New RC6 is available also, delete all remaining files after uninstalling the 
old version, including Settings.xml file.

Original comment by tanelte...@gmail.com on 13 Apr 2015 at 11:26