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

SoundSwitch Crashing after PC is Sleeping #797

Closed
Belphemur opened this issue Oct 18, 2021 Discussed in #796 · 12 comments
Closed

SoundSwitch Crashing after PC is Sleeping #797

Belphemur opened this issue Oct 18, 2021 Discussed in #796 · 12 comments
Labels
Bug-Crash Issues which are related to a crash released

Comments

@Belphemur
Copy link
Owner

Discussed in #796

Originally posted by Blake-V-Walker October 17, 2021
Hi All - Whenever I come back to my PC after having it slept for a while, my SoundSwitch has crashed without fail.

Is anyone else having this issue?

Clicking "Yes" to share the error with the developers just takes me to the main Github page.

I have reinstalled with the same issues.

image

@Belphemur
Copy link
Owner Author

@Blake-V-Walker Can you give the logs of the application and which version you are running ?

Logs are in: %appdata%/SoundSwitch/Logs

@Belphemur Belphemur added the Bug-Crash Issues which are related to a crash label Oct 18, 2021
@Blake-V-Walker
Copy link

@Belphemur

Thanks for responding so quickly.

SoundSwitch is currently running version 6.1.2.0.

Granted this may be a conflict with Windows 11, in which case fair enough and I'll wait for a new release

I've attached all 3 logs.

soundswitch20211019.log
soundswitch20211020.log
soundswitch20211018.log

@jymorvan
Copy link

jymorvan commented Oct 20, 2021

Hi, same problem here, version 6.1.2.0 too, but with Windows 10

soundswitch20211018.log
soundswitch20211019.log
soundswitch20211020.log
.

@Belphemur
Copy link
Owner Author

Belphemur commented Oct 20, 2021

@Blake-V-Walker & @jymorvan Does this appear seemingly "randomnly" ?

Because I think I have an idea what is causing it. I'll see what I can do.

@jymorvan
Copy link

When the PC wakes up, sometimes I just have a warning sound but I don't see anything else, and sometimes I have the popup from the original post ("It seems SoundSwitch has crashed ..." ), I click "ok", and the popup reappears another time, again I click ok, and that's it, I must then restart SoundSwitch.
But I confirm that it is every time the PC wakes from sleep mode, never otherwise and that it appeared with the latest version of SoundSwitch.
(sorry for my english)

@Belphemur
Copy link
Owner Author

Can you both try this version and tell me if it's fixed for you ?

https://f000.backblazeb2.com/file/SoundSwitch/nightly/SoundSwitch-6.1.13475.9379.zip

You need to stop SoundSwitch and replace all the file by this build.

@jymorvan
Copy link

I just did a quick test with this version by forcing sleep mode, I did not have an error when resuming.

@sentry-io
Copy link

sentry-io bot commented Oct 20, 2021

Sentry issue: SOUNDSWITCH-BJ

@Blake-V-Walker
Copy link

I'll give this version a go for a day or so and get back to you.

@Belphemur
Copy link
Owner Author

@Blake-V-Walker Actually, can you try https://f000.backblazeb2.com/file/SoundSwitch/nightly/SoundSwitch-6.1.13662.6170.zip instead ?

It's more tailored to Windows 11 :)

@Blake-V-Walker
Copy link

Hi Belphemur,

Unfortunately still seeing crashes after PC is sleeping for a duration of time, it was probably around 3-4 hours of sleep this time.

I was unsure where to drag the rest of the files so I had just launched SoundSwitch using the EXE in the Rar folder, so I can't provide logs.

image

github-actions bot pushed a commit that referenced this issue Oct 23, 2021
## [6.2.0](v6.1.2...v6.2.0) (2021-10-23)

### Features

* **AudioSwitching:** Add support for Windows 11 ([b2e1de5](b2e1de5)), closes [#797](#797) [#548](#548)

### Bug Fixes

* **AudioSwitcher::Windows11:** Fix possible crash when using profile with application on Windows 11 ([8531ee9](8531ee9))
* **AudioSwitcher:** Properly use the right audio client for Windows post 21H2 (like Windows 11) ([7324b15](7324b15))
* **DeviceLister:** Fix crash when device lister is taking too long ([e7efb5c](e7efb5c))
* **Notification::Sound:** Fix crash when playing a custom sound. ([f0a7113](f0a7113)), closes [#790](#790)
* **Profile:** Fix systray icon not changing properly when using a profile ([aef15b7](aef15b7)), closes [#450](#450)

### Languages

* **Russian:** Translated Settings using Weblate ([24cb961](24cb961))

### Enhancements

* **AudioSwitcher:** Improve the logging of the switching for Windows 11 ([5e0a985](5e0a985))
* **Mute:** Change the unmute icon ([844ad5f](844ad5f)), closes [#791](#791)
* **Mute:** Improve the image to have the same size as device icon ([a840c82](a840c82)), closes [#791](#791)
* **TrayIcon:** Add better logs to understand what's happening with the systray icon not changing. ([99d6243](99d6243)), closes [#450](#450)
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 6.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Crash Issues which are related to a crash released
Projects
None yet
Development

No branches or pull requests

3 participants