• core dumps

    From alterego@alterego@ALTERANT.remove-830-this to Digital Man on Thu Jul 2 21:01:39 2020
    From Newsgroup: alt.bbs.synchronet

    To: Digital Man
    Hey DM,

    I've noticed pretty much daily core dumps.

    Sorry I dont have debugging enabled, and my build is made from a week ago: http://dev.leenooks.net/bbs/sbbs/-/jobs/1267#L1646

    using:
    make RELEASE=1 USE_DOSEMU=1 NO_X=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185
    SBBSDIR=/opt/sbbs install

    The backtrace shows:
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". btCore was generated by `sbbs -d'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0 0x766c10b0 in JS_IsRunning () from /usr/lib/libmozjs185.so.1.0
    [Current thread is 1 (Thread 0x6efff450 (LWP 520))]
    (gdb) bt
    #0 0x766c10b0 in JS_IsRunning () from /usr/lib/libmozjs185.so.1.0
    #1 0x76cd5e84 in js_OperationCallback () from /opt/sbbs/exec/libsbbs.so
    #2 0x766d8426 in ?? () from /usr/lib/libmozjs185.so.1.0
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

    And the core dumps are quite large 300+MB.

    Is this useful at all?

    ...ëîåï

    ... I belong to no organized party - I am a democrat.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
    --- Synchronet 3.18a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From Nelgin@nelgin@EOTLBBS.remove-5af-this to alterego on Thu Jul 2 10:22:17 2020
    From Newsgroup: alt.bbs.synchronet

    To: alterego
    alterego wrote:
    Hey DM,

    I've noticed pretty much daily core dumps.

    Sorry I dont have debugging enabled, and my build is made from a week ago: http://dev.leenooks.net/bbs/sbbs/-/jobs/1267#L1646

    using:
    make RELEASE=1 USE_DOSEMU=1 NO_X=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185
    SBBSDIR=/opt/sbbs install

    Why don't you update to the latest and build with DEBUG=1 and get a decent
    back trace. You can always recompile without afterwards.

    What about log file contents?

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- Synchronet 3.18a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From Digital Man@digital.man@vert.synchro.net.remove-x0s-this to alterego on Tue Jul 7 22:46:39 2020
    From Newsgroup: alt.bbs.synchronet

    To: alterego
    Re: core dumps
    By: alterego to Digital Man on Thu Jul 02 2020 02:01 pm

    Hey DM,

    I've noticed pretty much daily core dumps.

    Sorry I dont have debugging enabled, and my build is made from a week ago: http://dev.leenooks.net/bbs/sbbs/-/jobs/1267#L1646

    using:
    make RELEASE=1 USE_DOSEMU=1 NO_X=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185
    SBBSDIR=/opt/sbbs install

    The backtrace shows:
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". btCore was generated by `sbbs -d'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0 0x766c10b0 in JS_IsRunning () from /usr/lib/libmozjs185.so.1.0
    [Current thread is 1 (Thread 0x6efff450 (LWP 520))]
    (gdb) bt
    #0 0x766c10b0 in JS_IsRunning () from /usr/lib/libmozjs185.so.1.0
    #1 0x76cd5e84 in js_OperationCallback () from /opt/sbbs/exec/libsbbs.so
    #2 0x766d8426 in ?? () from /usr/lib/libmozjs185.so.1.0
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

    And the core dumps are quite large 300+MB.

    Is this useful at all?

    Slightly. It tells me its crashing in libmozjs. I'd try building with the version of libmozjs included in the Synchronet CVS repository (*not* passing JSINCLUDE and JSLIB on the make commandline). That's the normal/preferred build approach.

    digital man

    Sling Blade quote #20:
    Doyle: Hey is this the kind of retard that drools and rubs shit in his hair? Norco, CA WX: 86.8øF, 46.0% humidity, 18 mph E wind, 0.00 inches rain/24hrs
    --- Synchronet 3.18a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From alterego@alterego@ALTERANT.remove-mpg-this to Digital Man on Wed Jul 8 17:04:18 2020
    From Newsgroup: alt.bbs.synchronet

    To: Digital Man
    Re: core dumps
    By: Digital Man to alterego on Tue Jul 07 2020 03:46 pm

    Slightly. It tells me its crashing in libmozjs. I'd try building with the version of libmozjs included in the Synchronet CVS repository (*not* passing JSINCLUDE and JSLIB on the make commandline). That's the normal/preferred build approach.

    Ahh, OK - I was avoiding building libmoz on the Pi as well, it takes soooo long :) I'll add DEBUG=1 to the build as well, incase it continues to happen.

    (BTW: Strange, I had a daily core dumps for 3-4 days, and then it went for 4 days happily... But today it core dumped again in the same place.)

    BTW: Hope you enjoyed your break, Virgin Islands would be awesome (I've been to Puerto Rico and Haiti in the past)...

    ...ëîåï

    ... Martyrdom is the only way in which a man can become famous without ability

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
    --- Synchronet 3.18a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From Digital Man@digital.man@vert.synchro.net.remove-z1w-this to alterego on Wed Jul 8 02:36:51 2020
    From Newsgroup: alt.bbs.synchronet

    To: alterego
    Re: core dumps
    By: alterego to Digital Man on Wed Jul 08 2020 10:04 am

    BTW: Hope you enjoyed your break, Virgin Islands would be awesome (I've been to Puerto Rico and Haiti in the past)...

    Thanks. Still on it. :-)

    digital man

    This Is Spinal Tap quote #7:
    Nigel Tufnel: That's just nitpicking, isn't it?
    Norco, CA WX: 78.4øF, 54.0% humidity, 16 mph NE wind, 0.00 inches rain/24hrs --- Synchronet 3.18a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.18a-Linux NewsLink 1.113