Subj : src/sbbs3/main.cpp To : Git commit to main/sbbs/master From : Rob Swindell (on ChromeOS) Date : Sat Aug 30 2025 21:23:55 https://gitlab.synchro.net/main/sbbs/-/commit/3a2790c7d3e538cd27404feb Modified Files: src/sbbs3/main.cpp Log Message: Immediately abort the event_thread() if started with server terminated Resolve this crash that happens when aborting startup while trying to bind TCP ports: Thread 11 "sbbs/events" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff1dfc6c0 (LWP 13543)] js::gc::Chunk::init (this=0x7fffeb600000, rt=0x7fffe0019120) at jsgc.cpp:293 293 arena->header()->next = arena + 1; (gdb) bt Not root-caused, just worked-around/avoided. Most likely there's a js cleanup happening (e.g. destroying the JS runtime) the same time that js_init() is executing from the event_thread(), so just avoid this by not calling js_init() while already set to terminate the server. --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .