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
Sometimes System.AccessViolationException on Windows 10 #1
Comments
@paulcbetts have you seen this before? I don't know enough about Windows / Windows development to say why this might be failing for particular users or how to remedy. Ideally we would fix the issue of course. Failing that, we'd get the user to change his configuration—presumably it is something particular to him, since I can't repro and we haven't heard this from other users. If the code could figure out when the error would occur, just having this module silently fail would be fine too. Unfortunately this exception doesn't seem to be able to be caught—the app just crashes on launch for this user, without them seeing a regular Electron uncaught-exception error dialog—or else I'd just wrap the main logic in a try-catch and call it a day. |
Ah shoot, I just tried on a Windows 10 PC as opposed to my Parallels VM and reproduced it there, so perhaps it does happen for all Windows 10 users. x_x EDIT: Nope, analytics reveals that some Windows 10 users are just fine. |
If you can build a repro app it'd be easy to debug with WinDbg |
Was curious if anyone figured out what the root issue was on this? Any luck? |
Just a guess, 32bit code running on 64bit system? I wouldn't expect an issue, but Microsoft may not have predicted WOW64 apps calling this private API. Possible something's getting dropped in the mix? Noticing it's a struct with IntPtrs being passed to SetPreference. |
@JBLatenight Nope, IntPtr is explicitly the only type that correctly resizes based on architecture |
I've got a replicable case on Windows 10 x64 using .net v4.5.1 - . If I call promote function at load it always crashes at setpreference, but if I call it at any other time in the lifecycle of the app SetPreference just never returns [but everything else seems to work]. I can build a full reproducible app if necessary, but can any verify this interface actually works on Windows 10 x64? |
Observed for multiple users under Windows 10:
The text was updated successfully, but these errors were encountered: