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

Crash on boot after motherboard change #251

Closed
barnabycollins opened this issue Apr 1, 2018 · 4 comments
Closed

Crash on boot after motherboard change #251

barnabycollins opened this issue Apr 1, 2018 · 4 comments
Labels
Invalid-CannotReproduce Issues which could not be reproduced

Comments

@barnabycollins
Copy link

barnabycollins commented Apr 1, 2018

I recently downsized my PC, which involved changing from an ASUS Prime X370-Pro to an ITX ASUS board (B350-I Gaming). Now, SoundSwitch crashes every time I boot. I'm running Windows 10 Pro x64 1709 with all the latest quality updates as of April 1st (KB4088776). I'm using SoundSwitch to change between a set of 3.5mm speakers attached to my motherboard headers and my USB headset. AppData folder and crash logs attached. I should mention that, after launching the application manually through the Start Menu, it works perfectly.
SoundSwitch.zip
SoundSwitch-crashlog-1_4_2018.zip
SoundSwitch-crashlog-30_3_2018.zip

@FireEmerald
Copy link
Contributor

FireEmerald commented Apr 3, 2018

I would suggest to uninstall SoundSwitch and make sure %AppData%\SoundSwitch is also deleted. Then reinstall SoundSwitch and tell us if the problem persists. Seems like something went wrong while unregister hotkeys.

/// <summary>
/// Unregister a registered HotKey
/// </summary>
/// <param name="hotKeys"></param>
/// <returns></returns>
public static bool UnRegisterHotKey(HotKeys hotKeys)
{
var count = 0;
while (_instance == null)
{
Thread.Sleep(250);
if (count++ >= 2)
{
throw new ThreadStateException("Instance isn't set even after waiting 750 ms");
}
}
L191

@barnabycollins
Copy link
Author

Alright, I'll have a look. Thanks!

@barnabycollins
Copy link
Author

Just rebooted having reinstalled, to be greeted with a crash again. Here's the log:
SoundSwitch-crashlog-15_4_2018.zip

@FireEmerald
Copy link
Contributor

FireEmerald commented May 19, 2018

Please update to the latest version - if the problem persists, you can use the following workaround, because you said:

I should mention that, after launching the application manually through the Start Menu, it works perfectly.

  1. Disable the Autostart of SoundSwitch everywhere.
  2. Create a new text file somewhere, called startSoundSwitch.bat. 2018-05-20 00_06_05-autostart
  3. The content of the file should be: start /d "C:\Program Files\SoundSwitch" SoundSwitch.exe
  4. (optional) The path must be changed if you installed SoundSwitch somewhere else.
  5. Close SoundSwitch, double click onto the file, SoundSwitch must start.
  6. Press [WIN] + [R], enter shell:startup and press OK.
  7. A directory will be opened, create a shortcut of your startSoundSwitch.bat file and move it to this directory.
  8. Edit the properties of your shortcut and set Run: Minimized.
  9. You're done. When your computer starts, SoundSwitch will start.

If something doesn't work, try the "full version" here.

@FireEmerald FireEmerald added the Invalid-CannotReproduce Issues which could not be reproduced label May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid-CannotReproduce Issues which could not be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants