• SBBS Dies On HTTP Login

    From Rempala@1:103/705 to All on Mon Aug 16 15:48:40 2021
    SBBS Server - master/7183406f3 Aug 13 2021 22:22:06 with GCC 8.3.0 keepings dieing and restarting (systemd) on a HTTP login (webv4) (web allows me to login) and also if someone clicks the fetelnet connect on v4 & web it also dies.

    If I need to post the log file I can.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rempala on Mon Aug 16 17:09:37 2021
    Re: SBBS Dies On HTTP Login
    By: Rempala to All on Mon Aug 16 2021 03:48 pm

    SBBS Server - master/7183406f3 Aug 13 2021 22:22:06 with GCC 8.3.0 keepings dieing and restarting (systemd) on a HTTP login (webv4) (web allows me to login) and also if someone clicks the fetelnet connect on v4 & web it also dies.

    If I need to post the log file I can.

    Sure. Sounds like it might be crashing (e.g. segfaulting), so this would be relevant:
    http://wiki.synchro.net/howto:gdb
    --
    digital man

    Synchronet/BBS Terminology Definition #31:
    FOSSIL = Fido/Opus/SEAdog Standard Interface Layer
    Norco, CA WX: 86.1øF, 53.0% humidity, 12 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rempala@1:103/705 to Digital Man on Mon Aug 16 17:58:52 2021
    Ok I have it re-building now. Now sure if it matters, its running on a PI 4
    8gb running Raspbian Lite 32Bit. It was running on a Win10 up until a few
    weeks ago.

    Re: SBBS Dies On HTTP Login
    By: Rempala to All on Mon Aug 16 2021 03:48 pm

    SBBS Server - master/7183406f3 Aug 13 2021 22:22:06 with GCC 8.3.0 keepings dieing and restarting (systemd) on a HTTP login (webv4) (web allows me to login) and also if someone clicks the fetelnet connect
    on v4
    & web it also dies.

    If I need to post the log file I can.

    Sure. Sounds like it might be crashing (e.g. segfaulting), so this would
    be
    relevant:
    http://wiki.synchro.net/howto:gdb
    --
    digital man

    Synchronet/BBS Terminology Definition #31:
    FOSSIL = Fido/Opus/SEAdog Standard Interface Layer
    Norco, CA WX: 86.1�F, 53.0% humidity, 12 mph NNE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rempala on Mon Aug 16 18:07:02 2021
    Re: Re: SBBS Dies On HTTP Login
    By: Rempala to Digital Man on Mon Aug 16 2021 05:58 pm

    Ok I have it re-building now. Now sure if it matters, its running on a PI 4 8gb running Raspbian Lite 32Bit. It was running on a Win10 up until a few weeks ago.

    It should work just as well as any other supported Linux platform.

    Are you using a system-supplied libmozjs or the one from the Synchronet Git repo?
    --
    digital man

    Synchronet "Real Fact" #12:
    Synchronet was the first BBS software to ship with built-in RIPscrip support. Norco, CA WX: 84.1øF, 56.0% humidity, 13 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rempala@1:103/705 to Digital Man on Mon Aug 16 18:18:27 2021
    I followed the pi setup info, so it should be using system.

    Re: Re: SBBS Dies On HTTP Login
    By: Rempala to Digital Man on Mon Aug 16 2021 05:58 pm

    Ok I have it re-building now. Now sure if it matters, its running on
    a PI
    4 8gb running Raspbian Lite 32Bit. It was running on a Win10 up until
    a
    few weeks ago.

    It should work just as well as any other supported Linux platform.

    Are you using a system-supplied libmozjs or the one from the Synchronet
    Git
    repo?
    --
    digital man

    Synchronet "Real Fact" #12:
    Synchronet was the first BBS software to ship with built-in RIPscrip support. Norco, CA WX: 84.1�F, 56.0% humidity, 13 mph NNE wind, 0.00
    inches
    rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rempala@1:103/705 to Digital Man on Mon Aug 16 18:21:16 2021
    ok its been rebuilt with
    make install setcap JSINCLUDE=/usr/include/js JSLIB=mozjs185

    here is the qdb bt

    (gdb) bt
    #0 __libc_write (nbytes=2, buf=0xa96b7e24, fd=34) at ../sysdeps/unix/sysv/linux/write.c:26
    #1 __libc_write (fd=34, buf=0xa96b7e24, nbytes=2) at ../sysdeps/unix/sysv/linux/write.c:24
    #2 0xb65175a0 in http_output_thread () from /sbbs/repo/src/sbbs3/gcc.linux.armv7l.lib.release/libwebsrvr.so
    #3 0xb647f494 in start_thread (arg=0xa96f8450) at pthread_create.c:486
    #4 0xb61f9578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /usr/lib/arm-linux-gnueabihf/libc.so.6
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)


    Re: Re: SBBS Dies On HTTP Login
    By: Rempala to Digital Man on Mon Aug 16 2021 05:58 pm

    Ok I have it re-building now. Now sure if it matters, its running on
    a PI
    4 8gb running Raspbian Lite 32Bit. It was running on a Win10 up until
    a
    few weeks ago.

    It should work just as well as any other supported Linux platform.

    Are you using a system-supplied libmozjs or the one from the Synchronet
    Git
    repo?
    --
    digital man

    Synchronet "Real Fact" #12:
    Synchronet was the first BBS software to ship with built-in RIPscrip support. Norco, CA WX: 84.1�F, 56.0% humidity, 13 mph NNE wind, 0.00
    inches
    rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Rempala on Mon Aug 16 21:12:00 2021
    Re: Re: SBBS Dies On HTTP Login
    By: Rempala to Digital Man on Mon Aug 16 2021 06:18 pm

    I followed the pi setup info, so it should be using system.

    post on bottom please
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rempala on Mon Aug 16 21:46:27 2021
    Re: Re: SBBS Dies On HTTP Login
    By: Rempala to Digital Man on Mon Aug 16 2021 06:21 pm

    ok its been rebuilt with
    make install setcap JSINCLUDE=/usr/include/js JSLIB=mozjs185

    here is the qdb bt

    (gdb) bt
    #0 __libc_write (nbytes=2, buf=0xa96b7e24, fd=34) at ../sysdeps/unix/sysv/linux/write.c:26
    #1 __libc_write (fd=34, buf=0xa96b7e24, nbytes=2) at ../sysdeps/unix/sysv/linux/write.c:24
    #2 0xb65175a0 in http_output_thread () from /sbbs/repo/src/sbbs3/gcc.linux.armv7l.lib.release/libwebsrvr.so
    ^^^^^^^^

    That tells me that you're still running a release build. See if you have a src/build/localdefs.mk file and if you do, check to see if it has RELEASE=1 within it. If so, remove that. That would explain why it's still building/install release binaries.

    If you can reproduce the problem with a debug build, the gdb backtrace you collect and share should be more helpful.
    --
    digital man

    Synchronet/BBS Terminology Definition #36:
    FTS = FidoNet Technical Standard
    Norco, CA WX: 72.5øF, 77.0% humidity, 2 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)