Repository navigation
Conversation
On Windows std::_Exit ends in ExitProcess, which still runs every module's DLL_PROCESS_DETACH and TLS callbacks after the other threads are gone. A static destructor that joins a worker then waits forever: a title that calls _Exit while libSceVideoOut's flip queue runs (ps5-opengl's retirement fail-stop) stays alive in FlipQueue's destructor. _Exit and libkernel's _exit now terminate the process with TerminateProcess, as _exit ends a POSIX process: no atexit handlers, stream flushes or module destructors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 10, 2026
Owner
Author
|
Merged upstream as boykopovar#2612. |
AlxcBTW
pushed a commit
that referenced
this pull request
Oct 12, 2026
pr_overlap only skipped a pair when one pull request named the other directly. In a stack where #3 depends on #2 and #2 on #1, #1 and #3 were reported as overlapping, and two pull requests built on the same #1 were reported for the files and exports both inherit from it. Dependencies are now followed through open pull requests, and what a shared dependency adds is left out of the same-file and same-export columns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0189deyapHNNqKQJboZBJQei
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
On Windows
std::_Exitends inExitProcess, which still runs every module'sDLL_PROCESS_DETACHand TLS/FLS callbacks after the other threads are gone. A static destructor that joins a worker then waits forever. PPSA99050 (ps5-homebrew-ui) calls_Exit(EXIT_FAILURE)from ps5-opengl's retirement fail-stop; the process stays alive with one thread instd::_Sp_counted_ptr_inplace<FlipQueue>::_M_dispose(libSceVideoOut.prx) →std::thread::join→WaitForMultipleObjects(gdb stack of the hung process)._Exit(libc) and_exit(libkernel) now end the process throughLibcTerminate_nid_no_patch, which callsTerminateProcesson Windows andstd::_Exitelsewhere: no atexit handlers, stream flushes or module destructors, as_exitends a POSIX process.Tested
Windows 11, WinLibs GCC 15.2.0 r7.
guest_immediate_exitnow also registers an FLS callback that would end the process with 4: without the change it exits with 4, with it 0.ctest -R "exit|kill": 11/11 passed;ctest -R "kill|exit|process|shutdown|atexit|libc|kernel": 19/19 passed.submission retirement failed; now it exits with 1 (EXIT_FAILURE) after the fail-stop.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository