Artifacts Associated With Ticket fa7995bdf2
Ticket change [eafcec1b0f] (rid 240425) by dgp on 2025-05-23 18:52:37:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
testing the tip of the trunk... $ make test-tcl TESTFLAGS="-file httpcookie.test -verbose bpste" ... ---- http-cookiejar-2.14 start ++++ http-cookiejar-2.14 PASSED Test file error: child killed: segmentation violation If I can find time to dig deeper, I'll add more details here.
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "29. http Package"
- title initialized to: "new crash in httpcookie.test"
- type initialized to: "Bug"
Ticket change [d75dcb2e20] (rid 240426) by dgp on 2025-05-23 18:55:39:
- icomment:
It is the TIP 720 checkin that creates the crash.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [0a3a844ff3] (rid 240427) by dgp on 2025-05-23 19:37:45:
- icomment:
Program received signal SIGSEGV, Segmentation fault. 0x000055555564d9fb in TEBCresume (data=0x555555e89aa8, interp=0x555555839c80, result=0) at /home/dgp/fossil/tcl/generic/tclExecute.c:3229 3229 while (TclIsVarLink(varPtr)) { (gdb) bt #0 0x000055555564d9fb in TEBCresume (data=0x555555e89aa8, interp=0x555555839c80, result=0) at /home/dgp/fossil/tcl/generic/tclExecute.c:3229 #1 0x00005555555acb23 in TclNRRunCallbacks (interp=0x555555839c80, result=0, rootPtr=0x0) at /home/dgp/fossil/tcl/generic/tclBasic.c:4655 #2 0x00005555555ac214 in Tcl_EvalObjv (interp=0x555555839c80, objc=3, objv=0x55555583e010, flags=2097168) at /home/dgp/fossil/tcl/generic/tclBasic.c:4394 #3 0x00005555555aef5c in TclEvalEx (interp=0x555555839c80, script=0x5555558def70 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.tcl\" when running tcltest\n# in this directory.\n#\n# Copyright © 1998-1999 Scri"..., numBytes=988, flags=0, line=25, clNextOuter=0x0, outerScript=0x5555558def70 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.tcl\" when running tcltest\n# in this directory.\n#\n# Copyright © 1998-1999 Scri"...) at /home/dgp/fossil/tcl/generic/tclBasic.c:5494 #4 0x000055555569abfb in Tcl_FSEvalFileEx (interp=0x555555839c80, pathPtr=0x555555881ce0, encodingName=0x55555578b159 "utf-8") at /home/dgp/fossil/tcl/generic/tclIOUtil.c:1792 #5 0x00005555556a9ce3 in Tcl_MainEx (argc=-1, argv=0x7fffffffdde8, appInitProc=0x55555557fa5c <Tcl_AppInit>, interp=0x555555839c80) at /home/dgp/fossil/tcl/generic/tclMain.c:404 #6 0x000055555557fa5c in main (argc=8, argv=0x7fffffffdde8) at /home/dgp/fossil/tcl/unix/tclAppInit.c:94 - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [dfa78b7b68] (rid 240694) by dgp on 2025-05-30 15:35:32:
- icomment:
Crash happens during execution of INST_STORE_SCALAR instruction. Value of varIdx (which is taken as an operand from the bytecode) is 4294967295, which looks like a -1 dropped into an unsigned int. LOCAL(varIdx) is delivering a pointer at a big offset from where a local variable array is rooted, and that points to memory not belonging to us -->>> CRASH.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [c10b7dcc00] (rid 240695) by dgp on 2025-05-30 16:13:23:
- icomment:
The crash is in the -setup script of the 2.15 test in the command [http:cookiejar create tracer].
- login: "dgp"
- mimetype: "text/plain"
- title changed to:
new crash in [http::cookiejar create tracer] (-setup of test 2.15)
- icomment:
Ticket change [cba051a1a4] (rid 240696) by dgp on 2025-05-30 16:17:40:
- icomment:
Source of the trouble is in IssueDictWithBodied, where keysTmp = AnonymousLocal(envPtr); produces TCL_INDEX_NONE, as AnonymousLocal() appears intended to do. But execution of INST_STORE_SCALAR is not happy with that. - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [10d7be1877] (rid 240702) by dgp on 2025-05-30 18:56:49:
- icomment:
Branch bug-fa7995bdf2 contains a fix for the crashing test.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [cb7abe921d] (rid 240744) by dgp on 2025-06-02 13:38:29:
- assignee changed to: "dkf"
- icomment:
I would like to stop test suite crash on the trunk. Can you take a moment to give this a code review?
- login: "dgp"
- mimetype: "text/plain"
Ticket change [8d028221c3] (rid 240831) by jan.nijtmans on 2025-06-03 17:29:41:
- icomment:
If @dkf doesn't react, I suggest to just merge the fix
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [0f5b8c1894] (rid 241247) by dgp on 2025-06-12 15:13:30:
- assignee changed to: "dgp"
- closedate changed to: "2460839.13438403"
- closer changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [df80f5de34] (rid 241280) by dkf on 2025-06-13 07:34:08:
- closedate changed to: "2460839.81538133"
- closer changed to: "dkf"
- icomment:
Fix looks fine. I can't run the http-related tests locally because this machine has some weird networking configs (either from my work VPN or from my ISP). Things break when I try, and I'm certain they're not Tcl's fault; the environment is wonky. I guess we need another test case in dict.test.
- login: "dkf"
- mimetype: "text/x-markdown"
Ticket change [e85e0ad49b] (rid 241283) by dkf on 2025-06-13 07:47:32:
- closedate changed to: "2460839.8246833"
- icomment:
Test `dict-22.25` added, and confirmed that the fix changes the test from crashing to working.
- login: "dkf"
- mimetype: "text/x-markdown"
Ticket change [bc89d67a0f] (rid 241289) by dkf on 2025-06-13 08:55:51:
- closedate changed to: "2460839.87212861"
- icomment:
I've reviewed the commands that care about this, and found a few others that had similar problems (e.g., `dict merge`). Fixed.
- login: "dkf"
- mimetype: "text/x-markdown"
Ticket change [72895e7478] (rid 241300) by dgp on 2025-06-13 14:08:44:
- closedate changed to: "2460840.08940269"
- closer changed to: "dgp"
- icomment:
Thanks for the review and improvements. A semi-related matter at ticket [81ebe684b4]
- login: "dgp"
- mimetype: "text/plain"