• core dump in jsService

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Fri Sep 29 14:17:47 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/653

    dmsg says

    ~~~
    [Fri Sep 29 16:05:47 2023] sbbs/jsService[3074347]: segfault at 7fc5406e8a1c ip 00007fc5406e8a1c sp 00007fc58cff2b70 error 14
    [Fri Sep 29 16:05:47 2023] Code: Unable to access opcode bytes at RIP 0x7fc5406e89f2.
    ~~~

    Here's the bt.

    ~~~
    [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 0x00007fc5406e8a1c in ?? ()
    [Current thread is 1 (Thread 0x7fc58cff9640 (LWP 3074347))]
    (gdb) bt
    #0 0x00007fc5406e8a1c in ?? ()
    #1 0x00007fc58cff2d30 in ?? ()
    #2 0x00007fc64f36786f in js::ExecuteTrace (state=...,
    f=0x7fc64f3602d8 <js::BuildNativeFrame(JSContext*, JSObject*, unsigned int, unsigned int, uint16*, JSValueType*, double*, double*)+486>,
    tm=0x7fc58cff2b60, cx=0x7fc5afd03048) at jstracer.cpp:6568
    #3 js::ExecuteTree (cx=0x7fc5c48d88f8, tm=0x7fc58bbf81f0, f=0x7fc58bbf8200, inlineCallCount=@0x7fc58cff2cd0: 2365533772,
    innermostNestedGuardp=0x7fc5c49cb3e8, lrp=0x7fc5c70051b8) at jstracer.cpp:6674
    Backtrace stopped: frame did not save the PC
    (gdb) bt full
    #0 0x00007fc5406e8a1c in ?? ()
    No symbol table info available.
    #1 0x00007fc58cff2d30 in ?? ()
    No symbol table info available.
    #2 0x00007fc64f36786f in js::ExecuteTrace (state=...,
    f=0x7fc64f3602d8 <js::BuildNativeFrame(JSContext*, JSObject*, unsigned int, unsigned int, uint16*, JSValueType*, double*, double*)+486>,
    tm=0x7fc58cff2b60, cx=0x7fc5afd03048) at jstracer.cpp:6568
    u = {code = 0x7fc5c487e058 "\230'ү\305\377\373\377\200\003ү\305\377\373\377", func = 0x7fc5c487e058}
    rec = 0x7fc58cff2a90
    #3 js::ExecuteTree (cx=0x7fc5c48d88f8, tm=0x7fc58bbf81f0, f=0x7fc58bbf8200, inlineCallCount=@0x7fc58cff2cd0: 2365533772,
    innermostNestedGuardp=0x7fc5c49cb3e8, lrp=0x7fc5c70051b8) at jstracer.cpp:6674
    state = {cx = 0x7fc5afd03048, traceMonitor = 0x7fc5c484a860, stackBase = 0x7fc58cff2ad0, sp = 0x400000000, eos = 0x400000000,
    callstackBase = 0x15300000004, sor = 0x15300000003, rp = 0x7fc5c484a860, eor = 0x7fc5afd03048, lastTreeExitGuard = 0x7fc5c40e3830,
    lastTreeCallGuard = 0x7fc58cff2b30, rpAtLastTreeCall = 0x7fc5c484a860, outermostTreeExitGuard = 0x7fc58cff2b30,
    outermostTree = 0x7fc5c484a860, inlineCallCountp = 0x7fc5afd03048, innermostNestedGuardp = 0x7fc5c40e3830, innermost = 0x7fc58cff2b30,
    startTime = 140487382523992, prev = 0x7fc5ae0245d8, builtinStatus = 3299478497, deepBailSp = 0x7fc58bff8000, nativeVpLen = 2365533280,
    nativeVp = 0x7fc58bbf8258}
    stack = 0x7fc58bbf8208
    global = 0xfffbffc5afd22798
    globalObj = 0x7fc5c487e058
    ngslots = 32599
    gslots = 0x7fc5c48d88f8
    lr = 0x7fc5c48d88f8
    ok = 79
    iters = 140487382529024
    Backtrace stopped: frame did not save the PC
    (gdb)
    ~~~
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Oct 9 10:22:22 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/653#note_4306

    core file was lost so closing.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)