[GH-ISSUE #2351] [Runtime] Crash (0xC0000005) after 5th XMemVirtualAlloc at game_scarlett_master.exe+0x5ba6c35 #56

Open
opened 2026-11-26 20:16:04 +01:00 by 4ld0 · 0 comments
Owner

Originally created by @m1eza on GitHub (Nov 26, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/2351

Description

gta6rt.exe crashes with an Access Violation (0xC0000005 / -1073741819) right after the 5th XMemVirtualAlloc call during startup on Windows.

Environment

  • OS: Windows
  • RAM: 16 GB physical + 32–45 GB pagefile
  • Build: Latest main branch

Trace Log (--trace)

The execution stops right at seq: 16 (caller: game_scarlett_master.exe+0x5ba6c35):

{"seq":12,"t":1.269611,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x21","size":25769803776,"caller":"game_scarlett_master.exe+0x1e1d00f"}
{"seq":13,"t":1.269790,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x3","size":25769803776,"caller":"game_scarlett_master.exe+0x1e1d03e"}
{"seq":14,"t":1.269926,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x183","size":1228931072,"caller":"game_scarlett_master.exe+0x1e1d186"}
{"seq":15,"t":1.270130,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x283","size":2305818624,"caller":"game_scarlett_master.exe+0x1e1d4db"}
{"seq":16,"t":1.271265,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x181","size":20971520,"caller":"game_scarlett_master.exe+0x5ba6c35"}
Originally created by @m1eza on GitHub (Nov 26, 2026). Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/2351 ### Description `gta6rt.exe` crashes with an Access Violation (`0xC0000005` / `-1073741819`) right after the 5th `XMemVirtualAlloc` call during startup on Windows. ### Environment - **OS:** Windows - **RAM:** 16 GB physical + 32–45 GB pagefile - **Build:** Latest `main` branch ### Trace Log (`--trace`) The execution stops right at `seq: 16` (`caller: game_scarlett_master.exe+0x5ba6c35`): ```json {"seq":12,"t":1.269611,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x21","size":25769803776,"caller":"game_scarlett_master.exe+0x1e1d00f"} {"seq":13,"t":1.269790,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x3","size":25769803776,"caller":"game_scarlett_master.exe+0x1e1d03e"} {"seq":14,"t":1.269926,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x183","size":1228931072,"caller":"game_scarlett_master.exe+0x1e1d186"} {"seq":15,"t":1.270130,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x283","size":2305818624,"caller":"game_scarlett_master.exe+0x1e1d4db"} {"seq":16,"t":1.271265,"kind":"xmem_attributes","api":"XMemVirtualAlloc","attributes":"0x181","size":20971520,"caller":"game_scarlett_master.exe+0x5ba6c35"} ```
Sign in to join this conversation.
No labels
bug
pull-request
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/leonida#56
No description provided.