Thanks, As you say, it seems to have fixed by your suggestion (for the other not so smart people like me) by doing a sysupgrade to 7.9-beta and then reinstall all the packages from the snapshot.
% export PKG_PATH= https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64 % pkg_add -u The documentation for sysupgrade says downgrading is not well supported is fine so that may be the root cause. On Mon, Apr 6, 2026 at 7:37 PM Stuart Henderson <[email protected]> wrote: > On 2026-04-05, Phil Maker <[email protected]> wrote: > > --0000000000009640fc064eb1f832 > > Content-Type: text/plain; charset="UTF-8" > > > > G'day, > > > > A standard tclsh built on a patched version of 7.8 dies as it calls > > getpwuid_r > > with SIGSYS which seems very odd, since no pledge calls have been made. > > The #0 line indicates Bad System Call rather which seems very odd. > > Any pointers noting I'm happy to chase this done and report back and have > > various sysupgrade/syspatch things with no luck. > > > > Program received signal SIGSYS, Bad system call. > > _thread_sys___pledge_open () at /tmp/-:2 > > warning: 2 /tmp/-: No such file or directory > > (gdb) where > > #0 _thread_sys___pledge_open () at /tmp/-:2 > > You seem to have a libc from -current, not from patched 7.8, here... > > > -- Phil Maker <[email protected]>, <[email protected]> <https://a-star-microgrid.com>, <https://iesconnect.net> phone: +61 (0) 439 223 469 TZ +9h30m ALT: remote email: <[email protected]>

