Astro Bot (PPSA01284) crashes: s_swappc_b64 not statically resolvable at PC 0x74 #2062

Closed
opened 2026-10-09 06:22:53 +00:00 by erturking · 4 comments
erturking commented 2026-10-09 06:22:53 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by erturking on 2026-10-09T06:22:53Z.


========main()=========

=============================================
ASOBI PlayRoom

Current Time : Fri Oct 9 06:14:55 2026
[src/Open.cpp:107 sceKernelOpen] path=/app0/debuginfo.txt flags=0x0 nativeFlags=0x8000 mode=00
Build_Date Time : Oct 10 2024 16:34:14

=============================================
ARGS: file: /app0/args.txt
[src/Open.cpp:107 sceKernelOpen] path=/app0/args.txt flags=0x0 nativeFlags=0x8000 mode=00
ARGS: C:\ps5\Astrobot\app.exe
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=00000003009457c0 self=000000000080ef20
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=00007ff64b452710 self=0000000002bfef30
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87b60 self=00000000047c7c10
[src/Threa[SAdV.cEDApTAp:n:17a3ti vRue]nTh resead] RunThread entupMemory2 user=268435456 slot=t0ry= 0x7ffs63izd18e=10902 arg=0090071000052 300-> a80x7b000d00 s000elf=00 ex00is000ted0003=07f32
b0
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87c40 self=0000000005593a40
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87cb0 self=0000000005595f30
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87d20 self=00000000047cae70
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87d90 self=00000000047cadd0
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87e00 self=00000000047ca3d0
[src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87e70 self=00000000047ca470
[src/VulkanDevice.cpp:581 VulkanDevice] VulkanDevice constructor window=0000000000000000
[src/VulkanDevice.cpp:590 VulkanDevice] Vulkan loader loaded library=00007ffddb780000
[src/VulkanDevice.cpp:624 VulkanDevice] Vulkan instance created instance=000000001217e010
[src/VulkanDevice.cpp:635 VulkanDevice] Physical device count=1
[src/VulkanDevice.cpp:668 VulkanDevice] Physical device candidate=0000000012569d70 name=NVIDIA GeForce RTX 3060 Ti api=0x40415f type=2
[src/VulkanDevice.cpp:715 VulkanDevice] Physical device selected physical=0000000012569d70 queueFamily=0
[src/VulkanDevice.cpp:728 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3060 Ti vendor=0x10de device=0x2489 subgroup=32
[src/VulkanDevice.cpp:730 VulkanDevice] Memory heap 0 size=8024.0 MiB flags=0x1
[src/VulkanDevice.cpp:730 VulkanDevice] Memory heap 1 size=16300.0 MiB flags=0x0
[src/VulkanDevice.cpp:731 VulkanDevice] Memory type 0 heap=1 flags=0x0
[src/VulkanDevice.cpp:731 VulkanDevice] Memory type 1 heap=0 flags=0x1
[src/VulkanDevice.cpp:731 VulkanDevice] Memory type 2 heap=0 flags=0x1
[src/VulkanDevice.cpp:731 VulkanDevice] Memory type 3 heap=1 flags=0x6
[src/VulkanDevice.cpp:731 VulkanDevice] Memory type 4 heap=1 flags=0xe
[src/VulkanDevice.cpp:731 VulkanDevice] Memory type 5 heap=0 flags=0x7
[src/VulkanDevice.cpp:782 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[src/VulkanDevice.cpp:942 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1
[src/VulkanDevice.cpp:1086 VulkanDevice] Compute wave32 programs run on subgroups of 32
[src/VulkanDevice.cpp:1131 VulkanDevice] Vulkan device ready device=00000000230500d0 queue=00000000230014d0 family=0
[write-watch] host imports are compared on Windows because driver writes can arrive after the import window
[pipeline-cache] loaded 9.6 KiB from C:\ps5\Astrobot\shader_cache\vk-pipelines-10de-2489-9a438000-9560eb8c198b3225b40aab325793207e.bin
[shader-disk-cache] C:\ps5\Astrobot\shader_cache\12777cb38ccab09c (source version 12777cb38ccab09c, format 20)
[libc] unhandled exception 'St16invalid_argument' thrown from 00007ffe5c6e59d6
terminate called after throwing an instance of 'std::invalid_argument'
what(): computed/data-dependent s_swappc_b64 call target at program counter 0x00000074 is not statically resolvable
FATAL: abort() (SIGABRT) on thread 5812
#0 0x00007ffe5c6aa1e7 libc.prx+0xa1e7
#1 0x00007ffe5c7204f9 libc.prx+0x804f9
#2 0x00000000005e97f0
all threads:
thread 14132 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x0000000000b3fb38 rbp 0x0000000000000000
thread 2932 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x0000000000d4fbb8 rbp 0x0000000000000000
thread 9720 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x0000000000f5fbe8 rbp 0x0000000000000000
thread 13672 'SystemService_ATQT': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000059af2b8 rbp 0x00000000ffffffff
thread 5036 'SystemWakeup': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000005bbf7c8 rbp 0x00000000ffffffff
thread 9260 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000005dcf5d8 rbp 0x00000000ffffffff
thread 3980 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000005fdf0d8 rbp 0x00000000ffffffff
thread 1332 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000061ef5f8 rbp 0x00000000ffffffff
thread 1872 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000063ff118 rbp 0x00000000ffffffff
thread 6024 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000660f5d8 rbp 0x00000000ffffffff
thread 16976 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000681f4c8 rbp 0x00000000ffffffff
thread 3580 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000006a2f328 rbp 0x00000000ffffffff
thread 1136 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000006c3f1e8 rbp 0x00000000ffffffff
thread 18792 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000006e4f3f8 rbp 0x0000000006e4f780
#0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f
#1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935
#2 0x00007ffe85e332e8 libwinpthread-1.dll+0x32e8
#3 0x00007ffde201d3a1 libSceAgcDriver.prx+0x5d3a1
#4 0x00007ffe4d40d80f libstdc++-6.dll+0x13d80f
#5 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30
thread 18084 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x000000000da4f418 rbp 0x0000000000000000
thread 2204 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000e45eed8 rbp 0x0000000000000000
thread 6976 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x000000000e66f778 rbp 0x0000000000000000
thread 7508 '': rip 0x00007ffe8dfc1444 ntdll.dll+0x161444 rsp 0x000000000ebbf9d8 rbp 0x0000000000000000
thread 2500 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000edcf008 rbp 0x000000000edcf390
#0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f
#1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935
#2 0x00007ffe85e33587 libwinpthread-1.dll+0x3587
#3 0x00007ffe85e335dd libwinpthread-1.dll+0x35dd
#4 0x00007ffe6c18d1b5 libSceVideoOut.prx+0xd1b5
#5 0x00007ffe6c18d6ae libSceVideoOut.prx+0xd6ae
#6 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30
thread 9980 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x000000000efdf5d8 rbp 0x000000000efdf720
#0 0x00007ffe6c18a92e libSceVideoOut.prx+0xa92e
#1 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30
thread 7688 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000006308f9c8 rbp 0x0000000000000000
thread 17964 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000634dfae8 rbp 0x0000000000000000
thread 18812 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000636efd68 rbp 0x0000000000000000
thread 17700 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000638ffa68 rbp 0x0000000000000000
thread 8484 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000065b0fa28 rbp 0x0000000000000000
thread 3008 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x0000000067edfbd8 rbp 0x0000000000000000
thread 7836 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000680efa18 rbp 0x0000000000000000
thread 9960 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000682ffc28 rbp 0x0000000000000000
thread 16132 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x000000006850f838 rbp 0x0000000000000007
thread 15624 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x000000006871fa38 rbp 0x000000006871fbb9
thread 18856 '': rip 0x00007ffe8bb51344 win32u.dll+0x1344 rsp 0x000000007064fbc8 rbp 0x0000000000000000
thread 15236 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000007569f298 rbp 0x000000007569f620
#0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f
#1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935
#2 0x00007ffe85e33587 libwinpthread-1.dll+0x3587
#3 0x00007ffe85e335dd libwinpthread-1.dll+0x35dd
#4 0x00007ffde20b1369 libSceAgcDriver.prx+0xf1369
#5 0x00007ffe4d40d80f libstdc++-6.dll+0x13d80f
#6 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30
thread 6236 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000758aee28 rbp 0x00000000758af1b0
#0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f
#1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935
#2 0x00007ffe85e33587 libwinpthread-1.dll+0x3587
#3 0x00007ffe85e335dd libwinpthread-1.dll+0x35dd
#4 0x00007ffde21a86aa libSceAgcDriver.prx+0x1e86aa
#5 0x00007ffde21a93fd libSceAgcDriver.prx+0x1e93fd
#6 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30
thread 3936 '': rip 0x00007ffe8bb51344 win32u.dll+0x1344 rsp 0x0000000075abfad8 rbp 0x0000000000000000
Note: RTX 3060 Ti, Windows 11, GCC 15.2.0, Ninja build

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5773802657 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2062). Originally posted by [erturking](https://github.com/erturking) on 2026-10-09T06:22:53Z. --- ========main()========= ============================================= ASOBI PlayRoom ============================================= Current Time : Fri Oct 9 06:14:55 2026 [src/Open.cpp:107 sceKernelOpen] path=/app0/debuginfo.txt flags=0x0 nativeFlags=0x8000 mode=00 Build_Date Time : Oct 10 2024 16:34:14 ============================================= ============================================= ARGS: file: /app0/args.txt [src/Open.cpp:107 sceKernelOpen] path=/app0/args.txt flags=0x0 nativeFlags=0x8000 mode=00 ARGS: C:\ps5\Astrobot\app.exe [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=00000003009457c0 self=000000000080ef20 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=00007ff64b452710 self=0000000002bfef30 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87b60 self=00000000047c7c10 [src/Threa[SAdV.cEDApTAp:n:17a3ti vRue]nTh resead] RunThread entupMemory2 user=268435456 slot=t0ry= 0x7ffs63izd18e=10902 arg=0090071000052 300-> a80x7b000d00 s000elf=00 ex00is000ted0003=07f32 b0 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87c40 self=0000000005593a40 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87cb0 self=0000000005595f30 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87d20 self=00000000047cae70 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87d90 self=00000000047cadd0 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87e00 self=00000000047ca3d0 [src/Thread.cpp:173 RunThread] RunThread entry=0x7ff63d181090 arg=0000000300a87e70 self=00000000047ca470 [src/VulkanDevice.cpp:581 VulkanDevice] VulkanDevice constructor window=0000000000000000 [src/VulkanDevice.cpp:590 VulkanDevice] Vulkan loader loaded library=00007ffddb780000 [src/VulkanDevice.cpp:624 VulkanDevice] Vulkan instance created instance=000000001217e010 [src/VulkanDevice.cpp:635 VulkanDevice] Physical device count=1 [src/VulkanDevice.cpp:668 VulkanDevice] Physical device candidate=0000000012569d70 name=NVIDIA GeForce RTX 3060 Ti api=0x40415f type=2 [src/VulkanDevice.cpp:715 VulkanDevice] Physical device selected physical=0000000012569d70 queueFamily=0 [src/VulkanDevice.cpp:728 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3060 Ti vendor=0x10de device=0x2489 subgroup=32 [src/VulkanDevice.cpp:730 VulkanDevice] Memory heap 0 size=8024.0 MiB flags=0x1 [src/VulkanDevice.cpp:730 VulkanDevice] Memory heap 1 size=16300.0 MiB flags=0x0 [src/VulkanDevice.cpp:731 VulkanDevice] Memory type 0 heap=1 flags=0x0 [src/VulkanDevice.cpp:731 VulkanDevice] Memory type 1 heap=0 flags=0x1 [src/VulkanDevice.cpp:731 VulkanDevice] Memory type 2 heap=0 flags=0x1 [src/VulkanDevice.cpp:731 VulkanDevice] Memory type 3 heap=1 flags=0x6 [src/VulkanDevice.cpp:731 VulkanDevice] Memory type 4 heap=1 flags=0xe [src/VulkanDevice.cpp:731 VulkanDevice] Memory type 5 heap=0 flags=0x7 [src/VulkanDevice.cpp:782 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 [src/VulkanDevice.cpp:942 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 [src/VulkanDevice.cpp:1086 VulkanDevice] Compute wave32 programs run on subgroups of 32 [src/VulkanDevice.cpp:1131 VulkanDevice] Vulkan device ready device=00000000230500d0 queue=00000000230014d0 family=0 [write-watch] host imports are compared on Windows because driver writes can arrive after the import window [pipeline-cache] loaded 9.6 KiB from C:\ps5\Astrobot\shader_cache\vk-pipelines-10de-2489-9a438000-9560eb8c198b3225b40aab325793207e.bin [shader-disk-cache] C:\ps5\Astrobot\shader_cache\12777cb38ccab09c (source version 12777cb38ccab09c, format 20) [libc] unhandled exception 'St16invalid_argument' thrown from 00007ffe5c6e59d6 terminate called after throwing an instance of 'std::invalid_argument' what(): computed/data-dependent s_swappc_b64 call target at program counter 0x00000074 is not statically resolvable FATAL: abort() (SIGABRT) on thread 5812 #0 0x00007ffe5c6aa1e7 libc.prx+0xa1e7 #1 0x00007ffe5c7204f9 libc.prx+0x804f9 #2 0x00000000005e97f0 all threads: thread 14132 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x0000000000b3fb38 rbp 0x0000000000000000 thread 2932 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x0000000000d4fbb8 rbp 0x0000000000000000 thread 9720 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x0000000000f5fbe8 rbp 0x0000000000000000 thread 13672 'SystemService_ATQT': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000059af2b8 rbp 0x00000000ffffffff thread 5036 'SystemWakeup': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000005bbf7c8 rbp 0x00000000ffffffff thread 9260 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000005dcf5d8 rbp 0x00000000ffffffff thread 3980 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000005fdf0d8 rbp 0x00000000ffffffff thread 1332 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000061ef5f8 rbp 0x00000000ffffffff thread 1872 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000063ff118 rbp 0x00000000ffffffff thread 6024 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000660f5d8 rbp 0x00000000ffffffff thread 16976 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000681f4c8 rbp 0x00000000ffffffff thread 3580 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000006a2f328 rbp 0x00000000ffffffff thread 1136 'BackgroundTaskWorker': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000006c3f1e8 rbp 0x00000000ffffffff thread 18792 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000006e4f3f8 rbp 0x0000000006e4f780 #0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f #1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935 #2 0x00007ffe85e332e8 libwinpthread-1.dll+0x32e8 #3 0x00007ffde201d3a1 libSceAgcDriver.prx+0x5d3a1 #4 0x00007ffe4d40d80f libstdc++-6.dll+0x13d80f #5 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30 thread 18084 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x000000000da4f418 rbp 0x0000000000000000 thread 2204 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000e45eed8 rbp 0x0000000000000000 thread 6976 '': rip 0x00007ffe8dfc4a74 ntdll.dll+0x164a74 rsp 0x000000000e66f778 rbp 0x0000000000000000 thread 7508 '': rip 0x00007ffe8dfc1444 ntdll.dll+0x161444 rsp 0x000000000ebbf9d8 rbp 0x0000000000000000 thread 2500 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000000edcf008 rbp 0x000000000edcf390 #0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f #1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935 #2 0x00007ffe85e33587 libwinpthread-1.dll+0x3587 #3 0x00007ffe85e335dd libwinpthread-1.dll+0x35dd #4 0x00007ffe6c18d1b5 libSceVideoOut.prx+0xd1b5 #5 0x00007ffe6c18d6ae libSceVideoOut.prx+0xd6ae #6 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30 thread 9980 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x000000000efdf5d8 rbp 0x000000000efdf720 #0 0x00007ffe6c18a92e libSceVideoOut.prx+0xa92e #1 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30 thread 7688 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000006308f9c8 rbp 0x0000000000000000 thread 17964 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000634dfae8 rbp 0x0000000000000000 thread 18812 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000636efd68 rbp 0x0000000000000000 thread 17700 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000638ffa68 rbp 0x0000000000000000 thread 8484 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x0000000065b0fa28 rbp 0x0000000000000000 thread 3008 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x0000000067edfbd8 rbp 0x0000000000000000 thread 7836 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000680efa18 rbp 0x0000000000000000 thread 9960 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x00000000682ffc28 rbp 0x0000000000000000 thread 16132 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x000000006850f838 rbp 0x0000000000000007 thread 15624 '': rip 0x00007ffe8dfc0e44 ntdll.dll+0x160e44 rsp 0x000000006871fa38 rbp 0x000000006871fbb9 thread 18856 '': rip 0x00007ffe8bb51344 win32u.dll+0x1344 rsp 0x000000007064fbc8 rbp 0x0000000000000000 thread 15236 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x000000007569f298 rbp 0x000000007569f620 #0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f #1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935 #2 0x00007ffe85e33587 libwinpthread-1.dll+0x3587 #3 0x00007ffe85e335dd libwinpthread-1.dll+0x35dd #4 0x00007ffde20b1369 libSceAgcDriver.prx+0xf1369 #5 0x00007ffe4d40d80f libstdc++-6.dll+0x13d80f #6 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30 thread 6236 '': rip 0x00007ffe8dfc1914 ntdll.dll+0x161914 rsp 0x00000000758aee28 rbp 0x00000000758af1b0 #0 0x00007ffe85e33a6f libwinpthread-1.dll+0x3a6f #1 0x00007ffe85e33935 libwinpthread-1.dll+0x3935 #2 0x00007ffe85e33587 libwinpthread-1.dll+0x3587 #3 0x00007ffe85e335dd libwinpthread-1.dll+0x35dd #4 0x00007ffde21a86aa libSceAgcDriver.prx+0x1e86aa #5 0x00007ffde21a93fd libSceAgcDriver.prx+0x1e93fd #6 0x00007ffe8b60cd30 ucrtbase.dll+0x2cd30 thread 3936 '': rip 0x00007ffe8bb51344 win32u.dll+0x1344 rsp 0x0000000075abfad8 rbp 0x0000000000000000 Note: RTX 3060 Ti, Windows 11, GCC 15.2.0, Ninja build
AcelezXYZ commented 2026-10-09 07:22:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by AcelezXYZ on 2026-10-09T07:22:51Z.


Took a look at this. The message comes from analyzeSwappcCalls in core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp (the throw at the end of the swappc loop).

An s_swappc_b64 is only accepted as a fetch-shader call if all of these hold:

  1. the shader is a vertex stage (fetchCallAllowed, set in Recompiler.cpp from inputInfo.vertex != nullptr)
  2. every instruction before the call is scalar ALU / s_nop / s_waitcnt and similar (isFetchCallPrefixOpcode)
  3. the target register pair is inside the user-data range and never written, or the target is outside the program

Otherwise it has to be statically resolvable, and here it is not.

The call is at PC 0x74, i.e. about 116 bytes into the shader, which is much deeper than a normal fetch call. My guess is condition 2: the prologue contains something outside that whitelist (e.g. an SMEM load or a VALU op) before the call. This is only a guess; it could also be a non-vertex stage (condition 1) or a target pair that gets written (condition 3).

To tell which one it is, could you rerun with APS5_DUMP_SHADERS=1 (on Windows: set APS5_DUMP_SHADERS=1 before starting) and attach the shader_<address>.req that was written last before the crash? With that, agc_shader_replay --dis --cfg shows the instructions up to 0x74 and the stage.

Also, the error in the draw path does not carry the shader address or stage (the compute path does wrap it), which is why the log does not say which shader it is. I can look into wrapping that as a separate small change.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6076399822 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2062#issuecomment-6076399822). Originally posted by [AcelezXYZ](https://github.com/AcelezXYZ) on 2026-10-09T07:22:51Z. --- Took a look at this. The message comes from `analyzeSwappcCalls` in `core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp` (the throw at the end of the swappc loop). An `s_swappc_b64` is only accepted as a fetch-shader call if all of these hold: 1. the shader is a vertex stage (`fetchCallAllowed`, set in `Recompiler.cpp` from `inputInfo.vertex != nullptr`) 2. every instruction before the call is scalar ALU / `s_nop` / `s_waitcnt` and similar (`isFetchCallPrefixOpcode`) 3. the target register pair is inside the user-data range and never written, or the target is outside the program Otherwise it has to be statically resolvable, and here it is not. The call is at PC 0x74, i.e. about 116 bytes into the shader, which is much deeper than a normal fetch call. My guess is condition 2: the prologue contains something outside that whitelist (e.g. an SMEM load or a VALU op) before the call. This is only a guess; it could also be a non-vertex stage (condition 1) or a target pair that gets written (condition 3). To tell which one it is, could you rerun with `APS5_DUMP_SHADERS=1` (on Windows: `set APS5_DUMP_SHADERS=1` before starting) and attach the `shader_<address>.req` that was written last before the crash? With that, `agc_shader_replay --dis --cfg` shows the instructions up to 0x74 and the stage. Also, the error in the draw path does not carry the shader address or stage (the compute path does wrap it), which is why the log does not say which shader it is. I can look into wrapping that as a separate small change.
erturking commented 2026-10-09 11:08:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by erturking on 2026-10-09T11:08:06Z.


I reran with APS5_DUMP_SHADERS=1 verified in the same PowerShell session ($env:APS5_DUMP_SHADERS printed 1 before launch). The game crashes with the same s_swappc_b64 error at PC 0x74. Afterwards I searched the game folder, my user folder, and the build folder — no shader_*.req files were written anywhere.

I located the dump call in Dispatch.cpp:210 and :223. My guess is that the recompile (where the exception is thrown) happens before dumpRequest runs, so the diagnostic path is bypassed on this specific failure.

Would it be possible to move the dumpRequest call earlier — before the recompile step — or to wrap the recompile in a try/catch that dumps the request and rethrows? That would let me (and others) capture the offending shader for this class of crash.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6079666046 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2062#issuecomment-6079666046). Originally posted by [erturking](https://github.com/erturking) on 2026-10-09T11:08:06Z. --- I reran with APS5_DUMP_SHADERS=1 verified in the same PowerShell session ($env:APS5_DUMP_SHADERS printed 1 before launch). The game crashes with the same s_swappc_b64 error at PC 0x74. Afterwards I searched the game folder, my user folder, and the build folder — no shader_*.req files were written anywhere. I located the dump call in Dispatch.cpp:210 and :223. My guess is that the recompile (where the exception is thrown) happens before dumpRequest runs, so the diagnostic path is bypassed on this specific failure. Would it be possible to move the dumpRequest call earlier — before the recompile step — or to wrap the recompile in a try/catch that dumps the request and rethrows? That would let me (and others) capture the offending shader for this class of crash.
oneandonlydean commented 2026-10-10 03:08:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T03:08:24Z.


Same failure as #1817: a user-data function pointer called with s_swappc_b64 at PC 0x74, which other titles hit too. Closing as a duplicate; #1836 (open) defers these shaders at registration so they only throw if a draw actually uses them. The missing .req is because since #639 shaders are prepared at registration and APS5_DUMP_SHADERS is only read in the dispatch path.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093149587 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2062#issuecomment-6093149587). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T03:08:24Z. --- Same failure as #1817: a user-data function pointer called with `s_swappc_b64` at PC 0x74, which other titles hit too. Closing as a duplicate; #1836 (open) defers these shaders at registration so they only throw if a draw actually uses them. The missing `.req` is because since #639 shaders are prepared at registration and `APS5_DUMP_SHADERS` is only read in the dispatch path.
danzaio commented 2026-10-10 03:49:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-10T03:49:10Z.


Found why no .req is ever written for this crash: PrepareRegistered calls GraphBuilder::Build directly, outside the try/catch in Dispatch, and the recompile request is only built after that call. So the throw skips both the dump and the address/stage wrapping that the dispatch path has. I put up a branch that builds the request first and wraps the failure as registered shader 0xADDR stage N (plus the dump file when APS5_DUMP_SHADERS is set): danzaio/AnyPS5 fix/shader-registration-diagnostics. Intake is paused so I cannot open a PR; leaving this here for a collaborator to carry. Rerunning this branch with APS5_DUMP_SHADERS=1 should produce the shader_*.req that was missing above. AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093462266 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2062#issuecomment-6093462266). Originally posted by [danzaio](https://github.com/danzaio) on 2026-10-10T03:49:10Z. --- Found why no .req is ever written for this crash: PrepareRegistered calls GraphBuilder::Build directly, outside the try/catch in Dispatch, and the recompile request is only built after that call. So the throw skips both the dump and the address/stage wrapping that the dispatch path has. I put up a branch that builds the request first and wraps the failure as registered shader 0xADDR stage N (plus the dump file when APS5_DUMP_SHADERS is set): danzaio/AnyPS5 fix/shader-registration-diagnostics. Intake is paused so I cannot open a PR; leaving this here for a collaborator to carry. Rerunning this branch with APS5_DUMP_SHADERS=1 should produce the shader_*.req that was missing above. AI-assisted: yes.
Sign in to join this conversation.
No labels
No milestone
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.

Reference
boykopovar/AnyPS5#2062
No description provided.