• New core dump

    From Nigel Reed@VERT to GitLab issue in main/sbbs on Tue Jun 27 06:05:02 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/577

    Did a recompile at about 19:00 CDT on 26th, by 23:14 I had a core file in jsService.

    <code>
    $ gdb /home/bbs/sbbs-git/src/sbbs3/gcc.linux.x64.exe.debug/sbbs '/tmp/core.sbbs!jsService.339868'
    GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
    Copyright (C) 2020 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Type "show copying" and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from /home/bbs/sbbs-git/src/sbbs3/gcc.linux.x64.exe.debug/sbbs...
    [New LWP 342927]
    [New LWP 339883]
    [New LWP 339879]
    [New LWP 339872]
    [New LWP 339878]
    [New LWP 339880]
    [New LWP 339869]
    [New LWP 339877]
    [New LWP 339875]
    [New LWP 339881]
    [New LWP 339885]
    [New LWP 339874]
    [New LWP 342958]
    [New LWP 339870]
    [New LWP 342957]
    [New LWP 342930]
    [New LWP 339886]
    [New LWP 339873]
    [New LWP 339891]
    [New LWP 339868]
    [New LWP 342921]
    [New LWP 339957]
    [New LWP 339888]
    [New LWP 339871]
    [New LWP 339956]
    [New LWP 339887]
    [New LWP 339890]
    [New LWP 342959]
    [New LWP 339892]
    [New LWP 339896]
    [New LWP 339895]
    [New LWP 339898]
    [New LWP 339893]
    [New LWP 339894]
    [New LWP 339899]
    [New LWP 339889]
    [New LWP 342906]
    [New LWP 339958]
    [New LWP 342911]
    [New LWP 339954]
    [New LWP 339884]
    [New LWP 339955]
    [New LWP 342910]
    [New LWP 342950]
    [New LWP 339897]
    [New LWP 342912]
    [New LWP 342960]
    [New LWP 342956]
    [New LWP 342922]
    [New LWP 342923]
    [New LWP 342928]
    [New LWP 342932]
    [New LWP 342952]
    [New LWP 342954]
    [New LWP 342955]
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". --Type <RET> for more, q to quit, c to continue without paging--c
    Core was generated by `/sbbs/exec/sbbs d'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0 0x00007f6d74577009 in ?? ()
    [Current thread is 1 (Thread 0x7f6c758fe700 (LWP 342927))]
    (gdb) bt
    #0 0x00007f6d74577009 in ?? ()
    #1 0x00007f6c758f7dd0 in ?? ()
    #2 0x00007f6d04787d8a in js::ExecuteTrace (state=..., f=0x7f6c758f7b40, tm=0x7f6c758f7b40,
    cx=0x7f6c80015b10) at jstracer.cpp:6568
    #3 js::ExecuteTree (cx=0x7f6c747f03b8, tm=0x7f6c758f7b38, f=0xfff8800000000001,
    inlineCallCount=<error reading variable>, innermostNestedGuardp=0x100000000,
    lrp=0x758f7a80) at jstracer.cpp:6674
    Backtrace stopped: frame did not save the PC
    (gdb) bt full
    #0 0x00007f6d74577009 in ?? ()
    No symbol table info available.
    #1 0x00007f6c758f7dd0 in ?? ()
    No symbol table info available.
    #2 0x00007f6d04787d8a in js::ExecuteTrace (state=..., f=0x7f6c758f7b40, tm=0x7f6c758f7b40,
    cx=0x7f6c80015b10) at jstracer.cpp:6568
    u = {code = 0x7f6d045dc0ee <JSObject::isDenseArray() const+28> "H\215\025\v<]",
    func = 0x7f6d045dc0ee <JSObject::isDenseArray() const+28>}
    rec = 0x7f6c758f7b40
    #3 js::ExecuteTree (cx=0x7f6c747f03b8, tm=0x7f6c758f7b38, f=0xfff8800000000001,
    inlineCallCount=<error reading variable>, innermostNestedGuardp=0x100000000,
    lrp=0x758f7a80) at jstracer.cpp:6674
    state = {cx = 0xfffbff6c747f03b8, traceMonitor = 0xfff8800000000001,
    stackBase = 0x7f6c758f7d00, sp = 0x7f6c758f7d00, eos = 0xfff8800000000001,
    callstackBase = 0x7f6c800aaca0, sor = 0x1fff1, rp = 0x7f6c776de420,
    eor = 0x7f6c758f7c10, lastTreeExitGuard = 0x7f6cf63641e6,
    lastTreeCallGuard = 0x7f6c758f7bd0, rpAtLastTreeCall = 0xfff8800000000001,
    outermostTreeExitGuard = 0xfff9000000000000, outermostTree = 0xfffaff6d04b5a900,
    inlineCallCountp = 0xfff880000000000a,
    innermostNestedGuardp = 0xfff8800000000001, innermost = 0xfff9000000000000,
    startTime = 18444633011384221697, prev = 0xfff880000000000a,
    builtinStatus = 2147572496, deepBailSp = 0x3ffc90, nativeVpLen = 1972337920,
    nativeVp = 0x7f6c761fd370}
    stack = 0x7f6c758f7b38
    global = 0xad1dfd402a8ec600
    globalObj = 0x7f6c758f7b20
    ngslots = 32620
    gslots = 0x7f6d045ee8dd <array_push(JSContext*, uintN, js::Value*)+290>
    lr = 0x7f6c801459b8
    ok = 117
    iters = 140103805532984
    Backtrace stopped: frame did not save the PC
    (gdb) q
    </code>

    Let me know if I can provide any other information.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Tue Jun 27 18:55:28 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/577#note_3631

    @Deuce does this look like another TraceJIT crash?

    You think we should apply commit 6762bbd4cf3e0997b5 (disable TraceJIT) for all targets archs?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Sun Jul 2 08:08:22 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/577#note_3637

    I've already updated and recompiled a couple of times since reporting this so you can close it if you wish. It's not recurred as yet.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab issue in main/sbbs on Fri Jul 7 18:32:35 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/577

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net