Report a bug (capture the log and the machine)¶
Goal¶
Give a maintainer everything needed to reproduce a problem without asking you back: what you ran, on which build and Mac, and the log. Use this for the Bug report form; for a game that misbehaves use the compatibility report, for wrong pixels the graphics bug guide. Before you start, search symptoms.md: the cause may be known.
Never include¶
Keys, firmware, game files, dumps, extracted assets (CONTRIBUTING.md). If a log line contains a path with your user name or a long hex string you do not recognise, remove it.
Steps¶
- Machine.
sysctl -n machdep.cpu.brand_string; sw_vers -productVersion. - Napple build. Release name from Studio's About, or from source
git rev-parse --short HEAD. - Re-run with logging. The runtime writes everything to stderr:
Exit
mkdir -p /tmp/napple-save runtime/build/napple-runtime <data-dir> --headless --seconds 45 --save-root /tmp/napple-save --summary /tmp/napple-summary.json 2> /tmp/napple-boot.log; echo "exit $?"0is normal,70aFAIL:line,128+naCRASH. Use a fresh save root so old saves do not matter. For the build step capture the CLI output (napple build ... 2>&1 | tee build.log). - Trim the log. Paste the last 100 lines and every line containing
CRASH,FAIL:,warn:orerror:. Attach the whole file only if it is small and clean.~/Library/Logs/Napple/<titleid>.loghas the capped log of an app started from Finder. - More detail when asked.
-vlogs every IPC command,--svc-traceevery svc,--trace FILEwrites JSON lines (debugging.md, environment variables). A crash printsCRASH signal=... pc=<module>+0x<offset>: copy that block whole. - Reproducibility. Say whether it happens every run, and whether a second fresh run reproduces it.
What a good report has¶
One sentence title, exact steps, expected versus actual, build and machine, the trimmed log, and the answer to "did you check docs/symptoms.md". Open it with the Bug report form.