[GAME BUG]: EA Sports College Football 25 (stuck in infinite loop, never reaches menu) #79

Closed
opened 2026-11-26 09:09:44 +00:00 by github-bot · 0 comments
Owner

@⁠LtCheeseburger on GitHub · 2026-07-19 18:11 UTC · original

Game title

EA Sports College Football 25

Game ID / serial

PPSA04184

KytyPS5 version

0.2.2

Last working build / first broken build

No response

What happened?

Current Blocker - unimplemented libkernel import causes an infinite wait
The game does not reach the main menu. Over the course of investigating this, three distinct emulator bugs were found and fixed, after which the game now hangs indefinitely in a busy-loop on an unimplemented libkernel import. The game boots further: it loads eboot.bin and several .prx modules, sets up its EA engine memory pools, and creates an EAThread Timer Queue. It then enters what looks like a queue/free-list processing loop and calls an unresolved libkernel_v1.1 import (encoded NID lgK+oIWkJyA) once per iteration. Because that function isn't implemented, it unconditionally returns 0; the game's code appears to treat that as "not ready, check again" and spins forever, so it never falls through to whatever comes after this step in its boot sequence (and the menu never appears).

There were some other issues that i fixed on my own. to get to this point. Detailed here:

Bug 1 — Vulkan device-layer validation error (fixed)

vkCreateDevice() was being called with enabledLayerCount = 1, enabling VK_LAYER_KHRONOS_validation at the device level. Device-level layers have been non-functional since Vulkan 1.0 and current validation layers hard-reject a non-zero enabledLayerCount on VkDeviceCreateInfo. This crashed immediately on launch.

  • File: src/graphics/presentation/window/vulkanWindow.cpp (~line 672)
  • Fix: zero enabledLayerCount/ppEnabledLayerNames on the device create info; the instance already enables the validation layer correctly elsewhere in the same file.

Bug 2 — Windows 64KB allocation-granularity vs PS5 16KB page granularity (fixed)

After Bug 1 was fixed, the game crashed again shortly after loading, with an access violation writing to address 0x18 inside eboot.bin. Root cause: the game's engine (EA's "EAOSGlobal" allocator) requests fixed-address direct-memory mappings at addresses aligned to the PS5's native 16KB page size, but not to Windows' 64KB VirtualAlloc allocation granularity. MapPlaceholderView() tried to reserve a fresh placeholder at the exact requested address via VirtualAlloc2(..., MEM_RESERVE_PLACEHOLDER, ...), which Windows can never satisfy unless the base address is 64KB-aligned — regardless of whether the address is actually free. Every candidate address the engine tried failed identically, its allocator init silently produced a null object, and the game later wrote through that null pointer.

  • File: src/kernel/memoryAddressSpace.inc, DirectMemoryBacking::MapPlaceholderView()
  • Fix: when the requested range isn't itself granularity-aligned, reserve (or reuse) the containing 64KB-aligned block first, then split it down to the exact requested sub-range using the same preserve-placeholder split technique already used elsewhere in the file (see UnmapOne).

Bug 3 — sceKernelQueryMemoryProtection crashed on a null guest pointer (fixed)

A secondary hardening fix: this function used EXIT_NOT_IMPLEMENTED(addr == nullptr), crashing the whole emulator when a guest-supplied pointer was null, instead of returning KERNEL_ERROR_EFAULT like every comparable function in the same file. Real PS5 hardware returns an error for a bad pointer argument here; it doesn't crash the console.

Steps to reproduce

  1. Open KytyPS5.
  2. Boot EA Sports College Football 25 (PPSA04184).
  3. Observe the emulator initializes subsystems, loads modules, and then never proceeds — log fills with repeated Unresolved import stub called: lgK+oIWkJyA[libkernel_v1][libkernel_v1.1][Func].

Expected behavior

Splash screens should render, followed by the main menu.

OS

Windows 11 Home 10.0.26200

CPU

AMD Ryzen 9 9900X

GPU

NVIDIA GeForce RTX 4070

RAM / VRAM

32 GB RAM / 12 GB VRAM

Log file upload

_kyty.txt

Screenshots/video

Image

Extra notes

No response

