Skip to content
Tcl Source Code History Of Ticket fa7995bdf2
Login

History Of Ticket fa7995bdf2

Artifacts Associated With Ticket fa7995bdf2

  1. Ticket change [eafcec1b0f] (rid 240425) by dgp on 2025-05-23 18:52:37:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. 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.
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Critical"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "29. http Package"
    15. title initialized to: "new crash in httpcookie.test"
    16. type initialized to: "Bug"
  2. Ticket change [d75dcb2e20] (rid 240426) by dgp on 2025-05-23 18:55:39:

    1. icomment:
      
      It is the TIP 720 checkin that creates the crash.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [0a3a844ff3] (rid 240427) by dgp on 2025-05-23 19:37:45:

    1. 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
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [dfa78b7b68] (rid 240694) by dgp on 2025-05-30 15:35:32:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [c10b7dcc00] (rid 240695) by dgp on 2025-05-30 16:13:23:

    1. icomment:
      
      The crash is in the -setup script of the 2.15 test
      in the command [http:cookiejar create tracer].
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. title changed to:
      new crash in [http::cookiejar create tracer] (-setup of test 2.15)
      
  6. Ticket change [cba051a1a4] (rid 240696) by dgp on 2025-05-30 16:17:40:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  7. Ticket change [10d7be1877] (rid 240702) by dgp on 2025-05-30 18:56:49:

    1. icomment:
      
      Branch bug-fa7995bdf2 contains a fix for the crashing test.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  8. Ticket change [cb7abe921d] (rid 240744) by dgp on 2025-06-02 13:38:29:

    1. assignee changed to: "dkf"
    2. icomment:
      
      I would like to stop test suite crash on the trunk.
      Can you take a moment to give this a code review?
      
    3. login: "dgp"
    4. mimetype: "text/plain"
  9. Ticket change [8d028221c3] (rid 240831) by jan.nijtmans on 2025-06-03 17:29:41:

    1. icomment:
      If @dkf doesn't react, I suggest to just merge the fix
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  10. Ticket change [0f5b8c1894] (rid 241247) by dgp on 2025-06-12 15:13:30:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2460839.13438403"
    3. closer changed to: "dgp"
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  11. Ticket change [df80f5de34] (rid 241280) by dkf on 2025-06-13 07:34:08:

    1. closedate changed to: "2460839.81538133"
    2. closer changed to: "dkf"
    3. 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.
      
    4. login: "dkf"
    5. mimetype: "text/x-markdown"
  12. Ticket change [e85e0ad49b] (rid 241283) by dkf on 2025-06-13 07:47:32:

    1. closedate changed to: "2460839.8246833"
    2. icomment:
      Test `dict-22.25` added, and confirmed that the fix changes the test from crashing to working.
      
    3. login: "dkf"
    4. mimetype: "text/x-markdown"
  13. Ticket change [bc89d67a0f] (rid 241289) by dkf on 2025-06-13 08:55:51:

    1. closedate changed to: "2460839.87212861"
    2. icomment:
      I've reviewed the commands that care about this, and found a few others that had similar problems (e.g., `dict merge`). Fixed.
      
    3. login: "dkf"
    4. mimetype: "text/x-markdown"
  14. Ticket change [72895e7478] (rid 241300) by dgp on 2025-06-13 14:08:44:

    1. closedate changed to: "2460840.08940269"
    2. closer changed to: "dgp"
    3. icomment:
      
      Thanks for the review and improvements.
      
      A semi-related matter at ticket [81ebe684b4]
      
    4. login: "dgp"
    5. mimetype: "text/plain"