Skip to content

[BUG] Opening details of a folder game with 220k+ files crashes the console (1.7beta11, FW 12.60) #205

Open

Description

@kh-mitya

Description
Opening the details page of a folder game with a very large number of files crashes the console. The page shows "Calculating source size…" (in the Russian UI), then the console goes down and restarts. Reproduced 3 times in a row with Demon's Souls. Details pages of my other games, which have far fewer files, open without problems.

Steps to reproduce

  1. Open the ShadowMount+ library.
  2. Select Demon's Souls to open its details page.

Expected: the details page opens.
Actual: the console goes down and restarts while the page is loading.

Software Version

  • ShadowMountPlus Version: 1.7beta11 (build 2026-10-29T21:22:24Z)

  • Path to the game that isn't working: /mnt/usb1/homebrew/PPSA01342_Demons_Souls

    • Image Type: game folder, not an image
  • How was this image created? Not an image. Folder dump on an external USB NVMe (exFAT, 128 KB clusters). PPSA01342, version 01.005.000, 82 GB, 223,255 files, 19,694 directories.

    • Does it work with any other software? Not tested
    • Firmware Version & Backports: PS5 Slim, 12.60, kstuff-lite 1.11, no backport

Itemzflow History

  • Has Itemzflow been used for these games before?
    • Yes
    • No

What I checked

  • fsck.exfat -n on the drive reports clean (23,311 directories, 552,365 files), so the file system does not look damaged.
  • The log has nothing about the crash. It stops after startup, and the next log starts with the startup after the restart. There is no entry for the details request.

Possible cause (not confirmed)
showDetails() calls /games/info, and the comment around sm_storage_measure_path_progress in sm_api_service.c says details measure the base package. So opening the page walks the whole folder. I suspect the walk over this many files on USB exFAT brings the console down, but I have no crash log to prove it.

Could the size be measured on request, or the walk be limited?

Debug Log
An excerpt from debug.log.1 of a session that ended in the crash. Long lines are cut. I can post the full file if it helps.

Click to expand debug.log content
[14:27:12] ShadowMount+ v1.7beta11 exFAT/UFS/PFS/LVD/MD. FW: 12.60. Build: 2026-10-29T21:22:24Z.
[14:27:12]   [SHELLCORE] resolved fw=12.60 pid=61 base=0xeb88000
[14:27:12]   [SHELLCORE] hooks installed: fw=12.60 pid=61 cave=0x10415fa0+0x2e8 launch=1 sandbox=1 trampoline=0x104161e0 install=1
[14:27:12]   [GAME] lifecycle watcher started
[14:27:12]   [SHELLFLAG] SceSystemStateMgrInfo initial=0x00000001000003E8 low32=0x000003E8 high32=0x00000001 decoded=STATE=WORKING(0x03E8)|TRIGGER=0x0001|REBOOT_CAUSE=NONE(0x0000)
[14:27:12]   [SHELLFLAG] monitor started (4/4 flags opened)
[14:27:12]   [SCAN] FS stats: path=/mnt/usb1/homebrew type=exfatfs bsize=131072 iosize=65536 blocks=7629096 bfree=77252 bavail=77252
[14:27:13] [STARTUP] scanner startup sync begin
[14:27:13]   [DB] loaded app.db title list: 54 entries
[14:27:13] [STARTUP] scanner startup sync done
[14:27:13]   [API] HTTP/JSON ready: http://0.0.0.0:10101/api/v1 (v1, workers=8, limit=32)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions