Game: Crash entering Zora's Domain with Kaepora randomizer #3128

Open
opened 2026-12-03 22:09:21 +00:00 by BeanBot · 6 comments
Member

Reported on Discord

Longshot version and channel

The reporter initially recalled nightly-1020-193719e7, then clarified they had updated often and it may have been nightly-988. A subsequent reproduction was on Longshot nightly-1047-76092c5e; the reporter says the crash still happens with the same error and otherwise unchanged conditions.

What happened and steps

With the Kaepora randomizer installed and a randomized save, entering Zora's Domain crashes during the loading screen before the area appears. The reporter says it happens every attempt, whether entering from Zora's River or Lake Hylia. Their vanilla playthrough completed without crashes. They had completed Dodongo's Cavern but had not entered Deku Tree on the randomized save; they wonder whether game flags might be involved. Expected behavior is to load Zora's Domain normally.

The initial attached launch log was from nightly-988-1938a302 and records Kaepora active; it ends in an access violation on thread GeneralFormatAsync_: exception 0xc0000005 (write 0x100000000010, guest 0x10) at longshot.exe+0xc873ba9. A later launch log from nightly-1047-76092c5e shows a crash record created at 2026-12-03T222506Z; the reporter says it is the same error. The later log also reports the Kaepora folder as an emulator-layout mod not imported, stating it is no longer loaded/built until imported with Longshot.exe mod import <folder>. It also warns that HOS_MODS is no longer a switch. This may matter in reproducing the report; it does not establish the crash cause.

The reporter now clarifies that despite the log warning, gameplay still visibly has retextured items and Link, and item locations remain randomized. In the launcher, the mod appears “on” and there is no import button (unlike the first installation). This conflicts with the log's statement that mods/Kaepora is not in the active profile; confirm what mod/content is actually loaded in this run and how the launcher/profile represents it.

Where in the game

Loading into Zora's Domain, from Zora's River or Lake Hylia.

How often

Every attempt, according to the reporter.

Graphics card and driver version

NVIDIA GeForce GTX 1070 Ti; driver 582.28.

CPU, RAM and operating system

AMD Ryzen 5 5500, 32 GB DDR4, Windows 10. Game files are on HDDs; no SSD.

Logs

Two Discord last-launch.log files were supplied: the first from nightly-988, and the later one from nightly-1047. The standalone longshot_log.txt from nightly-1047 was also supplied. Its crash is exception 0xc0000005 (write 0x100000000010, guest 0x10) at longshot-game.exe+0xc901019 on GeneralFormatAsync_. The log warns mods: local/kaepora: its folder mods/Kaepora is not in the profile; it also reports OBS and TikTok Live Studio Vulkan layers active. The reporter says the randomizer's visible effects remain present despite the warning.

Still needed

Randomizer seed/options and exact steps immediately before each attempt are unknown. Clarify how the randomized content/mod is installed and whether Kaepora is actually loaded in the nightly-1047 run despite the log warning; if possible provide a Bug report/log from a reproduction with the mod correctly imported/enabled and confirm whether the crash persists.

