-
Notifications
You must be signed in to change notification settings - Fork 121
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 when shutting down Windows 8.1 if Desktop was never opened #46
Comments
Thanks for the report @HellBrick! Actually I just experienced the same bug, but it happened even from Desktop. It seems like it was caused by:
Did you by any chance just install the latest updates or installed .NET 4.5.2? I did both those things at the same time, so I'm not sure which one is now causing Switcheroo to crash on shutdown. Maybe you have a clue? :) /Regin |
This is really weird, because I have a 100% repro: if I open Desktop just once, Switcheroo doesn't crash; if I never open Desktop, it crashes. Switcheroo actually have been behaving like this for a while now, probably ever since I had installed it on that laptop (I just kept forgetting to submit the issue), so this is unlikely to be connected to the latest updates. I do have 4.5.2 installed, but I also have it installed on my main PC, where I have never seen this crash. The main PC boots straight to the Desktop though, which seems to be in line with my repro. Based on the info we currently have, I've no idea what's going on. I'd try analyzing the crash dump or just looking very carefully at the things that happen when the application shuts down. |
This should prevent Switcheroo from crashing when shutting down windows without having had the Switcheroo window opened
Really useful feedback! Based on it I think I've might identified the issue: If Switcheroo is shutdown without having been activated, then an uninitialized value is being disposed. Does this commit fix the issue for you? / Regin |
Yep, the fix works - I can't reproduce the issue anymore =) |
Hurray! :D / Regin |
This happens on a Windows 8.1 laptop that launches Start screen instead of Desktop by default. If Switcheroo is set to launched automatically and Desktop (or any classic Desktop software for that matter) is never opened, Switcheroo crashes with 'The instruction at %address% references memory at 0x00000008' alert when you try to shut down the system. Apparently, something goes wrong when the system attempts to gracefully terminate the app.
I've found this in the event viewer, even though it doesn't look very helpful:
The text was updated successfully, but these errors were encountered: