-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
lib/osutil: Disable setting priority on Windows (fixes #4676) #4677
Conversation
Presumably fixing the crash, leaving us to improve this calmly.
@st-review merge |
I guess this is so urgent as you want a new RC? |
Yeah printing one currently |
Can try to get a fixed version into an rc3, but lets not crash in the meantime |
I hopefully can test this, yet not until friday I suspect. |
I can see a couple of things that might go wrong. I'm blindly assuming that kernel32.dll is available (and we do that in other places) and that SetPriorityClass is found. That may not be the case. The process handle in the crash backtrace is 0xffffffff which is suspicious (but maybe valid, I don't know, could mean "self"), yet that is one call where we do check the error. And of course I might have misunderstood something else. |
I suspect it crashes due to an exception/fault/whatever it's called raised during the syscall, and the exception is raised because something is not found or not valid. |
Presumably fixing the crash, leaving us to improve this calmly.