Reported on [Discord](https://discord.com/channels/1569849200047427645/1578167954162323517/1578167954162323517) ### Longshot version and channel The reporter initially recalled nightly-1020-193719e7, then clarified they had updated often and it may have been nightly-988. A subsequent reproduction was on Longshot nightly-1047-76092c5e; the reporter says the crash still happens with the same error and otherwise unchanged conditions. ### What happened and steps With the Kaepora randomizer installed and a randomized save, entering Zora's Domain crashes during the loading screen before the area appears. The reporter says it happens every attempt, whether entering from Zora's River or Lake Hylia. Their vanilla playthrough completed without crashes. They had completed Dodongo's Cavern but had not entered Deku Tree on the randomized save; they wonder whether game flags might be involved. Expected behavior is to load Zora's Domain normally. The initial attached launch log was from nightly-988-1938a302 and records Kaepora active; it ends in an access violation on thread `GeneralFormatAsync_`: `exception 0xc0000005 (write 0x100000000010, guest 0x10) at longshot.exe+0xc873ba9`. A later launch log from nightly-1047-76092c5e shows a crash record created at `2026-12-03T222506Z`; the reporter says it is the same error. The later log also reports the Kaepora folder as an emulator-layout mod not imported, stating it is no longer loaded/built until imported with `Longshot.exe mod import <folder>`. It also warns that `HOS_MODS` is no longer a switch. This may matter in reproducing the report; it does not establish the crash cause. The reporter now clarifies that despite the log warning, gameplay still visibly has retextured items and Link, and item locations remain randomized. In the launcher, the mod appears “on” and there is no import button (unlike the first installation). This conflicts with the log's statement that `mods/Kaepora` is not in the active profile; confirm what mod/content is actually loaded in this run and how the launcher/profile represents it. ### Where in the game Loading into Zora's Domain, from Zora's River or Lake Hylia. ### How often Every attempt, according to the reporter. ### Graphics card and driver version NVIDIA GeForce GTX 1070 Ti; driver 582.28. ### CPU, RAM and operating system AMD Ryzen 5 5500, 32 GB DDR4, Windows 10. Game files are on HDDs; no SSD. ### Logs Two Discord `last-launch.log` files were supplied: the first from nightly-988, and the later one from nightly-1047. The standalone `longshot_log.txt` from nightly-1047 was also supplied. Its crash is `exception 0xc0000005 (write 0x100000000010, guest 0x10) at longshot-game.exe+0xc901019` on `GeneralFormatAsync_`. The log warns `mods: local/kaepora: its folder mods/Kaepora is not in the profile`; it also reports OBS and TikTok Live Studio Vulkan layers active. The reporter says the randomizer's visible effects remain present despite the warning. ### Still needed Randomizer seed/options and exact steps immediately before each attempt are unknown. Clarify how the randomized content/mod is installed and whether Kaepora is actually loaded in the nightly-1047 run despite the log warning; if possible provide a Bug report/log from a reproduction with the mod correctly imported/enabled and confirm whether the crash persists.
Author
Member

Files from the Discord report:

Files from the Discord report: - [last-launch.log](https://git.magicbean.dev/attachments/ce136c35-dcf6-4ec6-bba6-239b66eaf73a)
Author
Member

From Discord:

The reporter says they will build the current nightly and retry entering Zora's Domain; they have not yet reported the result or supplied another crash log. No new reproduction data yet.

From [Discord](https://discord.com/channels/1569849200047427645/1578167954162323517/1578167954162323517): The reporter says they will build the current nightly and retry entering Zora's Domain; they have not yet reported the result or supplied another crash log. No new reproduction data yet.
Author
Member

Updated with more from Discord: Added the nightly-1047 reproduction and log findings, including the path to the game log and warning that Kaepora may not have been imported/loaded.

Files:

Updated with more from [Discord](https://discord.com/channels/1569849200047427645/1578167954162323517/1578179149904744579): Added the nightly-1047 reproduction and log findings, including the path to the game log and warning that Kaepora may not have been imported/loaded. Files: - [last-launch.log](https://git.magicbean.dev/attachments/24b4d349-cd0e-4cd6-ab0a-a211e0d909e9)
Author
Member

From Discord:

Additional reproduction log attached from Discord (message 1578179902144778332), standalone longshot_log.txt, nightly-1047-76092c5e. It confirms the Zora's Domain loading crash: exception 0xc0000005 (write 0x100000000010, guest 0x10) at longshot-game.exe+0xc901019 on GeneralFormatAsync_. The log explicitly warns mods: local/kaepora: its folder mods/Kaepora is not in the profile; therefore this reproduction did not have Kaepora loaded. It also reports OBS and TikTok Live Studio Vulkan layers active. Please investigate/reproduce with Kaepora correctly imported; the exact randomizer seed/options remain unknown.

From [Discord](https://discord.com/channels/1569849200047427645/1578167954162323517/1578167954162323517): Additional reproduction log attached from Discord (message 1578179902144778332), standalone `longshot_log.txt`, nightly-1047-76092c5e. It confirms the Zora's Domain loading crash: `exception 0xc0000005 (write 0x100000000010, guest 0x10) at longshot-game.exe+0xc901019` on `GeneralFormatAsync_`. The log explicitly warns `mods: local/kaepora: its folder mods/Kaepora is not in the profile`; therefore this reproduction did not have Kaepora loaded. It also reports OBS and TikTok Live Studio Vulkan layers active. Please investigate/reproduce with Kaepora correctly imported; the exact randomizer seed/options remain unknown.
Author
Member

Updated with more from Discord: Added reporter clarification that randomized gameplay effects are present and launcher shows the mod on despite the log saying Kaepora is not in the active profile; updated the remaining questions to resolve this discrepancy.

Files:

Updated with more from [Discord](https://discord.com/channels/1569849200047427645/1578167954162323517/1578181197937381509): Added reporter clarification that randomized gameplay effects are present and launcher shows the mod on despite the log saying Kaepora is not in the active profile; updated the remaining questions to resolve this discrepancy. Files: - [last-launch.log](https://git.magicbean.dev/attachments/9fc71521-07ef-4052-b5f2-c59774a3a7f8) - [longshot_log.txt](https://git.magicbean.dev/attachments/47dc42c0-af10-4a8d-80c3-1b52275b2248)
Member

🤖 I read the attached nightly-1047 longshot_log.txt and the game code at the crash. Nothing was run or reproduced.

Kaepora was loaded in this run. An earlier comment says it wasn't. The log has local/01-Kaepora: 381 RomFS files, and the game reads its files all through the run. The warning names local/kaepora, a different entry whose folder is gone.

What happened (proven)

  • The player was loading into Zora's Domain. The last files the game took from the mod are Shop_Item_Longshot.pack.zs, Shop_TBox_Rupee_Purple.pack.zs and Npc_Zora_011_Shop_Child.pack.zs.
  • The game was reading a shop's item list. It asked a memory pool for 80 bytes, got nothing back, didn't check, and wrote to that empty address.

Likely cause (not proven)

  • For a file like this one, the pool is sized by the file's entry in the resource size table. A modded file that outgrows its entry runs out of room like this.
  • Longshot raises the entries of a mod's separate files, but not of files inside packs (game/crates/content/src/restbl.rs: "The members of packs ... are left out"). This file is probably inside a pack. The mod's own table was merged (181 entries), but the log doesn't show whether this file is in it.
  • #942 (work in progress, written for the older code) raises the entries of files inside packs.

Second suspect (undecided)

  • The mod's ExeFS patch is "not in the game yet", so its code patch did not run. This can matter for a mod that also changes game files. I haven't checked whether nightly-988 had the patch built in.

Less likely

  • Running out of memory is ruled out: the game had mapped 2,054 of 6,894 MB, and video memory was at 4.7 of 7.2 GB.
  • Nothing in the log points at the sandbox or at the OBS and TikTok layers.

What would settle it

  • Does Zora's Domain load without Kaepora, on a normal save in a separate profile? (Back up saves first. Don't play the randomized save with the mod off.)
  • Does it still crash after Longshot.exe mod import on the mod's folder, with the old folder moved out of mods and the game started once so the patch is built?
  • The Kaepora version and settings, and whether its size table covers the files inside its shop packs.
🤖 I read the attached nightly-1047 `longshot_log.txt` and the game code at the crash. Nothing was run or reproduced. **Kaepora was loaded in this run.** An earlier comment says it wasn't. The log has `local/01-Kaepora: 381 RomFS files`, and the game reads its files all through the run. The warning names `local/kaepora`, a different entry whose folder is gone. **What happened (proven)** - The player was loading into Zora's Domain. The last files the game took from the mod are `Shop_Item_Longshot.pack.zs`, `Shop_TBox_Rupee_Purple.pack.zs` and `Npc_Zora_011_Shop_Child.pack.zs`. - The game was reading a shop's item list. It asked a memory pool for 80 bytes, got nothing back, didn't check, and wrote to that empty address. **Likely cause (not proven)** - For a file like this one, the pool is sized by the file's entry in the resource size table. A modded file that outgrows its entry runs out of room like this. - Longshot raises the entries of a mod's separate files, but not of files inside packs (`game/crates/content/src/restbl.rs`: "The members of packs ... are left out"). This file is probably inside a pack. The mod's own table was merged (181 entries), but the log doesn't show whether this file is in it. - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/942 (work in progress, written for the older code) raises the entries of files inside packs. **Second suspect (undecided)** - The mod's ExeFS patch is "not in the game yet", so its code patch did not run. This can matter for a mod that also changes game files. I haven't checked whether nightly-988 had the patch built in. **Less likely** - Running out of memory is ruled out: the game had mapped 2,054 of 6,894 MB, and video memory was at 4.7 of 7.2 GB. - Nothing in the log points at the sandbox or at the OBS and TikTok layers. **What would settle it** - Does Zora's Domain load without Kaepora, on a normal save in a separate profile? (Back up saves first. Don't play the randomized save with the mod off.) - Does it still crash after `Longshot.exe mod import` on the mod's folder, with the old folder moved out of `mods` and the game started once so the patch is built? - The Kaepora version and settings, and whether its size table covers the files inside its shop packs.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#3128
No description provided.