**@⁠LtCheeseburger** on GitHub · 2026-07-19 18:11 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/79) ### Game title EA Sports College Football 25 ### Game ID / serial PPSA04184 ### KytyPS5 version 0.2.2 ### Last working build / first broken build _No response_ ### What happened? **Current Blocker - unimplemented `libkernel` import causes an infinite wait** The game does not reach the main menu. Over the course of investigating this, three distinct emulator bugs were found and fixed, after which the game now hangs indefinitely in a busy-loop on an unimplemented `libkernel` import. The game boots further: it loads `eboot.bin` and several `.prx` modules, sets up its EA engine memory pools, and creates an `EAThread Timer Queue`. It then enters what looks like a queue/free-list processing loop and calls an **unresolved `libkernel_v1.1` import** (encoded NID `lgK+oIWkJyA`) once per iteration. Because that function isn't implemented, it unconditionally returns `0`; the game's code appears to treat that as "not ready, check again" and spins forever, so it never falls through to whatever comes after this step in its boot sequence (and the menu never appears). There were some other issues that i fixed on my own. to get to this point. Detailed here: **Bug 1 — Vulkan device-layer validation error (fixed)** `vkCreateDevice()` was being called with `enabledLayerCount = 1`, enabling `VK_LAYER_KHRONOS_validation` at the *device* level. Device-level layers have been non-functional since Vulkan 1.0 and current validation layers hard-reject a non-zero `enabledLayerCount` on `VkDeviceCreateInfo`. This crashed immediately on launch. - File: `src/graphics/presentation/window/vulkanWindow.cpp` (~line 672) - Fix: zero `enabledLayerCount`/`ppEnabledLayerNames` on the device create info; the instance already enables the validation layer correctly elsewhere in the same file. **Bug 2 — Windows 64KB allocation-granularity vs PS5 16KB page granularity (fixed)** After Bug 1 was fixed, the game crashed again shortly after loading, with an access violation writing to address `0x18` inside `eboot.bin`. Root cause: the game's engine (EA's "EAOSGlobal" allocator) requests fixed-address direct-memory mappings at addresses aligned to the PS5's native 16KB page size, but **not** to Windows' 64KB `VirtualAlloc` allocation granularity. `MapPlaceholderView()` tried to reserve a fresh placeholder at the *exact* requested address via `VirtualAlloc2(..., MEM_RESERVE_PLACEHOLDER, ...)`, which Windows can never satisfy unless the base address is 64KB-aligned — regardless of whether the address is actually free. Every candidate address the engine tried failed identically, its allocator init silently produced a null object, and the game later wrote through that null pointer. - File: `src/kernel/memoryAddressSpace.inc`, `DirectMemoryBacking::MapPlaceholderView()` - Fix: when the requested range isn't itself granularity-aligned, reserve (or reuse) the containing 64KB-aligned block first, then split it down to the exact requested sub-range using the same preserve-placeholder split technique already used elsewhere in the file (see `UnmapOne`). **Bug 3 — `sceKernelQueryMemoryProtection` crashed on a null guest pointer (fixed)** A secondary hardening fix: this function used `EXIT_NOT_IMPLEMENTED(addr == nullptr)`, crashing the whole emulator when a guest-supplied pointer was null, instead of returning `KERNEL_ERROR_EFAULT` like every comparable function in the same file. Real PS5 hardware returns an error for a bad pointer argument here; it doesn't crash the console. ### Steps to reproduce 1. Open KytyPS5. 2. Boot EA Sports College Football 25 (PPSA04184). 3. Observe the emulator initializes subsystems, loads modules, and then never proceeds — log fills with repeated `Unresolved import stub called: lgK+oIWkJyA[libkernel_v1][libkernel_v1.1][Func]`. ### Expected behavior Splash screens should render, followed by the main menu. ### OS Windows 11 Home 10.0.26200 ### CPU AMD Ryzen 9 9900X ### GPU NVIDIA GeForce RTX 4070 ### RAM / VRAM 32 GB RAM / 12 GB VRAM ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/30169273/_kyty.txt) ### Screenshots/video <img width="1651" height="1389" alt="Image" src="https://github.com/user-attachments/assets/2110e40c-e87c-44f2-b255-f842caa610f2" /> ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:09:44 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#79
No description provided.