• jsexec coredump

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Fri Sep 13 18:20:20 2024
    open https://gitlab.synchro.net/main/sbbs/-/issues/788

    This happened when running fileman.js then going to Browse but not sure what I didn't next unfortunately.

    ```
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    Core was generated by `jsexec fileman'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0 0x00007ffb6b70ee22 in js::PropertyTable::search (this=0x7ffb6bbef680 <js_ObjectClass>, id=140717748917888, adding=false)
    at jsscope.cpp:308
    308 stored = *spp;
    [Current thread is 1 (Thread 0x7ffb68527740 (LWP 2397263))]
    (gdb) bt
    #0 0x00007ffb6b70ee22 in js::PropertyTable::search (this=0x7ffb6bbef680 <js_ObjectClass>, id=140717748917888, adding=false)
    at jsscope.cpp:308
    #1 0x00007ffb6b5deb19 in js::Shape::search (adding=false, id=140717748917888, startp=0x7ffb677cd7e0, rt=0x564f53bc46b0)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsscope.h:878
    #2 JSObject::nativeSearch (this=0x7ffb677cd7e0, id=140717748917888, adding=false)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsscope.h:692
    #3 0x00007ffb6b5debf0 in JSObject::nativeLookup (this=0x7ffb677cd7e0, id=140717748917888)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsscope.h:699
    #4 0x00007ffb6b6a4315 in js_LookupPropertyWithFlagsInline (propp=0x7ffea1d6d1b8, objp=0x7ffea1d6d1b0, flags=1, id=140717748917888,
    obj=0x7ffb677cd7e0, cx=0x564f53bafec0) at jsobj.cpp:4960
    #5 js_GetPropertyHelperWithShapeInline (holderOut=0x7ffea1d6d1a8, shapeOut=0x7ffea1d6d1a0, vp=0x7ffea1d6d4c0, getHow=2,
    id=140717748917888, receiver=0x7ffb677cd7e0, obj=0x7ffb677cd7e0, cx=0x564f53bafec0) at jsobj.cpp:5353
    #6 js_GetPropertyHelperInline (vp=0x7ffea1d6d4c0, getHow=2, id=140717748917888, receiver=0x7ffb677cd7e0, obj=0x7ffb677cd7e0,
    cx=0x564f53bafec0) at jsobj.cpp:5457
    #7 js_GetPropertyHelper (cx=0x564f53bafec0, obj=0x7ffb677cd7e0, id=140717748917888, getHow=2, vp=0x7ffea1d6d4c0) at jsobj.cpp:5463
    #8 0x00007ffb6b6a5d56 in js_GetMethod (cx=0x564f53bafec0, obj=0x7ffb677cd7e0, id=140717748917888, getHow=2, vp=0x7ffea1d6d4c0)
    at jsobj.cpp:5499
    #9 0x00007ffb6b6a9601 in js_TryMethod (cx=0x564f53bafec0, obj=0x7ffb677cd7e0, atom=0x7ffb67701680, argc=0, argv=0x0, rval=0x7ffea1d6d550)
    at jsobj.cpp:6348
    #10 0x00007ffb6b6a7ed1 in js::DefaultValue (cx=0x564f53bafec0, obj=0x7ffb677cd7e0, hint=JSTYPE_STRING, vp=0x7ffea1d6d6b8) at jsobj.cpp:5972
    #11 0x00007ffb6b72dea9 in js_ValueToString (cx=0x564f53bafec0, arg=...) at jsstr.cpp:3677
    #12 0x00007ffb6b5cbf62 in JS_ValueToString (cx=0x564f53bafec0, v=18445618154064107488) at jsapi.cpp:497
    #13 0x00007ffb6b4bf874 in js_filebase_constructor (cx=0x564f53bafec0, argc=0, arglist=0x7ffb678c3378) at js_filebase.c:1818
    #14 0x00007ffb6b881e99 in js::CallJSNative (vp=0x7ffb678c3378, argc=0, native=0x7ffb6b4bf70d <js_filebase_constructor>, cx=0x564f53bafec0)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jscntxtinlines.h:701 #15 js::Interpret (cx=0x564f53bafec0, entryFrame=0x7ffb678c3048, inlineCallCount=4, interpMode=JSINTERP_NORMAL) at jsinterp.cpp:4799
    #16 0x00007ffb6b674398 in js::RunScript (cx=0x564f53bafec0, script=0x564f53bf1d00, fp=0x7ffb678c3048)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:653
    #17 0x00007ffb6b677331 in js::Execute (cx=0x564f53bafec0, chain=0x7ffb67703048, script=0x564f53bf1d00, prev=0x0, flags=0,
    result=0x7ffea1d71010) at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:1028
    #18 0x00007ffb6b5d8189 in JS_ExecuteScript (cx=0x564f53bafec0, obj=0x7ffb67703048, scriptObj=0x7ffb67730438, rval=0x7ffea1d71010)
    at jsapi.cpp:4998
    #19 0x0000564f51f53888 in js_exec (fname=0x7ffea1d755ef "fileman", buf=0x0, args=0x7ffea1d74ac8) at jsexec.c:1085
    #20 0x0000564f51f55397 in main (argc=2, argv=0x7ffea1d74ab8) at jsexec.c:1543 ```
    --- 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 Sat Sep 14 12:59:45 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/788#note_5633

    Been unable to recreate this. Digital Man suggests its a memory issue which seems reasonable. Closing for now.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sat Sep 14 12:59:45 2024
    close https://gitlab.synchro.net/main/sbbs/-/issues/788
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)