Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crashes on start: IndexOutOfRangeException #23

Closed
stormssc opened this issue Sep 2, 2015 · 5 comments
Closed

crashes on start: IndexOutOfRangeException #23

stormssc opened this issue Sep 2, 2015 · 5 comments
Assignees
Labels
Bug Issues which are bug reports Confirmed Confirmed issues

Comments

@stormssc
Copy link

stormssc commented Sep 2, 2015

The program worked fine upon installation, but the next day it won't start. Error log:

http://speedy.sh/AQv37/Logs.zip

TracerX: Log file opened at 2015-09-02 06:56:48. FullFilePolicy = Wrap, Use_00 = False, MaxGrowth = 1 MB, AppendIfSmallerThan = 0 1, initial size = 3.
06:56:55.513 Fatal SoundSwitch+Program.HandleException Program.HandleException entered
06:56:55.671 Fatal SoundSwitch+Program.HandleException Exception OccuredException type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: SoundSwitch
StackTrace:
at SoundSwitch.Framework.AudioDeviceIconExtractor.ExtractIconFromAudioDevice(AudioDeviceWrapper audioDevice, Boolean largeIcon)
at SoundSwitch.UI.Forms.Settings.PopulateAudioList()
at SoundSwitch.Program.Main()

06:57:04.088 Fatal SoundSwitch+Program.HandleException Program.HandleException exiting

@Belphemur Belphemur added Bug Issues which are bug reports Confirmed Confirmed issues and removed Confirmed Confirmed issues labels Sep 2, 2015
@Belphemur
Copy link
Owner

Thanks for the bug report. It's a weird bug that I don't encounter. I'll make a workaround and release a new version.

@stormssc
Copy link
Author

stormssc commented Sep 2, 2015

wow, you do react fast. I'll keep checking for updates :) thanks!

@Belphemur Belphemur changed the title crashes on start crashes on start: IndexOutOfRangeException Sep 2, 2015
@Belphemur
Copy link
Owner

Can you install the last release 3.4.1 and tell me if it resolves your issue ?

@Belphemur Belphemur added the Confirmed Confirmed issues label Sep 2, 2015
@Belphemur Belphemur self-assigned this Sep 2, 2015
@stormssc
Copy link
Author

stormssc commented Sep 2, 2015

Looks like 3.4.1 works fine - I have also rebooted my PC to see if it starts with windows and it works fine too. Good job :)

@Belphemur
Copy link
Owner

Could you attach a screenshot of your settings menu.
I'm curious which of the audio device doesn't have a proper icon.

On 2 September 2015 19:08:31 EEST, stormssc [email protected] wrote:

Looks like 3.4.1 works fine - I have also rebooted my PC to see if it
starts with windows and it works fine too. Good job :)


Reply to this email directly or view it on GitHub:
#23 (comment)

Best Regards,
Antoine Aflalo

Belphemur pushed a commit that referenced this issue Sep 3, 2015
…ter compatibility.

In case the deviceClassIconPath is a .ico, load the ico instead of trying to get from the dll.
See #23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues which are bug reports Confirmed Confirmed issues
Projects
None yet
Development

No branches or pull requests

2 participants