Install: Some errour occured #2296
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#2296
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What you used
Longshot Builder (Windows)
Version
3.1.1.
Channel
Release
Where it stopped
Building the game
The error
Operating system and free space on the output drive
Win 11
Visual Studio or Build Tools version, and Windows SDK version
No response
Log
Longshot Launcher v1.2.0 (portable), launcher channel stable, builds from stable
Microsoft Windows 10.0.26300, X64, .NET 10.0.15
network: git-cdn.magicbean.dev first, then git.magicbean.dev; proxy: none
what happened: the build stopped: build.py stopped (exit status 1): I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_029.c:64160:16: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
build: Build v3.1.1 (stable)
PC: 32 GB, 16 threads, NVIDIA GPU
settings: memory automatic, workers automatic (12, low priority), DLSS off, FSR 4 off, XeSS off
build log, its last 200 lines:
texture_fetch_swizzled.cpp 0 MB 0s (5s)
texture_gather.cpp 0 MB 0s (5s)
texture_gather_swizzled.cpp 0 MB 0s (5s)
texture_gradient.cpp 0 MB 0s (5s)
texture_load.cpp 0 MB 0s (5s)
texture_load_swizzled.cpp 0 MB 0s (5s)
texture_mipmap_level.cpp 0 MB 0s (5s)
texture_query.cpp 0 MB 0s (5s)
video_helper.cpp 0 MB 0s (5s)
video_minimum_maximum.cpp 0 MB 0s (5s)
video_multiply_add.cpp 0 MB 0s (5s)
video_set_predicate.cpp 0 MB 0s (5s)
vote.cpp 0 MB 0s (5s)
warp_shuffle.cpp 0 MB 0s (5s)
translate.cpp 0 MB 0s (5s)
translate_program.cpp 0 MB 0s (5s)
collect_shader_info_pass.cpp 0 MB 0s (5s)
conditional_barrier_pass.cpp 0 MB 0s (5s)
constant_propagation_pass.cpp 0 MB 0s (5s)
dead_code_elimination_pass.cpp 0 MB 0s (5s)
dual_vertex_pass.cpp 0 MB 0s (5s)
geometry_compaction_pass.cpp 0 MB 0s (5s)
global_memory_to_storage_buffer_pass.cpp 0 MB 0s (5s)
identity_removal_pass.cpp 0 MB 0s (5s)
layer_pass.cpp 0 MB 0s (5s)
lower_fp16_to_fp32.cpp 0 MB 0s (5s)
lower_fp64_to_fp32.cpp 0 MB 0s (5s)
lower_int64_to_int32.cpp 0 MB 0s (5s)
position_pass.cpp 0 MB 0s (5s)
rescaling_pass.cpp 0 MB 0s (5s)
ssa_rewrite_pass.cpp 0 MB 0s (5s)
texture_pass.cpp 0 MB 0s (5s)
vendor_workaround_pass.cpp 0 MB 0s (5s)
verification_pass.cpp 0 MB 0s (5s)
slow_frames.c 0 MB 0s (5s)
rx_backend.c 0 MB 0s (5s)
texts.c 0 MB 0s (5s)
zs.c 0 MB 0s (5s)
prompts.c 0 MB 1s (6s)
decoders.cpp 0 MB 1s (6s)
bindings.cpp 0 MB 1s (6s)
fsr4_models.cpp 0 MB 1s (6s)
astc.cpp 0 MB 1s (6s)
bug_report.cpp 0 MB 1s (7s)
camera.cpp 0 MB 1s (7s)
colour_vision.cpp 0 MB 1s (7s)
audio.cpp 0 MB 1s (7s)
controller.cpp 0 MB 1s (7s)
controller_speaker.cpp 0 MB 1s (8s)
crt.cpp 0 MB 1s (8s)
debug_tools.cpp 0 MB 1s (8s)
discord.cpp 0 MB 1s (8s)
detail.cpp 0 MB 1s (8s)
fps_counter.cpp 0 MB 1s (8s)
display.cpp 0 MB 1s (8s)
framegen.cpp 0 MB 1s (9s)
gameplay.cpp 0 MB 1s (9s)
hdr.cpp 0 MB 1s (9s)
gpu.cpp 0 MB 1s (9s)
intel.cpp 0 MB 1s (9s)
input_recording.cpp 0 MB 1s (9s)
language.cpp 0 MB 1s (9s)
laptop.cpp 0 MB 1s (9s)
menu_settings.cpp 0 MB 1s (10s)
motion.cpp 0 MB 1s (10s)
nfc.cpp 0 MB 1s (10s)
replay_cache.cpp 0 MB 1s (10s)
preset.cpp 0 MB 1s (10s)
reshade.cpp 0 MB 1s (10s)
pipeline_list.cpp 0 MB 2s (11s)
output.cpp 0 MB 2s (11s)
session.cpp 0 MB 1s (11s)
sprint.cpp 0 MB 1s (11s)
threads.cpp 0 MB 1s (11s)
perf_os_posix.cpp 0 MB 0s (11s)
volume.cpp 0 MB 1s (11s)
upscaler.cpp 0 MB 1s (11s)
annotation.cpp 0 MB 0s (11s)
arithmetic.cpp 0 MB 0s (11s)
atomic.cpp 0 MB 0s (11s)
barrier.cpp 0 MB 0s (11s)
bit.cpp 0 MB 0s (11s)
constant.cpp 0 MB 0s (11s)
conversion.cpp 0 MB 0s (11s)
debug.cpp 0 MB 0s (11s)
derivatives.cpp 0 MB 0s (11s)
extension.cpp 0 MB 0s (11s)
flow.cpp 0 MB 0s (11s)
function.cpp 0 MB 0s (11s)
group.cpp 0 MB 0s (11s)
image.cpp 0 MB 0s (11s)
logical.cpp 0 MB 0s (11s)
memory.cpp 0 MB 0s (11s)
misc.cpp 0 MB 0s (11s)
type.cpp 0 MB 0s (11s)
sirit.cpp 0 MB 0s (11s)
stream.cpp 0 MB 0s (11s)
walk.cpp 0 MB 1s (12s)
sim_turf.cpp 0 MB 2s (12s)
widescreen.cpp 0 MB 1s (12s)
perf_os_win.cpp 0 MB 1s (12s)
upscale_route.cpp 0 MB 1s (12s)
perf_curl.cpp 0 MB 1s (12s)
vk_antilag.cpp 0 MB 1s (13s)
vk_builtin_spv.cpp 0 MB 1s (13s)
menu_model.cpp 0 MB 2s (13s)
vk_bank.cpp 0 MB 1s (13s)
vk_bug_report.cpp 0 MB 2s (14s)
vk_coopmat.cpp 0 MB 2s (14s)
vk_crash_window.cpp 0 MB 1s (14s)
vk_colour_vision.cpp 0 MB 2s (14s)
perf_report.cpp 0 MB 3s (14s)
vk_dlss.cpp 0 MB 2s (14s)
vk_formats.cpp 0 MB 1s (15s)
vk_fps.cpp 0 MB 1s (15s)
vk_dump.cpp 0 MB 2s (15s)
vk_fsr3_inputs.cpp 0 MB 2s (16s)
vk_hangdump.cpp 0 MB 0s (16s)
vk_fsr3.cpp 0 MB 2s (16s)
vk_fsr4.cpp 0 MB 1s (16s)
vk_framegen.cpp 0 MB 2s (16s)
vk_gpu_clock.cpp 0 MB 1s (16s)
vk_fsr3fi.cpp 0 MB 2s (17s)
vk_gprof.cpp 0 MB 2s (17s)
vk_jobs.cpp 0 MB 1s (18s)
vk_menu_i18n.cpp 0 MB 2s (18s)
vk_imgui.cpp 0 MB 2s (18s)
vk_main.cpp 0 MB 3s (19s)
vk_predict.cpp 0 MB 2s (19s)
vk_reactive.cpp 0 MB 2s (20s)
vk_reflex.cpp 0 MB 2s (20s)
vk_menu.cpp 0 MB 5s (21s)
vk_programs.cpp 0 MB 3s (22s)
vk_version.cpp 0 MB 0s (22s)
vk_progcache.cpp 0 MB 4s (22s)
vk_temporal.cpp 0 MB 3s (24s)
vk_xess.cpp 0 MB 2s (24s)
effect_codegen_spirv.cpp 0 MB 0s (24s)
effect_expression.cpp 0 MB 0s (24s)
effect_lexer.cpp 0 MB 0s (24s)
effect_parser_exp.cpp 0 MB 0s (24s)
effect_parser_stmt.cpp 0 MB 0s (24s)
reshade_preprocessor.cpp 0 MB 0s (24s)
effect_symbol_table.cpp 0 MB 0s (24s)
fx_compile.cpp 0 MB 0s (24s)
fx_files.cpp 0 MB 0s (24s)
fx_pipeline_cache.cpp 0 MB 0s (24s)
fx_preset.cpp 0 MB 0s (24s)
fx_runtime.cpp 0 MB 0s (24s)
fx_texture.cpp 0 MB 0s (24s)
zstd.c 2 MB 0s (24s)
vk_vma.cpp 0 MB 3s (25s)
vk_xfer.cpp 0 MB 2s (25s)
vk_replay.cpp 0 MB 7s (26s)
vk_draw.cpp 0 MB 14s (27s)
vk_memory.cpp 0 MB 12s (28s)
vk_shader.cpp 0 MB 8s (28s)
vk_texture.cpp 0 MB 8s (29s)
code_028.c 24 MB 31s (33s)
code_002.c 24 MB 35s (36s)
code_hot_3.c 5 MB 44s (44s)
code_hot_2.c 14 MB 54s (54s)
FAILED code_051.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_051.c:6654:45: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_048.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_048.c:231896:7: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_045.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_045.c:37647:92: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_052.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_052.c:14693:862: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_008.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_008.c:3191:110: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_000.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_000.c:5017:27: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_005.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_005.c:36397:2: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_026.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_026.c:278198:33: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_014.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_014.c:4312:54: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_046.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_046.c:21695:52: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_012.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_012.c:129013:61: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_011.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_011.c:204184:55: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_034.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_034.c:179580:34: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_021.c (17 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_021.c:109016:106: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_030.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_030.c:381105:113: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_013_2.c (13 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_013_2.c:70415:28: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
FAILED code_029.c (24 MB, 0s, alone too):
I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_029.c:64160:16: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
compiled in 55s, 17 failed
compiler time (summed across parallel jobs): host and game 195.7s, renderer 166.7s
error: build.py stopped (exit status 1): I:\Games\The Legend of Zelda\LongshotLauncher-data\work\sa\gen\code_029.c:64160:16: error: this file has a zero byte, which the build never writes: the drive or the PC's memory changed it after it was written. Build again: the file is made again. If this keeps happening, check the drive for errors and test the memory
the build failed before the link: the next one translates the game again, and compiles only the files not compiled yet
launcher log, its last 19 lines:
23:02:57.806 DNS git-cdn.magicbean.dev: 104.21.55.71, 172.67.170.160 (6 ms)
23:02:57.847 connect git-cdn.magicbean.dev 104.21.55.71:443: connected in 37 ms
23:02:58.066 GET https://git-cdn.magicbean.dev/api/v1/repos/MagicBeanDev/Longshot/releases?…: HTTP 200, 291 ms
23:02:58.131 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.1.1/SHA256SUMS: HTTP 200, 53 ms
23:02:58.132 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.1.1/SHA256SUMS: 280 bytes in 0 ms
23:02:58.177 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.1.1/SHA256SUMS.sig: HTTP 200, 44 ms
23:02:58.178 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.1.1/SHA256SUMS.sig: 97 bytes in 0 ms
23:02:58.230 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-755-753fb5af/SHA256SUMS: HTTP 200, 45 ms
23:02:58.230 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-755-753fb5af/SHA256SUMS: 308 bytes in 0 ms
23:02:58.282 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-755-753fb5af/SHA256SUMS.sig: HTTP 200, 51 ms
23:02:58.282 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-755-753fb5af/SHA256SUMS.sig: 97 bytes in 0 ms
23:02:58.343 GET https://git-cdn.magicbean.dev/api/v1/repos/MagicBeanDev/LongshotLauncher/releases?…: HTTP 200, 58 ms
23:02:58.393 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/v1.2.0/SHA256SUMS: HTTP 200, 49 ms
23:02:58.393 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/v1.2.0/SHA256SUMS: 333 bytes in 0 ms
23:02:58.439 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/v1.2.0/SHA256SUMS.sig: HTTP 200, 45 ms
23:02:58.439 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/v1.2.0/SHA256SUMS.sig: 97 bytes in 0 ms
23:02:58.459 update check: answered
23:03:06.692 vulkan: estimated Auto GPU: NVIDIA GeForce RTX 5080; listed: NVIDIA GeForce RTX 5080 (NVIDIA, discrete)
23:03:08.343 game file check, The Legend of Zelda Ocarina of Time [0400486024DEC000][v131072].nup: Supported: This is the version Longshot supports (build e0f3ccfa).
launcher log file: I:\Games\The Legend of Zelda\LongshotLauncher-data\logs\launcher.log (beside it: the run before, launcher.1.log, and a shortcut's Play, play.log)
Before you send it
Possibly related, for context:
Claimed: the build's part of this, on Linux, without the game: lifted files with zero bytes are found when the translation ends, and the game is translated again in the same build.
What the log shows: 17 of the translated files had a zero byte in this one build, and four compiled. I read the code that makes those files (the emitter's entry point and its fixed-size buffers, the ctypes calls, the processes' results, the writes) and found nothing that writes a zero byte or past a buffer, so as in #2150 the PC's memory or drive is the likely cause. FenegZzZzZz, that many files at once points at the memory first: try with XMP/EXPO or any overclock off, and a memory test, then build again.
What the build can do better, from the code on
main@753fb5af:make_game.pyalready checks the translation before the compile and makes it again once (lifted_cut_short), but only by each file's last two bytes. A zero byte inside is found only in the compile, so the build stops and the player has to start it again, with one line per file and no count.LONGSHOT_LIFT_STORE(development), such a translation is saved for the other work folders and taken from there at every try, so "Build again: the file is made again" isn't true there.Prior work: #2150 (merged, the refusal in the compile), #372 (the store and its cut-short check). No open pull request changes these functions (heads from #2150 on), no claim in the room.
The change is on a branch, without a pull request yet (
pr createasks for a run in the game, which this build-only change doesn't touch and this PC doesn't do for now): fix/lift-zero-bytes @dff34314, onmain@753fb5af.A translation with a zero byte is made again in the same build, once; a second time the build stops with the count and what to check. With
LONGSHOT_LIFT_STOREit is neither saved nor taken from the store.Tested on Linux with the real translation step, one byte of 17 of its 88 files zeroed on purpose: zeroed once, it recovers; zeroed twice, it stops with "damaged twice: 17 of 88 files have a zero byte". The check takes 0.2-0.3 s of a ~100 s translation. The game-free test fails on
mainand passes here.What it doesn't do: it doesn't repair the PC, so a build on memory that damages 17 files will likely still stop, only with a clearer reason. A byte changed into something other than zero isn't seen.
The pull request is open, as work in progress: #2300
@BeanBot wrote in #2296 (comment):
So only in nightly 738? Cuz I downoload latest nightly and latest stable and still have this error
Merged
38500511e070(#2300, 2026-11-23T16:07Z) is an ancestor oforigin/main: a translation with a zero byte is now made again in the same build. pepe999 scoped their claim to 'the build's part of this'. It does not cover the install-side 'Some errour occured' the reporter hit — if installing still fails on a build after38500511, this stays open. @HumanBean