-
-
Notifications
You must be signed in to change notification settings - Fork 919
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
[APP BUG]: Pthread creation errors in Windows 11. #2099
Comments
Can this be cause by the kernel rewrite ? |
Also having the same exact issue on any version besides 0.4.0 as well. |
Last working build for me is c019b54 and this error pops up in every build since 15ae7a0. Likely culprit would be unity pt1 pr, i think? Same hardware fwiw, 7800X3D and 4070 Super. Had this happen on both 23H2 and 24H2. |
I have a AMD Ryzen 5950X, 64GB RAM, and a RTX 4090, and I am also having this issue and that this build does indeed work for me. |
The only documented solution (excluding reverting shadPS4 back to builds where #1659 was not merged) is to downgrade Windows. Recent versions broke the way we create threads. |
Is there a planned code solution? |
First I'd have to look into the cause of the error. All we know is that recent versions of Windows broke thread creation. |
@polybiusproxy what would you need to test, I could do that? |
You probably shouldn't as win11 is just win10 with a coat of paint and more issues (imho) |
You can get VMWare rather easily without an account using their update endpoint Here's the latest version for Windows for example: You can view the entire directory tree here |
Regardless of your feelings on the matter, Windows 10 hits end of life later this year. As a result, any typical end user should upgrade to Windows 11 to make sure their device remains secure. |
You would have to reverse engineer and debug the kernel to check where things start going wrong. |
i can confirm i have the same exact issue, i'm on 23h2 tried downgrading to 22h2 but no luck, gonna try 21h2 |
if the user who mentioned that the #1659 is the culprit, that would make sense as there are various pthread changes in this merge. I'm going to try to compile this version and see what is happening. |
So I was looking at this https://github.com/winsiderss/phnt/blob/master/ntpsapi.h and there are some changes with 24H2, but I don't think they would make a difference. So the result of this |
So I fixed, this issue, so it appears that it has to do with a Windows Security migitation that was probably triggered by using the raw Windows NtCreateThread syscall. |
You will have to remove CFG mitigations on the binary. |
Man, you're a lifesaver. After weeks of troubleshooting, I removed CFG mitigations for the shadps4.exe, specifically in Windows Defender, and it works like a charm. |
I have installed Kaspersky, but CFG in Defender was still enabled as by default. |
Checklist
Describe the Bug
When launching ANY game on QT 0.5.0+ application always crashes with the SAME critical "pthread.cpp"error and after while exits to OS. Note: Running version QT 0.4.0 with same games on the same desktop works without crashes.
Reproduction Steps
from 0.5.0 always the same output error:
[Debug] pthread.cpp:operator():292: Assertion Failed!
Failed to create thread with error -1073741790
shad_log.txt
Expected Behavior
Please fix pthread CRITICAL error to run games without crashing and exiting to OS like in previous version QT 0.4.0
Specify OS Version
Win 11 24H2 26100.2605 1000.26100.36.0, X670E, R7 7800X3D, RTX 4070 Super, 32 GB 6400
The text was updated successfully, but these errors were encountered: