• Re: sbbs binary: Debian Linux AARCH64 sigfault or permission denied

    From deon@1:103/705 to Gamgee on Sat Feb 28 11:20:17 2026
    Re: Re: sbbs binary: Debian Linux AARCH64 sigfault or permission denied
    By: Gamgee to Deon George on Fri Feb 27 2026 08:29 am

    Howdy,

    The error when not running privileged is `personality() failed: Operation not permitted`

    My guess would be that it's trying to bind to a port < 1024.

    Nope, its running as root.


    ...ëîåï

    ---
    þ Synchronet þ AnsiTEX bringing back videotex but with ANSI
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deon George@1:103/705 to GitLab note in main/sbbs on Sat Feb 28 02:57:13 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/685#note_8484

    Yeah, sometimes AI is helpful, sometimes its not - fair enough.. :smile:

    Do you want a debug backtrace for that segfault - in case it is a different issue?
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Jonathan Gould@1:103/705 to GitLab note in main/sbbs on Sat Feb 28 06:10:19 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/685#note_8486

    Apologies... I never followed up after I got my similar issue above working. Hopefully this will help you.

    My working container build https://github.com/jagould2012/cyberdeck/blob/main/bbs/Dockerfile

    My branch with debug output and stacktrace capture that I used to track the issue down
    https://github.com/jagould2012/cyberdeck/blob/feature/bbs-arm64-testing/bbs/Dockerfile.arm64-debug
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Sat Feb 28 11:47:05 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/685#note_8487

    Always want a debug backtrace of any segfault, yes please.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deon George@1:103/705 to GitLab note in main/sbbs on Sun Mar 1 02:45:04 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/685#note_8488

    Here you go:

    ```
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0 std::__atomic_base<unsigned int>::load (__m=std::memory_order_seq_cst, this=0x4) at /usr/include/c++/10/bits/atomic_base.h:426
    426 /usr/include/c++/10/bits/atomic_base.h: No such file or directory. [Current thread is 1 (Thread 0x400005cc61c0 (LWP 11))]
    (gdb) bt
    #0 std::__atomic_base<unsigned int>::load (__m=std::memory_order_seq_cst, this=0x4) at /usr/include/c++/10/bits/atomic_base.h:426
    #1 std::__atomic_base<unsigned int>::operator unsigned int (this=0x4) at /usr/include/c++/10/bits/atomic_base.h:289
    #2 0x00004000015c5f58 in cleanup (code=1) at mailsrvr.cpp:6094
    #3 0x00004000015c6e20 in mail_server (arg=0xaaaaaaacd5d8 <mail_startup>) at mailsrvr.cpp:6295
    #4 0x0000400001650648 in start_thread (arg=0x400005cc5ac0) at pthread_create.c:477
    #5 0x000040000174bc9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
    ```

    Oh wait, I just discovered the possible reason (but it shouldnt segfault anyway?).

    I started my container without initialising the configuration (so no ctrl/ dir) - so it earlier complains about:

    ```
    3/1 21:42:58 term !ERROR loading configuration files: ERROR 2 (No such file or directory) opening /opt/sbbs/ctrl/main.ini
    3/1 21:42:58 term Terminal Server thread terminating
    3/1 21:42:58 srvc !ERROR loading configuration files: 2 opening /opt/sbbs/ctrl/text.dat
    [Threads: 5 Sockets: 0 Clients: 0 Served: 0 Errors: 2] (?=Help): Segmentation fault (core dumped)
    ```

    When I initialised the configuration (which puts in place ctrl it stays running :)
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)