PPSA38500: null-pointer write in the thread-trampoline region when gameplay starts #27759

Open
opened 2026-11-27 08:13:36 +00:00 by Ling-Mo-han · 0 comments
Ling-Mo-han commented 2026-11-27 08:13:36 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Ling-Mo-han on 2026-11-27T08:13:36Z.


### 概述 / What happens
进入 gameplay(或启动阶段)时进程以 0xc0000005, write of 0x0 结束,栈落在转换后镜像的线程 trampoline 区域。
The process ends with 0xc0000005, write of 0x0; the stack lands in the converted image's thread-trampoline region.

标题 / Title

PPSA38500 01.002.001

AnyPS5 commit

同 issue "PPSA38500: sampler table border pairing rejected, then guest assert (int 0x41)":e269ebc5 + PR #27560 + PR #27649(+ 本地 #27532/#27543 等价改动,--target libs 全量构建)。

System

Windows 11 26200 · i7-13650HX(缺 SSE4a/CLZERO)· RTX 4060 Laptop(NVIDIA 566.07, Vulkan 1.3.289)· MinGW-w64 GCC 16.2.0

Host report

见上一条 issue(同一台机器,ANYPS5_HOST_REPORT=1 输出一致)。

Steps to reproduce

set APS5_PRESENT_CROP=960x540
GTAVI-Windows.exe

三次运行:一次本崩溃(进 gameplay 前)、一次启动阶段 guest assert (int 0x41)、一次 gameplay 起点断言 → 非确定性。

Log

FATAL: unhandled exception 0xc0000005 on thread 16568 ''
  rip 0x0000000008fd3a40 GTAVI-Windows.exe+0x8be3a40
  write of 0x0000000000000000
  rax 0000000008fd3a40 rbx 000020455504b08c rcx 0000000000000000 rdx 00000b8a43b97fa9
  rsi 000000100a96b920 rdi 00000000000f4240 rbp 000000fc08f4fcc0 rsp 000000fc08f4fc68
  stack return addresses: +0x848c55a / +0x848c630 / libkernel.prx+0x998df / libkernel.prx+0xa40d9

0x848c55a 与 discussion #27523 里记录的
“null-pointer write in the conversion's thread-trampoline region (app.exe+0x848c55a, write of 0x0), timing-dependent” 完全一致。

What was checked

  • 降低显存/内存预算后(见上一条 issue 的环境变量组)工作集下降但签名不变,vkAllocateMemory … uses 7452 of its 7189 MiB budget 这类日志也出现的次数不变 → 不是显存压力触发的路径。
  • 崩溃前同一份日志可见 21 × VGT_SHADER_STAGES_EN=0x2030 与 5 × SPIR-V emission 失败,但它们只在“使用时准备”阶段打印,未直接报错。
  • 抓帧重放(8 帧、pixels_identical=1.000000)可用;如需要可抓崩溃瞬间的窗口并附 call … (submit …) 序列。
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6642603793 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/27759). Originally posted by [Ling-Mo-han](https://github.com/Ling-Mo-han) on 2026-11-27T08:13:36Z. --- ### 概述 / What happens 进入 gameplay(或启动阶段)时进程以 `0xc0000005, write of 0x0` 结束,栈落在转换后镜像的线程 trampoline 区域。 The process ends with `0xc0000005, write of 0x0`; the stack lands in the converted image's thread-trampoline region. ### 标题 / Title `PPSA38500 01.002.001` ### AnyPS5 commit 同 issue "PPSA38500: sampler table border pairing rejected, then guest assert (int 0x41)":`e269ebc5` + PR #27560 + PR #27649(+ 本地 #27532/#27543 等价改动,`--target libs` 全量构建)。 ### System Windows 11 26200 · i7-13650HX(缺 SSE4a/CLZERO)· RTX 4060 Laptop(NVIDIA 566.07, Vulkan 1.3.289)· MinGW-w64 GCC 16.2.0 ### Host report 见上一条 issue(同一台机器,`ANYPS5_HOST_REPORT=1` 输出一致)。 ### Steps to reproduce ```bat set APS5_PRESENT_CROP=960x540 GTAVI-Windows.exe ``` 三次运行:一次本崩溃(进 gameplay 前)、一次启动阶段 `guest assert (int 0x41)`、一次 gameplay 起点断言 → **非确定性**。 ### Log ``` FATAL: unhandled exception 0xc0000005 on thread 16568 '' rip 0x0000000008fd3a40 GTAVI-Windows.exe+0x8be3a40 write of 0x0000000000000000 rax 0000000008fd3a40 rbx 000020455504b08c rcx 0000000000000000 rdx 00000b8a43b97fa9 rsi 000000100a96b920 rdi 00000000000f4240 rbp 000000fc08f4fcc0 rsp 000000fc08f4fc68 stack return addresses: +0x848c55a / +0x848c630 / libkernel.prx+0x998df / libkernel.prx+0xa40d9 ``` `0x848c55a` 与 [discussion #27523](https://github.com/boykopovar/AnyPS5/discussions/27523) 里记录的 “null-pointer write in the conversion's thread-trampoline region (app.exe+0x848c55a, write of 0x0), timing-dependent” 完全一致。 ### What was checked - 降低显存/内存预算后(见上一条 issue 的环境变量组)工作集下降但**签名不变**,`vkAllocateMemory … uses 7452 of its 7189 MiB budget` 这类日志也出现的次数不变 → 不是显存压力触发的路径。 - 崩溃前同一份日志可见 21 × `VGT_SHADER_STAGES_EN=0x2030` 与 5 × SPIR-V emission 失败,但它们只在“使用时准备”阶段打印,未直接报错。 - 抓帧重放(8 帧、`pixels_identical=1.000000`)可用;如需要可抓崩溃瞬间的窗口并附 `call … (submit …)` 序列。
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#27759
No description provided.