Skip to content

[deleted]Β #1525

Closed
Closed

Description

@yoBoss283

Removed by author.

Activity

  1. added
    hostThe Horizon host: SVCs, services, threads, memory (dm/host)
    macThe Mac front end and app (dm/mac, front_mac.m)
    bugSomething isn't working
    on Nov 6, 2026
  2. lunks commented on Nov 6, 2026

    @lunks
    Contributor

    Thanks for the third run: "the moment I press any note button" is what places this.

    I read the crash site offline. main+0x336ee7c is a call through the import stub at main+0x3c42250; its relocation (GOT 0x4cbf2f0 in main.elf) is nn::audio::PurgeInputStream(InputStreamType*). The SDK function at sdk+0x1f7040 starts with ldr x1, [x0, #0x340], and x0 is the stream's Impl pointer, which is null because the host never opens a microphone stream (OpenInputStream is hooked to fail). Main hooks Start, Stop, Close and Read for input streams but not Purge, the state, the statistics, the counts or the gain, so a purge runs the SDK code on a null Impl. It is not the rumble, and it is not #1445.

    #1527 adds hooks for those calls (state closed, purge does nothing, statistics zero, counts 0, gain 1). It builds; it is not tested in game on main. The ocarina is what opens the microphone path (the first note starts it), so a run needs the ocarina played at a door, which I have not done on main with this change. If you can, a run of #1527 playing the first note at the Door of Time would settle it. A crash at the same pc=sdk+0x1f7050 would mean another stream call is still missing.

  3. seedds commented on Nov 6, 2026

    @seedds
    Owner

    The fix from #1527 is on main as 46404e8: the input stream calls that ran the SDK's code on a stream that never opened (the purge at the first note, and the statistics read each update) now answer from the host. When you rebuild, a run that plays the ocarina at the Door of Time would settle it. If it still crashes, please post the crash line and backtrace, or add a save file.

  4. seedds commented on Nov 11, 2026

    @seedds
    Owner

    Thanks for testing in game. The fix is on main as 46404e8; closing. Please reopen if a note at the Door of Time ends the run again on a build of main.

  5. changed the title [-]Ocarina of Time (0400486024DEC000 v131072, Mac): host crash sig=11 (sdk+0x1f7050, addr 0x340) when playing the ocarina at the closed Door of Time[/-] [+][deleted][/+] on Nov 11, 2026
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

    bugSomething isn't workinggame: 0400486024DEC000A gamehostThe Horizon host: SVCs, services, threads, memory (dm/host)macThe Mac front end and app (dm/mac, front_mac.m)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions