Skip to content

[BUG] Forwarders can't start their target: the launch is refused with Device busy right after the forwarder starts (0x80940033) #196

Open

Description

@EnriqueWood

Version: ShadowMount+ v1.7beta11 (build 2026-10-29T21:22:24Z), PS5 Pro, firmware 10.20, kstuff-lite 1.11, elfldr.

What happens

Forwarders made with Forwarder Manager never start their emulator here. A forwarder is a small app (applicationCategoryType 0). When it starts, it asks its launcher (a payload started through elfldr) to call sceSystemServiceLaunchApp(<emulator>). Both calls get 0x80940033, and at the same second ShadowMount+ logs launch mount unavailable ... status=16 (Device busy).

This run was from the home screen, with nothing else open, and the previous game fully released ("unmount complete" a few seconds earlier). PPSA99474 is the forwarder, in /data/homebrew; PPSA99008 is ProsperoEden, a folder app in /mnt/ext1/homebrew:

[18:14:51]   [LINK] nullfs mounted: /data/homebrew/PPSA99474 -> /system_ex/app/PPSA99474
[18:14:51]   [SHELLCORE] launch mount ready: PPSA99474
[18:14:51]   [SHELLCORE] sandbox ready handled: PPSA99474
[18:14:51]   [GAME] started: PPSA99474 pid=253 app_id=0x0000C018
[18:14:51]   [SHELLCORE] launch mount unavailable: PPSA99008 status=16 (Device busy)
[18:14:52]   [SHELLCORE] launch mount unavailable: PPSA99008 status=16 (Device busy)
[18:14:52]   [MDBG] game error: PPSA99474 pid=253: signal: 12 (SIGSYS)

The forwarder's launcher log for the same attempt:

sceSystemServiceLaunchApp(PPSA99008) structsize=0 rc=0x80940033
sceSystemServiceLaunchApp(PPSA99008) structsize=32 rc=0x80940033

It's the same for every target I tried: ProsperoEden (PPSA99008), its ProsperoStore mirror (PPSA99016), and another forwarder in /data/homebrew. The emulator starts fine from the home screen.

What does work

A switch started from the home screen is accepted. Opening Forwarder Manager over a running ProsperoEden logs:

[17:50:51]   [SHELLCORE] game switch prepared: outgoing=PPSA99008 incoming=PPSA99930

On 2026-10-31, launching PPSA99008 from ps5upload's payload while another homebrew app was in front also worked (0x80940010, then it started). What I see refused is the forwarder's request, made less than a second after [GAME] started for the forwarder.

Where I think it comes from

handle_launch_request → mount_managed_title_runtime → claim_prepared_title in src/sm_shellcore_service.c. The forwarder is the prepared owner at that point, and its app ID is already bound (sm_shellcore_service_bind_prepared_app runs before [GAME] started is logged). No game switch prepared line appears, so the claim seems to return EBUSY before it gets that far. I haven't been able to tell which check it is, though: none of the ones I can see obviously applies.

Expected

A launch requested while a managed title runs (a forwarder, a launcher, a "play" button in a frontend) gets the same game switch as a launch from the home screen.

I'm happy to run a debug build or add logging on this console.

Full debug.log excerpt for that attempt
[18:14:51]   [LINK] nullfs mounted: /data/homebrew/PPSA99474 -> /system_ex/app/PPSA99474
[18:14:51]   [SHELLCORE] launch mount ready: PPSA99474
[18:14:51]   [FAKELIB] directory mounted for PPSA99474: /data -> /mnt/sandbox/PPSA99474_000/data
[18:14:51]   [FAKELIB] directory mounted for PPSA99474: /mnt/usb0 -> /mnt/sandbox/PPSA99474_000/mnt/usb0
[18:14:51]   [FAKELIB] directory mounted for PPSA99474: /mnt/usb1 -> /mnt/sandbox/PPSA99474_000/mnt/usb1
[18:14:51]   [FAKELIB] directory mounted for PPSA99474: /mnt/ext1 -> /mnt/sandbox/PPSA99474_000/mnt/ext1
[18:14:51]   [FAKELIB] directory mounted for PPSA99474: /preinst/common/font -> /mnt/sandbox/PPSA99474_000/preinst/common/font
[18:14:51]   [SHELLCORE] sandbox ready handled: PPSA99474
[18:14:51]   [SHELLFLAG] SceLncUtilSystemStatus poll rc=0x80020010
[18:14:51]   [GAME] started: PPSA99474 pid=253 app_id=0x0000C018
[18:14:51]   [MDBG] log monitor ready: PPSA99474 buffer_size=0x20018
[18:14:51]   [MDBG] monitoring game errors: PPSA99474 pid=253 for up to 60 seconds
[18:14:51]   [SHELLFLAG] SceShellCoreUtilAppFocus value=0x000000000000C018 delta=0x000000000000E01F low32=0x0000C018 high32=0x00000000 decoded=APP_ID=0x0000C018
[18:14:51]   [SHELLCORE] launch mount unavailable: PPSA99008 status=16 (Device busy)
[18:14:52]   [SHELLFLAG] SceShellCoreUtilAppFocus value=0x0000000000002007 delta=0x000000000000E01F low32=0x00002007 high32=0x00000000 decoded=APP_ID=0x00002007
[18:14:52]   [SHELLCORE] launch mount unavailable: PPSA99008 status=16 (Device busy)
[18:14:52]   [SHELLFLAG] SceLncUtilSystemStatus value=0x0000000000000002 delta=0x0000000000000000 low32=0x00000002 high32=0x00000000 decoded=SHELLUI_FG_GAME_BG_CPU_MODE
[18:14:52]   [MDBG] game error: PPSA99474 pid=253: signal: 12 (SIGSYS)
thread name: eboot.bin
RIP: 0x00000008000003ac
backtrace[0]: 0x000000000040081d
[18:14:52]   [FAKELIB] game stopped: pid=253 title=PPSA99474 layers=8
[18:14:52]   [FAKELIB] directory unmounted: /preinst/common/font -> /mnt/sandbox/PPSA99474_000/preinst/common/font
[18:14:52]   [FAKELIB] directory unmounted: /mnt/ext1 -> /mnt/sandbox/PPSA99474_000/mnt/ext1
[18:14:52]   [FAKELIB] directory unmounted: /mnt/usb1 -> /mnt/sandbox/PPSA99474_000/mnt/usb1
[18:14:52]   [FAKELIB] directory unmounted: /mnt/usb0 -> /mnt/sandbox/PPSA99474_000/mnt/usb0
[18:14:52]   [FAKELIB] directory unmounted: /data -> /mnt/sandbox/PPSA99474_000/data
[18:14:52]   [GAME] process exited, awaiting same-app handoff: PPSA99474 pid=253 app_id=0x0000C018
[18:14:53]   [GAME] finalizing stopped application: PPSA99474 pid=253
[18:14:53]   [SHELLCORE] runtime release awaiting sandbox removal: PPSA99474
[18:14:53]   [DB] snd0info normalized after game exit rows=0 title=PPSA99474
[18:14:53]   [SHELLCORE] runtime release start: PPSA99474
[18:14:53]   [LINK] runtime layers released: PPSA99474
[18:14:53]   [DB] loaded app.db title list: 73 entries
[18:14:53]   [DB] loaded blocked PPSA uninstall list: 0 entries

Activity

  1. casparev commented on Nov 3, 2026

    @casparev

    I have the exact same issue.

  2. bobrass commented on Nov 3, 2026

    @bobrass

    Thanks for confirming this happens with other emulators too; that makes it less likely to be specific to ProsperoEden.

    A related Forwarder Manager report in #34 has the same 0x80940033 when its launcher calls sceSystemServiceLaunchApp, while launching the same target from PS5Upload’s payload works. Changing the target path and removing launch arguments did not change the result, so credentials are still only a hypothesis.

    One source detail from the ShadowMountPlus 1.7 branch may help interpret the paired logs: its shellcore service can return EBUSY (status 16) when a runtime prepare, external mutation, or same-title release is already in progress, or when the prepared-owner slot cannot be switched. That service status is a separate result from the forwarder’s sceSystemServiceLaunchApp return code 0x80940033; matching timestamps alone do not prove one caused the other.

    If you can, please add your PS5 model and firmware, the target title ID, whether that target launches from PS5Upload in the same session, and the launcher plus ShadowMount debug-log lines from one failed attempt. A trace of the prepared owner/app ID and whether preparation/release was in progress at the failed claim would help distinguish a launch-permission issue from a registration or mount-timing conflict. I have not run this on a console.

  3. EnriqueWood commented on Nov 10, 2026

    @EnriqueWood
    Author

    Retested on 1.7beta12 (PS5 Pro, 10.20) with the Mario Kart forwarder (PPSA99474) and ProsperoEden (PPSA99008), console otherwise idle. This first showed up in normal use (forwarders made with Forwarder Manager never started their emulator); I then reproduced it on purpose to narrow it down. On beta12 it depends on how soon the forwarder asks for its target:

    Run Launcher payload Request after the forwarder's [GAME] started Result
    1 started fresh by the forwarder about 6 s game switch prepared: outgoing=PPSA99474 incoming=PPSA99008; ProsperoEden starts (0x80940010)
    2 still running from run 1 under 1 s launch mount unavailable: PPSA99008 status=16 (Device busy) twice; the launcher gets 0x80940033; the forwarder exits with SIGSYS
    3 still running under 1 s same as run 2
    4 ended before the run, so fresh again about 6 s ProsperoEden starts

    The same happens when the forwarder is opened from the home screen. The first open with a fresh launcher started ProsperoEden. The next four opens, with the launcher still running, were all refused with Device busy, both after closing ProsperoEden and with it still open.

    So the launch requested within a second of the requesting title's [GAME] started is refused, and the same request about 6 s later goes through. On beta11 (2026-11-01, the log in the first post) the launcher's first request after a fresh start was also refused, in the same second as [GAME] started, so I can't tell whether beta12 changed this or the launcher just took longer to start today.

    SMP log, run 1 (works) and run 2 (refused)
    [03:21:06]   [GAME] started: PPSA99474 pid=301 app_id=0x0000001A
    [03:21:12]   [SHELLCORE] game switch prepared: outgoing=PPSA99474 incoming=PPSA99008
    [03:21:12]   [SHELLCORE] launch retry prepared during game switch: PPSA99008
    [03:21:13]   [GAME] started: PPSA99008 pid=303 app_id=0x0000201A
    [03:21:13]   [SHELLCORE] runtime release start: PPSA99474
    
    [03:21:55]   [GAME] started: PPSA99474 pid=304 app_id=0x0000401A
    [03:21:56]   [SHELLCORE] launch mount unavailable: PPSA99008 status=16 (Device busy)
    [03:21:56]   [SHELLCORE] launch mount unavailable: PPSA99008 status=16 (Device busy)
    [03:21:56]   [MDBG] game error: PPSA99474 pid=304: signal: 12 (SIGSYS)
    [03:21:57]   [SHELLCORE] runtime release start: PPSA99474
    
  4. pristmc-code commented on Nov 13, 2026

    @pristmc-code

    Another data point for the timing side of this (related to #216: same function, different EBUSY branch). Below I keep what we observed apart from what I read in the code. I haven't reproduced the #216 scenario (an app kept alive in outgoing) myself.

    What we observed (PS5 Pro, 12.00, ShadowMount+ 1.7beta11, 2026-11-07)

    Our homebrew app is an .exfat image registered by ShadowMount+. To update it, a small payload waits for the app to exit, replaces the image file, waits until POST /api/v1/games/info reports the title as installed, source_available and mounted: false, and then calls sceLncUtilLaunchApp for the same title ID.

    • games/info reported that state right away (first poll).
    • sceLncUtilLaunchApp was refused with 0x80940033 at about 4 s and 7 s after the image was replaced. The third attempt, at about 14 s, opened the app.
    • When we changed the payload to make its first attempt only about 15 s after the swap (retries 5/10/20 s later), the next update opened the app with no error.

    We did not capture the ShadowMount+ debug.log for those attempts, so I can't show the launch mount unavailable ... status=16 line. The link to EBUSY below comes from the code and from the logs in #196 and #216, where 0x80940033 and Device busy come up in the same second.

    What the code suggests (branch 1.7 at 8b1f48e, not tested)

    claim_prepared_title() (src/sm_shellcore_service.c:104-176) returns EBUSY in these cases:

    1. lines 113-118: a prepare is in progress, an external mutation is in progress, or releasing_title_id is the requested title;
    2. lines 120-123: the requested title is in outgoing and its process has already exited (game_exited);
    3. lines 141-146: a switch to another title is requested while outgoing is still taken (the [BUG] An app that keeps running beside games stays in outgoing, and every game-to-game switch then fails "Device busy" until the app is closed #216 case);
    4. lines 157-159: the requested title is in prepared and its process has already exited.

    Relaunching the same title right after it exits falls into (1) or (4): the owner keeps game_exited = true until the release runs, and sm_shellcore_service_release_exited_titles() waits up to GAME_EXIT_SANDBOX_LINGER_US (10 s, include/sm_limits.h:38) for the sandbox folder to go away. During the release itself releasing_title_id is set. A scan that picks up the replaced image would hold external_mutation_in_progress. That would match "refused at 4 s and 7 s, accepted at 14 s" in our case, and the "refused under 1 s, accepted at about 6 s" table in #196, but I haven't confirmed which branch fired.

    games/info doesn't expose any of this state (prepared/outgoing owners, game_exited, releasing_title_id, external_mutation_in_progress), so a client polling it can't tell when a launch will be accepted. That's why we ended up with a fixed delay.

    Suggestions

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