[PR #3440] [CLOSED] Fix for Failed to create thread -1073741790 #3470

Closed
opened 2026-02-27 22:03:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3440
Author: @SAN4EZDREAMS
Created: 8/21/2025
Status: Closed

Base: mainHead: fix-cfg-crash


📝 Commits (3)

  • 7e80e95 fix(kernel): Fix thread creation failure on Windows with CFG enabled
  • ef6a974 fix(kernel): Fix thread creation failure on Windows with CFG enabled 2
  • bf0dbb5 fix(kernel): Fix thread creation failure on Windows with CFG enabled 2 (clang)

📊 Changes

1 file changed (+42 additions, -35 deletions)

View changed files

📝 src/core/libraries/kernel/threads/stack.cpp (+42 -35)

📄 Description

Potential fix to #3372
Due to lack of testing for me, it is impossible to know if the bug is fixed or not.
So if someone can reproduce this error with my fixes, I'd really appreciate an emulator report, thanks.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3440 **Author:** [@SAN4EZDREAMS](https://github.com/SAN4EZDREAMS) **Created:** 8/21/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-cfg-crash` --- ### 📝 Commits (3) - [`7e80e95`](https://github.com/shadps4-emu/shadPS4/commit/7e80e957eddba99811faa5bd01f70db48c3a76ab) fix(kernel): Fix thread creation failure on Windows with CFG enabled - [`ef6a974`](https://github.com/shadps4-emu/shadPS4/commit/ef6a974649bd0213e1d4895561a23366b2263506) fix(kernel): Fix thread creation failure on Windows with CFG enabled 2 - [`bf0dbb5`](https://github.com/shadps4-emu/shadPS4/commit/bf0dbb5634f950edd8f0a6adf03a930bcf591fa2) fix(kernel): Fix thread creation failure on Windows with CFG enabled 2 (clang) ### 📊 Changes **1 file changed** (+42 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/threads/stack.cpp` (+42 -35) </details> ### 📄 Description Potential fix to #3372 Due to lack of testing for me, it is impossible to know if the bug is fixed or not. So if someone can reproduce this error with my fixes, I'd really appreciate an emulator report, thanks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3470
No description provided.