https://gitlab.synchro.net/main/sbbs/-/commit/73b281013ebe1322927bd2aa
Modified Files:
src/doors/syncscumm/door/sst_io.c
Log Message:
syncscumm: capture door stderr behind a touch-file gate
On a BBS-launched door the process's stderr is dead, so ScummVM's own diagnostics -- including the fatal error() an engine prints just before
it aborts -- are recorded nowhere. That is what made the Cascade Quest Sound->Volume crash hard to pin down before the release-mode fix.
Wire up sst_plat_redirect_stderr() (added with the Win32 build but not previously called) behind a touch-file gate, matching the existing
trace and wirecap gates: create <data-dir>/syncscumm/stderr (SBBSDATA
for a real door; ./syncscumm-stderr in a dev/standalone run) and stderr
is redirected to /tmp/syncscumm.<pid>.stderr. Off by default -- absent
the touch-file it opens nothing. It sits before resolve_fd()'s headless early-return so a boot test can arm it too.
Going through the sst_plat abstraction keeps the platform #ifdef out of sst_io.c.
Co-Authored-By: Claude Opus 4.8 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net