• coredump at @eotl

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sun Mar 8 04:53:36 2026
    open https://gitlab.synchro.net/main/sbbs/-/issues/1094

    Per IRC conversation

    ```
    #43 0x00007fc483f21cfd in http_session_thread (arg=0x0) at websrvr.cpp:7077 7077 respond(&session);
    (gdb) p session
    $1 = {socket = 26, addr = {addr = {sa_family = 2, sa_data = "\341LA1\001\204\000\000\000\000\000\000\000"}, in = {sin_family = 2, sin_port = 19681, sin_addr = {
    s_addr = 2214670657}, sin_zero = "\000\000\000\000\000\000\000"}, in6 = {sin6_family = 2, sin6_port = 19681, sin6_flowinfo = 2214670657, sin6_addr = {__in6_u = {
    __u6_addr8 = "\000\000\000\000\000\000\000\000UN\026[\005", __u6_addr16 = {0, 0, 0, 0, 20053, 23318, 35822, 1422}, __u6_addr32 = {0, 0, 1528188501,
    93228014}}}, sin6_scope_id = 0}, un = {sun_family = 2, sun_path = "\341LA1\001\204\000\000\000\000\000\000\000\000UN\026[\005", '\000' <repeats 85 times>},
    store = {ss_family = 2, __ss_padding = "\341LA1\001\204\000\000\000\000\000\000\000\000UN\026[\005", '\000' <repeats 95 times>, __ss_align = 0}}, addr_len = 16,
    req = {method = 2, virtual_path = "/index.xjs\000HTTP/1.1", '\000' <repeats 4077 times>, physical_path = "/sbbs/webv4/root/index.xjs", '\000' <repeats 4070 times>,
    expect_go_ahead = false, if_modified_since = 0, keep_alive = true, ars = '\000' <repeats 255 times>, auth = {type = AUTHENTICATION_UNKNOWN,
    username = '\000' <repeats 25 times>, password = '\000' <repeats 40 times>, digest_uri = 0x0, realm = 0x0, nonce = 0x0, algorithm = ALGORITHM_UNKNOWN,
    qop_value = QOP_NONE, cnonce = 0x0, nonce_count = 0x0, digest = '\000' <repeats 15 times>, stale = false}, host = "192.138.210.158", '\000' <repeats 112 times>,
    vhost = "192.138.210.158", '\000' <repeats 112 times>, send_location = 0, send_content = false, upgrading = false, location_to_send = 0x0, vary_list = 0x0,
    mime_type = 0x0, headers = 0x7fc400002f30, status = "200 OK", '\000' <repeats 1018 times>,
    post_data = 0x7fc4001ab910 "------WebKitFormBoundaryx8jO2oVc6SWP3Sad\r\nContent-Disposition: form-data; name", post_map = 0x0, post_len = 232, dynamic = 2,
    xjs_handler = "/sbbs/exec/xjs_handler.js", '\000' <repeats 4071 times>, ld = 0x7fc400003ab0, request_line = "/index.xjs", '\000' <repeats 1014 times>,
    orig_request_line = "/", '\000' <repeats 1023 times>, finished = false, read_chunked = true, write_chunked = false, range_start = 0, range_end = 0, got_range = false,
    accept_ranges = false, if_range = 0, path_info_index = false, query_str = '\000' <repeats 1024 times>, extra_path_info = '\000' <repeats 1024 times>,
    cgi_env = 0x7fc400121a60, dynamic_heads = 0x7fc4000435c0, got_extra_path = false, fp = 0x0, cleanup_file = {0x7fc400120e80 "/sbbs/tmp/SBBS_SSJS.3143328.26.html", 0x0},
    sent_headers = false, prev_write = false, manual_length = false, error_dir = 0x0, cgi_dir = 0x0, auth_list = 0x0, realm = 0x0, digest_realm = 0x0,
    fastcgi_socket = 0x0}, requests = 1, host_ip = "65.49.1.132", '\000' <repeats 34 times>, host_name = "65.49.1.132", '\000' <repeats 116 times>, http_ver = 2,
    send_failed = false, finished = false, parsed_vpath = PARSED_VPATH_NONE, libnum = 0, file = {{idx = {{{to = 0, from = 0, subj = 0}, {votes = 0, remsg = 0}, {size = 0,
    size_ext = 0}}, attr = 0, offset = 0, number = 0, time = 0}, file_idx = {idx = {{{to = 0, from = 0, subj = 0}, {votes = 0, remsg = 0}, {size = 0,
    size_ext = 0}}, attr = 0, offset = 0, number = 0, time = 0}, name = '\000' <repeats 64 times>, hash = {flags = 0 '\000', data = {crc16 = 0, crc32 = 0,
    md5 = '\000' <repeats 15 times>, sha1 = '\000' <repeats 19 times>}}}}, hdr = {msghdr_id = "\000\000\000", type = 0, version = 0, length = 0, attr = 0,
    auxattr = 0, netattr = 0, when_written = {year = 0, time = 0, zone = 0}, when_imported = {time = 0, zone = 0}, number = 0, thread_back = 0, thread_next = 0,
    thread_first = 0, delivery_attempts = 0, votes = 0, thread_id = 0, {{priority = 0 '\000'}, {times_downloaded = 0, last_downloaded = 0}}, offset = 0,
    total_dfields = 0}, to = 0x0, to_ext = 0x0, to_list = 0x0, from = 0x0, from_ext = 0x0, from_org = 0x0, from_ip = 0x0, from_host = 0x0, from_prot = 0x0,
    from_port = 0x0, author = 0x0, author_org = 0x0, replyto = 0x0, replyto_ext = 0x0, replyto_list = 0x0, cc_list = 0x0, id = 0x0, reply_id = 0x0, forward_path = 0x0,
    reverse_path = 0x0, path = 0x0, newsgroups = 0x0, ftn_pid = 0x0, ftn_tid = 0x0, ftn_area = 0x0, ftn_flags = 0x0, ftn_charset = 0x0, ftn_bbsid = 0x0, ftn_msgid = 0x0,
    ftn_reply = 0x0, {summary = 0x0, desc = 0x0}, {subj = 0x0, name = 0x0}, {text = 0x0, extdesc = 0x0}, {tail = 0x0, auxdata = 0x0}, tags = 0x0, editor = 0x0,
    mime_version = 0x0, content_type = 0x0, content_encoding = 0x0, text_charset = 0x0, text_subtype = 0x0, to_agent = 0, from_agent = 0, replyto_agent = 0, to_net = {
    type = 0, addr = 0x0}, from_net = {type = 0, addr = 0x0}, replyto_net = {type = 0, addr = 0x0}, total_hfields = 0, hfield = 0x0, hfield_dat = 0x0, dfield = 0x0,
    idx_offset = 0, forwarded = false, expiration = 0, cost = 0, flags = 0, user_voted = 0, upvotes = 0, downvotes = 0, total_votes = 0, dir = 0, size = 0, time = 0,
    columns = 0 '\000'}, user = {number = 0, uls = 0, dls = 0, posts = 0, emails = 0, fbacks = 0, etoday = 0, ptoday = 0, timeon = 0, textra = 0, logons = 0, ttoday = 0,
    tlast = 0, ltoday = 0, xedit = 0, shell = 0, dtoday = 0, btoday = 0, alias = "<unknown user>", '\000' <repeats 11 times>, name = '\000' <repeats 25 times>,
    handle = "\000\000\000\000\000\000\000\000", lang = "\000\000\000\000\000\000\000\000", host = '\000' <repeats 60 times>, note = '\000' <repeats 30 times>,
    address = '\000' <repeats 30 times>, location = '\000' <repeats 30 times>, zipcode = "\000\000\000\000\000\000\000\000\000\000", pass = '\000' <repeats 40 times>,
    birth = "\000\000\000\000\000\000\000\000", phone = '\000' <repeats 12 times>, connection = "\000\000\000\000\000\000\000\000", netmail = '\000' <repeats 60 times>,
    tmpext = '\000' <repeats 15 times>, comment = '\000' <repeats 60 times>, cursub = '\000' <repeats 32 times>, curdir = '\000' <repeats 32 times>,
    curxtrn = '\000' <repeats 16 times>, ipaddr = '\000' <repeats 45 times>, level = 0 '\000', gender = 0 '\000', prot = 0 '\000', leech = 0 '\000', rows = 0, cols = 0,
    misc = 0, qwk = 0, chat = 0, mail = 0, flags1 = 0, flags2 = 0, flags3 = 0, flags4 = 0, exempt = 0, rest = 0, min = 0, cdt = 0, freecdt = 0, ulb = 0, dlb = 0, dlcps = 0,
    firston = 0, laston = 0, expire = 0, pwmod = 0, ns_time = 0, logontime = 0, deldate = 0, reset = 0}, last_user_num = 0, logon_time = 1772947360,
    username = "<unknown user>", '\000' <repeats 11 times>, last_js_user_num = 0, redir_req = "\000OST /index.xjs HTTP/1.1", '\000' <repeats 1000 times>,
    js_runtime = 0x7fc40003fc30, js_cx = 0x7fc400030ec0, js_glob = 0x7fc3ebe03048, js_query = 0x7fc3ebe2f3a8, js_header = 0x7fc3ebe2f3f0, js_cookie = 0x7fc3ebe2f438,
    js_request = 0x7fc3ebe2f360, js_callback = {events = 0x0, rq_head = 0x0, rq_tail = 0x0, listeners = 0x0, terminated = 0x7fc483f43c75 <terminate_js>, parent_cb = 0x0,
    counter = 0, limit = 864000, yield_interval = 10000, gc_interval = 100, gc_attempts = 0, offline_counter = 0, next_eid = 0, auto_terminate = 1, auto_terminated = false,
    --Type <RET> for more, q to quit, c to continue without paging--c
    keepGoing = 0, bg = false, events_supported = false}, subscan = 0x7fc400032900, outbuf = {pStart = 0x7fc400084630 " E", pHead = 0x7fc400084630 " E",
    pTail = 0x7fc400084630 " E", pEnd = 0x7fc4000c4630 "\002", size = 262144, empty_event = 0x7fc4000012d0, data_event = 0x7fc400001090, highwater_event = 0x7fc400001440,
    highwater_mark = 1460, mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0,
    __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, output_thread_terminated = 0x7fc4000060e0, outbuf_write_initialized = 1, outbuf_write = {
    __data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}},
    __size = '\000' <repeats 39 times>, __align = 0}, client = {size = 472, addr = "65.49.1.132", '\000' <repeats 116 times>,
    host = "<no name>", '\000' <repeats 246 times>, port = 57676, time = 1772947360, protocol = "HTTPS", '\000' <repeats 26 times>,
    user = "<unknown user>", '\000' <repeats 17 times>, usernum = 0}, struct_filled = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = -1,
    __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 16 times>, "\377\377\377\377", '\000' <repeats 19 times>, __align = 0},
    is_tls = true, tls_sess = 9446, tls_pending = true, peeked_valid = false, peeked = 13 '\r'}
    (gdb)

    ```
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Sun Mar 8 05:01:29 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1094#note_8508

    [claude.txt](/uploads/e1c490cd2848770349e06dc16a5df0b5/claude.txt)
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Sun Mar 8 05:06:38 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1094#note_8509

    The core dump bt
    ```
    Program terminated with signal SIGABRT, Aborted.
    Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
    #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44

    warning: 44 ./nptl/pthread_kill.c: No such file or directory
    [Current thread is 1 (Thread 0x7fc428dff6c0 (LWP 3278875))]
    (gdb) bt
    #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
    #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
    #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
    #3 0x00007fc48244527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
    #4 0x00007fc4824288ff in __GI_abort () at ./stdlib/abort.c:79
    #5 0x00007fc4824297b6 in __libc_message_impl (fmt=fmt@entry=0x7fc4825ce8d7 "%s\n")
    at ../sysdeps/posix/libc_fatal.c:134
    #6 0x00007fc4824a8ff5 in malloc_printerr (str=str@entry=0x7fc4825cc759 "realloc(): invalid next size")
    at ./malloc/malloc.c:5772
    #7 0x00007fc4824ad13c in _int_realloc (av=av@entry=0x7fc482603ac0 <main_arena>, oldp=oldp@entry=0x7fc4001ab9f0,
    oldsize=oldsize@entry=3840, nb=7888) at ./malloc/malloc.c:4939
    #8 0x00007fc4824ae1e6 in __GI___libc_realloc (oldmem=0x7fc4001aba00, bytes=7872) at ./malloc/malloc.c:3517
    #9 0x00007fc482c10595 in js_realloc (p=0x7fc4001aba00, bytes=7872)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsutil.h:221
    #10 0x00007fc482c2c639 in JSRuntime::realloc (this=0x7fc40003fc30, p=0x7fc4001aba00, oldBytes=3936, newBytes=7872,
    cx=0x7fc400030ec0) at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jscntxt.h:1375
    #11 0x00007fc482c2c6ad in JSContext::realloc (this=0x7fc400030ec0, p=0x7fc4001aba00, oldBytes=3936, newBytes=7872)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jscntxt.h:2045
    #12 0x00007fc482c21a14 in JSObject::growSlots (this=0x7fc3ebe03048, cx=0x7fc400030ec0, newcap=493) at jsobj.cpp:4074
    #13 0x00007fc482c2334f in JSObject::allocSlot (this=0x7fc3ebe03048, cx=0x7fc400030ec0, slotp=0x7fc428de60a8)
    at jsobj.cpp:4409
    #14 0x00007fc482c9134f in JSObject::getChildProperty (this=0x7fc3ebe03048, cx=0x7fc400030ec0, parent=0x7fc40023ada0,
    child=...) at jsscope.cpp:548
    #15 0x00007fc482c91976 in JSObject::addPropertyInternal (this=0x7fc3ebe03048, cx=0x7fc400030ec0, id=140479452929088,
    getter=0x0, setter=0x0, slot=4294967295, attrs=5, flags=0, shortid=0, spp=0x7fc40023e0c8) at jsscope.cpp:812
    #16 0x00007fc482c91b95 in JSObject::putProperty (this=0x7fc3ebe03048, cx=0x7fc400030ec0, id=140479452929088,
    getter=0x0, setter=0x0, slot=4294967295, attrs=5, flags=0, shortid=0) at jsscope.cpp:899
    #17 0x00007fc482c240e9 in js_DefineNativeProperty (cx=0x7fc400030ec0, obj=0x7fc3ebe03048, id=140479452929088,
    value=..., getter=0x7fc482b52f51 <JS_PropertyStub(JSContext*, JSObject*, jsid, jsval*)>,
    setter=0x7fc482b52f70 <JS_StrictPropertyStub(JSContext*, JSObject*, jsid, JSBool, jsval*)>, attrs=5, flags=0,
    shortid=0, propp=0x7fc428de6348, defineHow=0) at jsobj.cpp:4782
    #18 0x00007fc482c4a5f6 in js::Compiler::defineGlobals (cx=0x7fc400030ec0, globalScope=..., script=0x7fc400237350)
    at jsparse.cpp:1191
    #19 0x00007fc482c4a333 in js::Compiler::compileScript (cx=0x7fc400030ec0, scopeChain=0x7fc3ebe03048, callerFrame=0x0,
    principals=0x0, tcflags=139264, chars=0x7fc4001f9a70, length=39272,
    filename=0x7fc428de73b0 "/sbbs/exec/load/sbbsdefs.js", lineno=1, version=JSVERSION_DEFAULT, source=0x0,
    staticLevel=0) at jsparse.cpp:1138
    #20 0x00007fc482b598c5 in CompileFileHelper (cx=0x7fc400030ec0, obj=0x7fc3ebe03048, principals=0x0,
    filename=0x7fc428de73b0 "/sbbs/exec/load/sbbsdefs.js", fp=0x7fc400122770) at jsapi.cpp:4715
    #21 0x00007fc482b59a2a in JS_CompileFile (cx=0x7fc400030ec0, obj=0x7fc3ebe03048,
    filename=0x7fc428de73b0 "/sbbs/exec/load/sbbsdefs.js") at jsapi.cpp:4749 #22 0x00007fc4829dc9e6 in js_load (cx=0x7fc400030ec0, argc=1, arglist=0x7fc43d000288) at js_global.cpp:674
    #23 0x00007fc4829dd3d0 in js_require (cx=0x7fc400030ec0, argc=2, arglist=0x7fc43d000288) at js_global.cpp:801
    #24 0x00007fc482e03fbb in js::CallJSNative (vp=0x7fc43d000288, argc=2,
    --Type <RET> for more, q to quit, c to continue without paging--
    native=0x7fc4829dcf02 <js_require(JSContext*, uintN, jsval*)>, cx=0x7fc400030ec0)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jscntxtinlines.h:701 #25 js::Interpret (cx=0x7fc400030ec0, entryFrame=0x7fc43d000230, inlineCallCount=0, interpMode=JSINTERP_NORMAL)
    at jsinterp.cpp:4799
    #26 0x00007fc482bf653d in js::RunScript (cx=0x7fc400030ec0, script=0x7fc4000300c0, fp=0x7fc43d000230)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:653
    #27 0x00007fc482bf94ba in js::Execute (cx=0x7fc400030ec0, chain=0x7fc3ebe03048, script=0x7fc4000300c0, prev=0x0,
    flags=0, result=0x7fc428decd60) at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:1028
    #28 0x00007fc482b5a4e2 in JS_ExecuteScript (cx=0x7fc400030ec0, obj=0x7fc3ebe03048, scriptObj=0x7fc3ebe2f828,
    rval=0x7fc428decd60) at jsapi.cpp:4998
    #29 0x00007fc4829dcdba in js_load (cx=0x7fc400030ec0, argc=1, arglist=0x7fc43d0001d0) at js_global.cpp:723
    #30 0x00007fc482e03fbb in js::CallJSNative (vp=0x7fc43d0001d0, argc=1,
    native=0x7fc4829da20d <js_load(JSContext*, uintN, jsval*)>, cx=0x7fc400030ec0)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jscntxtinlines.h:701 #31 js::Interpret (cx=0x7fc400030ec0, entryFrame=0x7fc43d000178, inlineCallCount=0, interpMode=JSINTERP_NORMAL)
    at jsinterp.cpp:4799
    #32 0x00007fc482bf653d in js::RunScript (cx=0x7fc400030ec0, script=0x7fc4001f8260, fp=0x7fc43d000178)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:653
    #33 0x00007fc482bf94ba in js::Execute (cx=0x7fc400030ec0, chain=0x7fc3ebe03048, script=0x7fc4001f8260, prev=0x0,
    flags=0, result=0x7fc428df2830) at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:1028
    #34 0x00007fc482b5a4e2 in JS_ExecuteScript (cx=0x7fc400030ec0, obj=0x7fc3ebe03048, scriptObj=0x7fc3ebe2f678,
    rval=0x7fc428df2830) at jsapi.cpp:4998
    #35 0x00007fc4829dcdba in js_load (cx=0x7fc400030ec0, argc=1, arglist=0x7fc43d000118) at js_global.cpp:723
    #36 0x00007fc482e03fbb in js::CallJSNative (vp=0x7fc43d000118, argc=1,
    native=0x7fc4829da20d <js_load(JSContext*, uintN, jsval*)>, cx=0x7fc400030ec0)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jscntxtinlines.h:701 #37 js::Interpret (cx=0x7fc400030ec0, entryFrame=0x7fc43d000048, inlineCallCount=1, interpMode=JSINTERP_NORMAL)
    at jsinterp.cpp:4799
    #38 0x00007fc482bf653d in js::RunScript (cx=0x7fc400030ec0, script=0x7fc4001220c0, fp=0x7fc43d000048)
    at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:653
    #39 0x00007fc482bf94ba in js::Execute (cx=0x7fc400030ec0, chain=0x7fc3ebe03048, script=0x7fc4001220c0, prev=0x0,
    flags=0, result=0x7fc428df82a0) at /home/bbs/sbbs-git/3rdp/src/mozjs/js-1.8.5/js/src/jsinterp.cpp:1028
    #40 0x00007fc482b5a4e2 in JS_ExecuteScript (cx=0x7fc400030ec0, obj=0x7fc3ebe03048, scriptObj=0x7fc3ebe2f5e8,
    rval=0x7fc428df82a0) at jsapi.cpp:4998
    #41 0x00007fc483f1ee3e in exec_ssjs (session=0x7fc428df96a0, script=0x7fc428dfbe24 "/sbbs/exec/xjs_handler.js")
    at websrvr.cpp:6357
    #42 0x00007fc483f1f0f9 in respond (session=0x7fc428df96a0) at websrvr.cpp:6403 #43 0x00007fc483f21cfd in http_session_thread (arg=0x0) at websrvr.cpp:7077
    #44 0x00007fc48249caa4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
    #45 0x00007fc482529c6c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

    ```
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)