Skip to content

[BUG] SceShellCore main thread freezes during a game switch after "launch retry prepared"; later launches and system shutdown hang #184

Open

Description

@JKamsker

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 .exfat image; 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)

I'll follow up on this issue when it happens again, with the full kernel log from the moment of the freeze.

Activity

  1. drakmor commented on Oct 27, 2026

    @drakmor
    Owner

    Simple send me full logs.

  2. bobrass commented on Oct 30, 2026

    @bobrass

    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 prepared line 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.

  3. JKamsker commented on Oct 30, 2026

    @JKamsker
    Author

    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

  4. joaoalvess commented on Nov 11, 2026

    @joaoalvess

    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

    • ShadowMountPlus 1.7beta11 (build 2026-10-29T21:22:24Z), FW 13.60, kstuff-lite, payloads autoloaded by pldmgr
    • persistent_image_mounts=0 (default), api_enabled=1, debug=1
    • GAME_A: a SMP-managed game (nullfs, no image)
    • APP_B: a SMP-managed homebrew packed as an exFAT image in /data/homebrew/B.exfat, mounted on demand

    Pattern

    • Launching APP_B from the home screen with nothing running: always fine (4 times in a row in the previous session).
    • Launching APP_B while GAME_A is running: sometimes fine, sometimes ShellCore freezes and the console reboots a few seconds later.
    • Both switches below happened in the same session, 5 minutes apart, same game and same homebrew. The first one worked, the second one rebooted the console.

    To the question about a second launch request: yes. ShellCore logs launchApp(APP_B) twice. The first call returns LNC_ISOK::0x80940010 from checkExistingApp, ShellCore suspends and kills GAME_A, and at GAME_A's EndAppMount the kernel force-unmounts the exFAT mount SMP had just prepared for APP_B:

    [KERNEL] WARNING: force unmount. fstypename=[exfatfs] mntonname=[/mnt/shadowmnt/B_<hash>]
    

    Then the second launchApp(APP_B) runs, initializeMountRoot returns LNC_RTRACE::0x80020011, the process is spawned, and ShellCore's main thread freezes while waiting for NOTE_EXIT|NOTE_EXEC. This sequence is identical in both switches. The difference:

    • Switch that worked: frozen for 2 seconds. SMP logs cached mount is not active, reattaching and remounts the image on another lvd unit, then the APP_B process is created (New Process ... created) and the app starts.
    • Switch that crashed: frozen for 2 s, then 3 s. The APP_B process never gets past 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] scanned line 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)
    [18:12:32]   [SHELLCORE] game switch prepared: outgoing=GAME_A incoming=APP_B
    [18:12:32]   [IMG] Mounting image (exfatfs, optimized-1.7): /data/homebrew/B.exfat -> /mnt/shadowmnt/B_<hash>
    [18:12:32]   [IMG][LVD] Attached as /dev/lvd2
    [18:12:32]   [IMG][LVD] Mounted (exfatfs) /dev/lvd2 -> /mnt/shadowmnt/B_<hash>
    [18:12:32]   [LINK] nullfs mounted: /mnt/shadowmnt/B_<hash> -> /system_ex/app/APP_B
    [18:12:32]   [SHELLCORE] launch mount ready: APP_B
    [18:12:32]   [LINK] runtime layers released: APP_B
    [18:12:32]   [SHELLCORE] launch retry prepared during game switch: APP_B
    [18:12:33]   [FAKELIB] game stopped: pid=114 title=GAME_A layers=6
    [18:12:33]   [FAKELIB] directory unmounted: /preinst/common/font -> <path>
    [18:12:33]   [FAKELIB] directory unmounted: <path> -> <path>
    [18:12:33]   [FAKELIB] directory unmounted: <path> -> <path>
    [18:12:33]   [GAME] process exited, awaiting same-app handoff: GAME_A pid=114 app_id=0x00004018
    [18:12:33]   [IMG][LVD] cached mount is not active, reattaching: /data/homebrew/B.exfat -> /mnt/shadowmnt/B_<hash>
    [18:12:33]   [IMG][LVD] unmount start: source=/data/homebrew/B.exfat mount=/mnt/shadowmnt/B_<hash> unit=2
    [18:12:33]   [IMG] Removed mount directory: /mnt/shadowmnt/B_<hash>
    [18:12:33]   [IMG][LVD] unmount complete: source=/data/homebrew/B.exfat mount=/mnt/shadowmnt/B_<hash> unit=2 error=0
    [18:12:33]   [IMG] Mounting image (exfatfs, optimized-1.7): /data/homebrew/B.exfat -> /mnt/shadowmnt/B_<hash>
    [18:12:33]   [IMG][LVD] Attached as /dev/lvd1
    [18:12:33]   [IMG][LVD] Mounted (exfatfs) /dev/lvd1 -> /mnt/shadowmnt/B_<hash>
    [18:12:33]   [LINK] nullfs mounted: /mnt/shadowmnt/B_<hash> -> /system_ex/app/APP_B
    [18:12:33]   [SHELLCORE] launch mount ready: APP_B
    [18:12:33]   [FAKELIB] directory mounted for APP_B: <path> -> /mnt/sandbox/APP_B_000/data
    [18:12:33]   [FAKELIB] directory mounted for APP_B: <path> -> /mnt/sandbox/APP_B_000/mnt/ext1
    [18:12:33]   [FAKELIB] directory mounted for APP_B: /preinst/common/font -> /mnt/sandbox/APP_B_000/preinst/common/font
    [18:12:33]   [SHELLCORE] sandbox ready handled: APP_B
    [18:12:34]   [GAME] finalizing stopped application: GAME_A pid=114
    [18:12:34]   [SHELLCORE] runtime release awaiting sandbox removal: GAME_A
    [18:12:34]   [SHELLCORE] runtime release start: GAME_A
    [18:12:34]   [LINK] runtime layers released: GAME_A
    [18:12:35]   [GAME] started: APP_B pid=115 app_id=0x00006018
    
    Kernel log, switch that worked (from the first launchApp until the APP_B process is created)
    [SceLncService] launchApp(APP_B)
    [SceLncService] category={gd} appCategoryType={0x00000000} isVRMode={0}
    [SceLncService] hnm,psnf,pc,tk,ns,pf,htm,at,ts,es,lf={1,0,0,0,0,1,0,0,0,0,0} appBootMode={2} appBootSubMode={0}
    [SceLncService] appType={SCE_LNC_APP_TYPE_BIG_APP} [] appVer={} contentVersion={01.000.000} appCategoryType={0x00000000}
    [SceLncService] Waiting for LoginMgr
    [SceLncService] Num. of logged-in users is 1
    [SceLncService] BigApp Launch Ready: Waiting
    [SceLncService] BigApp Launch Ready: OK
    [SceLncService] PrepareProcessLaunchDebuggerCheck()
    [SceLncService] PrepareProcessLaunchDebuggerCheck() returned
    [SceLncService] EnsureBigAppBudget()
    [SceLncService] EnsureBigAppBudget() returned
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(208) checkExistingApp: LNC_ISOK::0x80940010
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(536) launchApp: LNC_ISOK::0x80940010
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_mapfile.cpp(1801) finalize: LNC_RTRACE::0xffffffff
    [SceLncUtil] W:\Build\J03950016\vsh\common_lib\lnc_util\src\lnc_util_ipc_client.cpp(211) launchApp: LNC_ISOK::0x80940010
    [SceLncService] KillApp() appId={0x00004018} is requested from 0x00000007
    [SceLncService] KillApp() appId={0x00004018}, withSuspend={1}, forceKill={0} killReason={0}
    [SceLncService] suspendApp appId={0x00004018} before kill.
    [SceLncService] suspendApp() appId={0x00004018}, causeCode={0x00000006}
    [SceLncService] Start suspending GAME_A
    [SceLncService] sceApplicationSuspend(0x00004018)
    [Syscore App] Suspend App : 0x4018 GAME_A
    [Syscore App] Suspend process : 0x72
    [Syscore App] Suspend process : 0x72 => 0
    [AppMgr Trace]: AppId=0x4018 suspended
    [Syscore App] Suspend App : 0x4018 GAME_A => SCE_OK
    [SceLncService] sceApplicationSuspend(0x00004018) returned
    [SceLncService] Completed suspending GAME_A (293 msec)
    [SceLncService] BlockingKill() appId={0x00004018}, titleId={GAME_A}, is_coredumpFinished={0}, forceKill={0}
    [SceLncService] convertToSysCoreKillReason: {0x00000000}->{0x00000000}
    [Syscore App] Kill App : 0x4018 GAME_A
    [Syscore App] Kill process: 0x72
    [Syscore App] EVFILT_PROC NOTE_EXIT received : pid=0x72
    [Syscore App] Kill process: 0x72 => 0
    [Syscore App] process delete event : pid=0x72
    [AppMgr Trace]: pid=0x72, deleted.
    [AppMgr Trace]: AppId=0x4018  deleted
    [Syscore App] Kill App : 0xffffffff  => 0
    [Syscore App] blockingKill(0x00004018, 0) complete
    [SceLncService] start unmountAllForShellCoreInternal()
    [SceLncService] end unmountAllForShellCoreInternal()
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(2508) getAppTitleId: LNC_ISOK::0x80940004
    [SceLncService] Cleaning /av_contents/content_tmp
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_mapfile.cpp(1801) finalize: LNC_RTRACE::0xffffffff
    [SceLncService] dumpCapturedAppInfo()
    [SceLncService] ProcessTerm()
    [sceProcessStarter] ProcessTerm() big/mini app title_id = [GAME_A] root_dir = [****/sandbox/GAME_A_000]
    [sceProcessStarter] UnMountDownloadData() mount_path = [************/download/GAME_A] dl_num = [0]
    [PlayGoCore][PlayGoService][End] begin (GAME_A)
    [PlayGoCore][PlayGoService][End] end (GAME_A, 0x00000000)
    [SceLncService] ProcessTerm() returned
    [SceLncService] EndAppMount(0x00004018)
    [KERNEL] INFO: end_app_mount 00004018
    [KERNEL] INFO: deleting bigapp: category 0x00000000, container 1
    [KERNEL] WARNING: force unmount. fstypename=[exfatfs] mntonname=[/mnt/shadowmnt/B_<hash>]
    [KERNEL] INFO: budget_appid_clear(4018, 4)=3
    [SceLncService] EndAppMount(0x00004018) returned (25 msec)
    [SceLncService] convertToSysCoreKillReason: {0x00000000}->{0x00000000}
    [SceLncService] onAppExit() appId={0x00004018}
    [SceLncService] this app is already exited. appId={0x00004018}
    [SceLncService] launchApp(APP_B)
    [SceLncService] category={gd} appCategoryType={0x00000000} isVRMode={0}
    [SceLncService] hnm,psnf,pc,tk,ns,pf,htm,at,ts,es,lf={1,0,0,0,0,1,0,0,0,0,0} appBootMode={2} appBootSubMode={0}
    [SceLncService] appType={SCE_LNC_APP_TYPE_BIG_APP} [] appVer={} contentVersion={01.000.000} appCategoryType={0x00000000}
    [SceLncService] Waiting for LoginMgr
    [SceLncService] Num. of logged-in users is 1
    [SceLncService] BigApp Launch Ready: Waiting
    [SceLncService] BigApp Launch Ready: OK
    [SceLncService] PrepareProcessLaunchDebuggerCheck()
    [SceLncService] PrepareProcessLaunchDebuggerCheck() returned
    [SceLncService] EnsureBigAppBudget()
    [SceLncService] EnsureBigAppBudget() returned
    [SceLncService] sceApplicationSave() categoryType={0x00000000}, debuggerRequestId={0xffffffff}
    [Syscore App] No App needs to save. BigApp does not exist on the memory.
    [SceLncService] BeginAppMount()
    [KERNEL] INFO: begin_app_mount 00000000
    [KERNEL] INFO: launch bigapp: category 0x00000000, container 1
    wt_application_launch_callback:new target appid=0x6018
    [SceLncService] is_pkgstep={0}
    [SceLncService] PrepareProcessLaunchDebugger()
    [PlayGoCore][PlayGoService][Start] begin (APP_B)
    [PlayGoCore][PlayGoService][Start] end (APP_B, 0x00000000)
    [sceProcessStarter] MountDownloadData() title_id = [APP_B] data_path = [**************/APP_B/download0.dat] mount_path = [************/download/APP_B] budget = [game]
    [SceLncService] PrepareProcessLaunchDebugger() returned
    [SceLncService] sandboxType={0x00000002}
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_application.cpp(655) initializeMountRoot: LNC_RTRACE::0x80020011
    [SceLncService] spawnApp
    [Syscore App] createApp APP_B
    [Syscore App] processSpawn(pid, 0x6018, 0x160181d0, appParam, processParam, 1, 1, 1, param, debug, 0)
    [Syscore App] appParam: appType = 0, titleId = APP_B
    [Syscore App] new pid=0x73[Syscore App] attributeExe= 0
    [Syscore App] Ready to exec
    [Syscore App] wait for NOTE_EXIT|NOTE_EXEC
    [AvControl] VideoOut: shared (pid=0x73 appId=0x6018)
    [AvControl] video owner is switched to registered app(appId=0x6018) 
    [KERNEL] INFO: Disable workaround PPRREQ55470_NO_ADDITIONAL_DMEM_192MB
    [SceShellCore] Main thread has frozen in sceApplicationSignalShellCoreHeartBeat() for 2 seconds
    [Syscore App] Add event : pid=0x73
    [AppMgr Trace]: New Process, pid=0x73, created.
    [AppMgr Trace]: New App, appId=0x6018, created
    
    Kernel log, switch that crashed (from the first launchApp until the console died)
    [SceLncService] launchApp(APP_B)
    [SceLncService] category={gd} appCategoryType={0x00000000} isVRMode={0}
    [SceLncService] hnm,psnf,pc,tk,ns,pf,htm,at,ts,es,lf={1,0,0,0,0,1,0,0,0,0,0} appBootMode={2} appBootSubMode={0}
    [SceLncService] appType={SCE_LNC_APP_TYPE_BIG_APP} [] appVer={} contentVersion={01.000.000} appCategoryType={0x00000000}
    [SceLncService] Waiting for LoginMgr
    [SceLncService] Num. of logged-in users is 1
    [SceLncService] BigApp Launch Ready: Waiting
    [SceLncService] BigApp Launch Ready: OK
    [SceLncService] PrepareProcessLaunchDebuggerCheck()
    [SceLncService] PrepareProcessLaunchDebuggerCheck() returned
    [SceLncService] EnsureBigAppBudget()
    [SceLncService] EnsureBigAppBudget() returned
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(208) checkExistingApp: LNC_ISOK::0x80940010
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(536) launchApp: LNC_ISOK::0x80940010
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_mapfile.cpp(1801) finalize: LNC_RTRACE::0xffffffff
    [SceLncUtil] W:\Build\J03950016\vsh\common_lib\lnc_util\src\lnc_util_ipc_client.cpp(211) launchApp: LNC_ISOK::0x80940010
    [SceLncService] KillApp() appId={0x00008018} is requested from 0x00000007
    [SceLncService] KillApp() appId={0x00008018}, withSuspend={1}, forceKill={0} killReason={0}
    [SceLncService] suspendApp appId={0x00008018} before kill.
    [SceLncService] suspendApp() appId={0x00008018}, causeCode={0x00000006}
    [SceLncService] Start suspending GAME_A
    [SceLncService] sceApplicationSuspend(0x00008018)
    [Syscore App] Suspend App : 0x8018 GAME_A
    [Syscore App] Suspend process : 0x78
    [Syscore App] Suspend process : 0x78 => 0
    [AppMgr Trace]: AppId=0x8018 suspended
    [Syscore App] Suspend App : 0x8018 GAME_A => SCE_OK
    [SceLncService] sceApplicationSuspend(0x00008018) returned
    [SceLncService] Completed suspending GAME_A (364 msec)
    [SceLncService] BlockingKill() appId={0x00008018}, titleId={GAME_A}, is_coredumpFinished={0}, forceKill={0}
    [SceLncService] convertToSysCoreKillReason: {0x00000000}->{0x00000000}
    [Syscore App] Kill App : 0x8018 GAME_A
    [Syscore App] Kill process: 0x78
    [Syscore App] EVFILT_PROC NOTE_EXIT received : pid=0x78
    [Syscore App] Kill process: 0x78 => 0
    [Syscore App] process delete event : pid=0x78
    [AppMgr Trace]: pid=0x78, deleted.
    [AppMgr Trace]: AppId=0x8018  deleted
    [Syscore App] Kill App : 0xffffffff  => 0
    [Syscore App] blockingKill(0x00008018, 0) complete
    [SceLncService] start unmountAllForShellCoreInternal()
    [SceLncService] end unmountAllForShellCoreInternal()
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_manager.cpp(2508) getAppTitleId: LNC_ISOK::0x80940004
    [SceLncService] Cleaning /av_contents/content_tmp
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_mapfile.cpp(1801) finalize: LNC_RTRACE::0xffffffff
    [SceLncService] dumpCapturedAppInfo()
    [SceLncService] ProcessTerm()
    [sceProcessStarter] ProcessTerm() big/mini app title_id = [GAME_A] root_dir = [****/sandbox/GAME_A_000]
    [sceProcessStarter] UnMountDownloadData() mount_path = [************/download/GAME_A] dl_num = [0]
    [PlayGoCore][PlayGoService][End] begin (GAME_A)
    [PlayGoCore][PlayGoService][End] end (GAME_A, 0x00000000)
    [SceLncService] ProcessTerm() returned
    [SceLncService] EndAppMount(0x00008018)
    [KERNEL] INFO: end_app_mount 00008018
    [KERNEL] INFO: deleting bigapp: category 0x00000000, container 1
    [KERNEL] WARNING: force unmount. fstypename=[exfatfs] mntonname=[/mnt/shadowmnt/B_<hash>]
    [KERNEL] INFO: budget_appid_clear(8018, 4)=3
    [SceLncService] EndAppMount(0x00008018) returned (23 msec)
    [SceLncService] convertToSysCoreKillReason: {0x00000000}->{0x00000000}
    [SceLncService] onAppExit() appId={0x00008018}
    [SceLncService] this app is already exited. appId={0x00008018}
    [SceLncService] launchApp(APP_B)
    [SceLncService] category={gd} appCategoryType={0x00000000} isVRMode={0}
    [SceLncService] hnm,psnf,pc,tk,ns,pf,htm,at,ts,es,lf={1,0,0,0,0,1,0,0,0,0,0} appBootMode={2} appBootSubMode={0}
    [SceLncService] appType={SCE_LNC_APP_TYPE_BIG_APP} [] appVer={} contentVersion={01.000.000} appCategoryType={0x00000000}
    [SceLncService] Waiting for LoginMgr
    [SceLncService] Num. of logged-in users is 1
    [SceLncService] BigApp Launch Ready: Waiting
    [SceLncService] BigApp Launch Ready: OK
    [SceLncService] PrepareProcessLaunchDebuggerCheck()
    [SceLncService] PrepareProcessLaunchDebuggerCheck() returned
    [SceLncService] EnsureBigAppBudget()
    [SceLncService] EnsureBigAppBudget() returned
    [SceLncService] sceApplicationSave() categoryType={0x00000000}, debuggerRequestId={0xffffffff}
    [Syscore App] No App needs to save. BigApp does not exist on the memory.
    [SceLncService] BeginAppMount()
    [KERNEL] INFO: begin_app_mount 00000000
    [KERNEL] INFO: launch bigapp: category 0x00000000, container 1
    wt_application_launch_callback:new target appid=0xa018
    [SceLncService] is_pkgstep={0}
    [SceLncService] PrepareProcessLaunchDebugger()
    [PlayGoCore][PlayGoService][Start] begin (APP_B)
    [PlayGoCore][PlayGoService][Start] end (APP_B, 0x00000000)
    [sceProcessStarter] MountDownloadData() title_id = [APP_B] data_path = [**************/APP_B/download0.dat] mount_path = [************/download/APP_B] budget = [game]
    [SceLncService] PrepareProcessLaunchDebugger() returned
    [SceLncService] sandboxType={0x00000002}
    [SceLncService] W:\Build\J03950016\vsh\shell\shell_core\lnc_service\lnc_application.cpp(655) initializeMountRoot: LNC_RTRACE::0x80020011
    [SceLncService] spawnApp
    [Syscore App] createApp APP_B
    [Syscore App] processSpawn(pid, 0xa018, 0x1a0181f0, appParam, processParam, 1, 1, 1, param, debug, 0)
    [Syscore App] appParam: appType = 0, titleId = APP_B
    [Syscore App] new pid=0x79[Syscore App] attributeExe= 0
    [AvControl] VideoOut: shared (pid=0x79 appId=0xa018)
    [AvControl] video owner is switched to registered app(appId=0xa018) 
    [Syscore App] Ready to exec
    [Syscore App] wait for NOTE_EXIT|NOTE_EXEC
    [SceShellCore] Main thread has frozen in sceApplicationSignalShellCoreHeartBeat() for 2 seconds
    [SceShellCore] Main thread has frozen in sceApplicationSignalShellCoreHeartBeat() for 3 seconds
    
    SMP debug.log, end of the session that crashed
    [18:12:57]   [GAME] started: GAME_A pid=120 app_id=0x00008018
    [18:12:57]   [MDBG] log monitor ready: GAME_A buffer_size=0x20018
    [18:12:57]   [MDBG] monitoring game errors: GAME_A pid=120 for up to 60 seconds
    ...
    [18:17:37]   [MANUAL] scanned 4 manual source(s)
    [18:17:53]   [MANUAL] scanned 4 manual source(s)
    

    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?

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