Linux: starting the game with Play leaves no new hookshot_log.txt #2330
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#2330
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?
Hookshot version
main
49f75dc8, built from source (the cause came in with #2024)What kind of problem
Something else
What happened
A Linux player who starts the game with Play (in the Builder after a build, or in the launcher that the Hookshot menu entry and
hookshotin the game folder open) gets no newhookshot_log.txt. The game writes its log into #2024's capture instead, which keeps the first 64 KiB inhookshot_startup.logonce the game has closed and throws the rest away. So the log every issue asks for is missing, or an older run's log is still there and gets sent in its place.Expected:
hookshot_log.txtof this run, withhookshot_log.1.txtto.4.txtkept, as before #2024.The cause:
play-diagnostics.shgives the game a pipe as its stderr. The game openshookshot_log.txtonly when its stderr is nowhere to log, and a pipe counts as someone reading its output.Where in the game
Starting the game with Play in the Linux Builder or launcher
How often
Every time
Graphics card and driver version
RTX 4090, NVIDIA 615.78.08 (the code involved does not touch the GPU)
CPU, RAM and operating system
i9-13900K, 93 GB, Arch Linux
Changes from the defaults
None
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
There is none: that is the fault.
Claim
I'm working on this: #2279 is open with the fix and its test. It follows up #2022 and #2024, whose startup capture it keeps. By
docs/workflow.md: S3 (1) x reach (Linux players who start with Play; every report from them comes without its log) x confidence 1.0 (cause found, fix tested). I can test on Linux with an RTX 4090 (NVIDIA 615.78.08) and an Intel UHD 770 (Mesa 26.2.5), not on Windows or AMD.