Repository navigation
Description
Description
A game switch (launching managed game B while managed game A runs) froze SceShellCore's main thread in the launch service. B never started. Later launches hung on their splash screens, and a later system shutdown hung forever on the shutdown screen, waiting for the launcher job queue.
The freeze starts at the exact second ShadowMountPlus handles the switch, right after launch retry prepared during game switch. The follow-up launch request that ShellCore normally sends a second later never arrives. It looks like the same switch-retry path as #183 (handle_launch_failed_request() → reset_switch_title_mount()), but here ShellCore hangs instead of SM+ answering EBUSY.
I don't have the kernel log from the moment of the freeze. The 128 KB ring buffer had wrapped by the time I pulled it, about 12 minutes later. I'm filing now with what I have and will follow up with the full kernel log when it happens again; I'm now capturing the kernel log continuously.
Timeline (one console, 2026-10-27, console local time)
| Time | What |
|---|---|
| 10:23:13 | Game A (PPSA99000, folder game in /data/Uploads) started normally |
| 10:24:19 | Launch B (PPSA99058, exFAT image) over A. SM+: game switch prepared, LVD attach + mount OK, launch mount ready, runtime layers released: PPSA99058, launch retry prepared during game switch: PPSA99058 |
| 10:24:20–21 | A exits and is finalized normally (runtime release start: PPSA99000) |
| 10:24:19 → | No further launch request for PPSA99058 reaches SM+. No more [SHELLCORE] launch lines at all |
| ~10:27 → | [SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 200 seconds … 300 … 700 (still frozen). Counting back from the uptime, the freeze began at about 10:24:19 |
| 10:2x | Two more launches (PPSA98260, PPSA99000) hang on their splash screens |
| 10:32:45 | Shutdown requested. ShellUI reaches EvalShutdown s_launcherJobQueueSynchronized:False and stays there |
For comparison, the switch at 10:17 (PPSA02745 UFS image → PPSA99000 folder) worked. The second launch request arrived within a second of the first launch retry prepared line, then sandbox ready handled and [GAME] started.
Context: at 10:23:07 the stuck-prepared situation from #183 had just happened (a failed switch to PPSA01494) and was cleared at 10:23:11 by launching PPSA01494 again from the home screen. PPSA99000 then launched normally at 10:23:13. I mention it in case leftover state matters.
Software Version
- ShadowMountPlus Version: 1.7beta7 (loaded by PLDMGR 0.6.3,
ro=1,debug=1) - Path to the game that isn't working: incoming PPSA99058 =
/data/Uploads/<name>.exfat; outgoing PPSA99000 = folder in/data/Uploads- Image Type:
- .fpkg
- .exfat image
- How was this image created? Homebrew
.exfatimage; it launches fine normally (e.g. 04:16, 05:18, 05:33 the same day).- Does it work with any other software? n/a
- Firmware Version & Backports: FW 13.60 (CFI-1216A), onionHEN 0.9.0 + kstuff. No backport involved.
Itemzflow History
-
Has Itemzflow been used for these games before?
- Yes
- No
-
If YES: Did you delete the game shortcuts using Itemzflow BEFORE installing ShadowMountPlus?
- N/A
Debug Log
ShadowMountPlus debug.log, 10:24:19 → shutdown (unchanged except for the shortened source path)
[10:24:19] [SHELLCORE] game switch prepared: outgoing=PPSA99000 incoming=PPSA99058
[10:24:19] [IMG] Mounting image (exfatfs, optimized-1.7): /data/Uploads/<name>.exfat -> /mnt/shadowmnt/<name>
[10:24:19] [IMG][LVD] attach try: ver=0 sec=512 sec2=65536 raw=0x9 flags=0x1c img=5
[10:24:19] [IMG][LVD] Attached as /dev/lvd2
[10:24:19] [IMG][LVD] Mounted (exfatfs) /dev/lvd2 -> /mnt/shadowmnt/<name>
[10:24:19] [LINK] nullfs mounted: /mnt/shadowmnt/<name> -> /system_ex/app/PPSA99058
[10:24:19] [SHELLCORE] launch mount ready: PPSA99058
[10:24:19] [LINK] runtime layers released: PPSA99058
[10:24:19] [SHELLCORE] launch retry prepared during game switch: PPSA99058
[10:24:20] [FAKELIB] game stopped: pid=450 title=PPSA99000 layers=7
[10:24:20] [FAKELIB] directory unmounted: (4 sandbox dirs of PPSA99000)
[10:24:20] [GAME] process exited, awaiting same-app handoff: PPSA99000 pid=450 app_id=0x0000C018
[10:24:21] [GAME] finalizing stopped application: PPSA99000 pid=450
[10:24:21] [SHELLCORE] runtime release awaiting sandbox removal: PPSA99000
[10:24:21] [SHELLCORE] runtime release start: PPSA99000
[10:24:21] [LINK] runtime layers released: PPSA99000
[10:26:39] [SHELLFLAG] SceSystemStateMgrStatus ... CEC_ONE_TOUCH_PLAY_COMMAND|BD_DRIVE_READY|...
[10:32:45] [SHELLFLAG] SceSystemStateMgrStatus ... START_SHUTDOWN_TIMER|...
[10:32:45] [SHELLFLAG] SceSystemStateMgrStatus ... START_SHUTDOWN_TIMER|EXTEND_SHUTDOWN_TIMER|...
(nothing else but periodic "stale image cleanup" lines)
Working switch at 10:17 for comparison
[10:17:33] [SHELLCORE] game switch prepared: outgoing=PPSA02745 incoming=PPSA99000
[10:17:33] [LINK] nullfs mounted: /data/Uploads/PPSA99000 -> /system_ex/app/PPSA99000
[10:17:33] [SHELLCORE] launch mount ready: PPSA99000
[10:17:33] [LINK] runtime layers released: PPSA99000
[10:17:33] [SHELLCORE] launch retry prepared during game switch: PPSA99000
[10:17:33] [GAME] process exited, awaiting same-app handoff: PPSA02745 pid=413 app_id=0x00004018
[10:17:34] [LINK] nullfs mounted: /data/Uploads/PPSA99000 -> /system_ex/app/PPSA99000
[10:17:34] [SHELLCORE] launch mount ready: PPSA99000
[10:17:34] [SHELLCORE] sandbox ready handled: PPSA99000
[10:17:34] [GAME] finalizing stopped application: PPSA02745 pid=413
[10:17:34] [GAME] started: PPSA99000 pid=444 app_id=0x00006018
Kernel log during the hang (what was still in the ring buffer)
[SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 200 seconds
[SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 300 seconds
[SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 400 seconds
...
[SceShellUI][PowerManager] PowerManager.RequestStateChange state:Shutdown reason:{ "systemUpdate": true, "dataTransfer": true, "trigger": 8 } bootFlag:None
[SceShellUI][RunManager]StartShutdown Sce.Vsh.ShellUI.AppMain.PadInternalDriver.OnShutdown
[SceShellUI][PowerManager]EvalShutdown syncPoint:FsBfs.GetRwDeactivateStatusForShutdown() CurrentState:Shutdown
[SceShellUI][PowerManager]EvalShutdown syncPoint:AppSystem.PluginManager.UnloadedAction CurrentState:Shutdown
[SceShellUI][PowerManager]EvalShutdown syncPoint:!Application.Instance.SystemSound.IsInOperation() CurrentState:Shutdown
[SceShellUI][PowerManager]EvalShutdown s_launcherJobQueueSynchronized:False
[SceShellUI][PowerManager]EvalShutdown syncPoint:UnregisterDelayer CurrentState:Shutdown
[SceShellUI][PowerManager]EvalShutdown s_launcherJobQueueSynchronized:False
======== [UI2.StatusLogger] Dump UI2 status : timeout [14.000]sec ========
[JobQueue : SceLauncherJobQueue]
Thread Status
0 - Alive: True, IsIdle: False
Job Status
SceUINoNameJob - Running
SceUINoNameJob - Waiting
SceUINoNameJob - Waiting
SceUINoNameJob - Waiting
LauncherQueueSynchronizer - Waiting
[SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 500 seconds
[SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 600 seconds
[SceShellCore] Main thread has frozen in sceLncServiceKeepAlive() for 700 seconds
Notes from reading the code (branch 1.7)
- The ShellCore bridge (
sm_shellcore_bridge.S) sets a 15 sSO_SNDTIMEO/SO_RCVTIMEO, so a stalled SM+ socket alone shouldn't hold ShellCore for 10+ minutes. My guess is that ShellCore is stuck on something else on the retry path, e.g. the/system_ex/app/<title>nullfs thatreset_switch_title_mount()unmounts while ShellCore is still mid-launch. That's an unverified hypothesis. - Possibly related: [BUG] Failed launch during a game switch leaves the title reserved; every managed title then fails with "launch mount unavailable ... Device busy" #183 (same switch-retry path, other symptom).
I'll follow up on this issue when it happens again, with the full kernel log from the moment of the freeze.
Activity
drakmor commentedon Oct 27, 2026
Simple send me full logs.
bobrass commentedon Oct 30, 2026
Thanks for setting up continuous capture. The short window around the switch should help pinpoint this. If it happens again, could you attach the kernel log from roughly 10 seconds before the
launch retry preparedline through 10 seconds after it, along with the matching ShadowMountPlus debug log? The key detail is whether ShellCore logs a second launch request before the freeze. Please redact account or device identifiers and private paths; no game image is needed.JKamsker commentedon Oct 30, 2026
Will do as soon as it happens again - unfortunately i removed the game in question so i cannot reproduce it at the time. i will reopen this when it happens again
joaoalvess commentedon Nov 11, 2026
Hit this twice today and captured the kernel log continuously (klogsrv) through one of the crashes. Posting it here since this issue asked for exactly that window.
Setup
persistent_image_mounts=0(default),api_enabled=1,debug=1/data/homebrew/B.exfat, mounted on demandPattern
To the question about a second launch request: yes. ShellCore logs
launchApp(APP_B)twice. The first call returnsLNC_ISOK::0x80940010fromcheckExistingApp, ShellCore suspends and kills GAME_A, and at GAME_A'sEndAppMountthe kernel force-unmounts the exFAT mount SMP had just prepared for APP_B:Then the second
launchApp(APP_B)runs,initializeMountRootreturnsLNC_RTRACE::0x80020011, the process is spawned, and ShellCore's main thread freezes while waiting forNOTE_EXIT|NOTE_EXEC. This sequence is identical in both switches. The difference:cached mount is not active, reattachingand remounts the image on another lvd unit, then the APP_B process is created (New Process ... created) and the app starts.wait for NOTE_EXIT|NOTE_EXEC, and the console reboots. SMP's debug.log has no lines at all for this switch: it ends with the periodic[MANUAL] scannedline a few seconds before, so I assume the switch lines were never flushed before the reboot.The earlier crash today (no kernel log for that one) has the same shape: GAME_A running for ~10 minutes, launch APP_B, reboot, and the SMP log ends with the periodic scan.
SMP debug.log, switch that worked (GAME_A → APP_B)
Kernel log, switch that worked (from the first launchApp until the APP_B process is created)
Kernel log, switch that crashed (from the first launchApp until the console died)
SMP debug.log, end of the session that crashed
Title IDs, the homebrew name and private paths are replaced (
GAME_A,APP_B,B_<hash>,<path>); device and session identifiers are removed. ResArbitrator, memory-stat and NpUds noise is filtered out; everything else between the first and the last line is in order.I've now moved to 1.7beta12 with
[mount] persistent_images = 1, so APP_B's image stays mounted from boot instead of being prepared during the switch. I'll report back whether switching still freezes. Could this be reopened, or would you prefer a new issue?