• SBBS Crashing

    From Alterego@VERT/ALTERANT to Digital Man on Thu Jul 25 10:24:59 2019
    Hey DM,

    I've had a few SBBS crashes - I built it about 2 days ago from CVS.

    It seems to occur after I leave SCFG (so its is rebuilding configs...)

    This is running on Linux (in docker), with the images based on stretch-slim.

    Let me know if you would like to capture anything specific:

    7/25 10:21:20 srvc 0000 JSON JSON client initialized (v1.29)
    *** Error in `sbbs': double free or corruption (out): 0x00007fb9cc4eb150 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fba00eafbfb] /lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fba00eb5fc6] /lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7fba00eb680e] /opt/sbbs/exec/libsbbs.so(msgQueueFree+0x4c)[0x7fba0282db6c] /opt/sbbs/exec/libsbbs.so(msgQueueDetach+0x35)[0x7fba0282dbd5] /opt/sbbs/exec/libsbbs.so(+0x10852f)[0x7fba0264152f] /usr/lib/libmozjs185.so.1.0(_ZN13JSCompartment24finalizeObjectArenaListsEP9JSContext+0x91)[0x7fba00973341]
    /usr/lib/libmozjs185.so.1.0(+0xc304f)[0x7fba0097504f] /usr/lib/libmozjs185.so.1.0(+0xc3787)[0x7fba00975787] /usr/lib/libmozjs185.so.1.0(+0x7327a)[0x7fba0092527a] /opt/sbbs/exec/libsbbs.so(+0xeb53d)[0x7fba0262453d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4)[0x7fba01a824a4] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fba00f27d0f]
    ======= Memory map: ========
    555effbc2000-555effbd7000 r-xp 00000000 fd:0b 756013 /opt/sbbs/exec/sbbs
    555effdd7000-555effdd8000 r--p 00015000 fd:0b 756013 /opt/sbbs/exec/sbbs
    555effdd8000-555effdd9000 rw-p 00016000 fd:0b 756013 /opt/sbbs/exec/sbbs
    ...

    ...ëîå*

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Alterego@VERT/ALTERANT to Digital Man on Thu Jul 25 10:25:39 2019
    Re: SBBS Crashing
    By: Alterego to Digital Man on Thu Jul 25 2019 10:24 am

    I've had a few SBBS crashes - I built it about 2 days ago from CVS.

    Sorry, did it again, area 6 not 16. I'll repost.

    ...ëîå*

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Nelgin@endofthelinebbs.com.nospan (Nigel Reed) to Alterego on Thu Jul 25 03:34:04 2019
    Alterego wrote:
    Hey DM,

    I've had a few SBBS crashes - I built it about 2 days ago from CVS.

    It seems to occur after I leave SCFG (so its is rebuilding configs...)

    This is running on Linux (in docker), with the images based on stretch-slim.

    Let me know if you would like to capture anything specific:

    7/25 10:21:20 srvc 0000 JSON JSON client initialized (v1.29)
    *** Error in `sbbs': double free or corruption (out): 0x00007fb9cc4eb150 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fba00eafbfb] /lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fba00eb5fc6] /lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7fba00eb680e] /opt/sbbs/exec/libsbbs.so(msgQueueFree+0x4c)[0x7fba0282db6c] /opt/sbbs/exec/libsbbs.so(msgQueueDetach+0x35)[0x7fba0282dbd5] /opt/sbbs/exec/libsbbs.so(+0x10852f)[0x7fba0264152f] /usr/lib/libmozjs185.so.1.0(_ZN13JSCompartment24finalizeObjectArenaListsEP9JSContext+0x91)[0x7fba00973341]
    /usr/lib/libmozjs185.so.1.0(+0xc304f)[0x7fba0097504f] /usr/lib/libmozjs185.so.1.0(+0xc3787)[0x7fba00975787] /usr/lib/libmozjs185.so.1.0(+0x7327a)[0x7fba0092527a] /opt/sbbs/exec/libsbbs.so(+0xeb53d)[0x7fba0262453d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4)[0x7fba01a824a4] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fba00f27d0f]
    ======= Memory map: ========
    555effbc2000-555effbd7000 r-xp 00000000 fd:0b 756013 /opt/sbbs/exec/sbbs
    555effdd7000-555effdd8000 r--p 00015000 fd:0b 756013 /opt/sbbs/exec/sbbs
    555effdd8000-555effdd9000 rw-p 00016000 fd:0b 756013 /opt/sbbs/exec/sbbs
    ...

    ...δεσ*

    ---
    â–  Synchronet â–  Alterant | an SBBS in Docker on Pi!

    I was having a double free issue too. Deuce commited a fix just about 2
    days ago.

    http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/uifc/uifc32.c?view=log

    Maybe do another update and recompile. I noticed that I had to force scfg
    and echocfg to recompile for some reason. You might want to use cleanall.sh first. Check the data of the binary in your exe directory to confirm whether
    it rebuilt.
  • From Marisag@VERT/AMIGAC to Alterego on Thu Jul 25 13:49:03 2019
    Re: SBBS Crashing
    By: Alterego to Digital Man on Thu Jul 25 2019 10:24:59

    You sure you don't have a file owner issue? If your BBS is running as another user from what you use in the shell the directory tree needs to change owners after using some scfg functions. Better safe than sorry..

    Marisa
    --- https://SynchronetBBS.org/OurServers - A list of all our websites
    --- https://SynchronetBBS.org/HostSplash - SBBS hosting for $14/month
    þ Synchronet þ Amiga City - The BBS for the Amiga - more than 3,500+ files
  • From Alterego@VERT/ALTERANT to Marisag on Fri Jul 26 09:18:25 2019
    Re: SBBS Crashing
    By: Marisag to Alterego on Thu Jul 25 2019 01:49 pm

    Re: SBBS Crashing
    By: Alterego to Digital Man on Thu Jul 25 2019 10:24:59

    You sure you don't have a file owner issue? If your BBS is running as another user from what you use in the shell the directory tree needs to change owners after using some scfg functions. Better safe than sorry..

    Yeah, I'm sure.

    My SBBS is running in docker as root.

    ...ëîå*

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Marisag@VERT/AMIGAC to Alterego on Thu Jul 25 19:10:44 2019
    Re: SBBS Crashing
    By: Alterego to Marisag on Fri Jul 26 2019 09:18:25

    Yeah, I'm sure.
    My SBBS is running in docker as root.

    Ah ok then...

    Marisa
    --- https://SynchronetBBS.org/OurServers - A list of all our websites
    --- https://SynchronetBBS.org/HostSplash - SBBS hosting for $14/month
    þ Synchronet þ Amiga City - The BBS for the Amiga - more than 3,500+ files