agc_host_import_cut_lifetime fails on Windows since the merge of #9159 #10746
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-24T20:37:19Z.
What happens
ctest -R ^agc_host_import_cut_lifetime$fails on Windows withAGC graphics: the larger side of an unmap of 1440 KiB at the start of the import's first 2 MiB run left the write watch, on everymaincommit from the merge of #9159 (6b23aaf129) on; it passed on the merge before it (c035bd5b70, #9424).Title, test or build step
CTest
agc_host_import_cut_lifetime(agc_driver_recorder_tests --host-import-cut-only; registered incore/libs/prx/libSceAgcDriver/CMakeLists.txt). Synthetic test, no title.AnyPS5 commit
Bisected on the first-parent line of
main, unmodifiedmainat each commit: last passingc035bd5b70(merge of #9424), first failing6b23aaf129(merge of #9159, "fix(agc): keep a rewatched import's memory compared once it is shared", merged 24.10.2026 18:26Z). Still failing at0ea0f25e1b.System
Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs), Release, NVIDIA GeForce RTX 4080 SUPER. Windows only: not run on Linux or macOS.
Steps to reproduce
Build
agc_driver_recorder_testson the commit and runctest -V -R ^agc_host_import_cut_lifetime$in the build directory. It stops after about 1 to 3 seconds.Log
Failing run on
6b23aaf129:Passing run on
c035bd5b70:What was checked
5c90b0a65e,d003e64fcf,29f539a5f3andc035bd5b70pass;6b23aaf129,1c6e10f170and0ea0f25e1bfail with the same message.main0ea0f25e1b, so the failure does not come from #6565.6b23aaf129, setting back onlycore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppto itsc035bd5b70state (the libc changes of #9159 stay) makes the test pass. Setting back all four production files of #9159 (that file,libc/include/WindowsMappings.hpp,libc/include/GuestArena.hpp,libc/src/GuestArena.cpp) passes too. Setting back only the three libc files does not build, becauseGuestMemory.cppthen callsGuestArenafunctions that do not exist.windowsof #9159 was skipped; the Windows job that ran (relinker (windows-latest, g++), 244 tests, all passed) contains noagc_*test.agc_host_import_cut_lifetime,cut_lifetime,left the write watchand9159found no report of this failure.GuestMemory.cppin #9159 (+38/-3) (therefusedmap withrefusedSince,noteRefusedWalk, theGuestArenaCompareWhenSharedcall inRewatch, theGuestArenaCompareResidentWhenSharedcall inImportWatched) causes it; whether the test or the product code needs the fix; Linux and macOS (the macOSwrite-watchjobs of #9159 passed; I did not check which tests they run); other GPUs.AI-assisted (Claude Code).