Skip to content
Tcl Source Code History Of Ticket f6afe6b71d
Login

History Of Ticket f6afe6b71d

Artifacts Associated With Ticket f6afe6b71d

  1. Ticket change [c3358c6a34] (rid 255889) by dgp on 2026-09-01 17:52:51:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Testing tip of the core-9-0-branch...
      
      $ make test-tcl TESTFLAGS="-file compile.test -match compile-18.5 -verbose bpste"
      ...
      Tests began at 2026-09-01 13:52:16 EDT
      compile.test
      ---- compile-18.5 start
      ++++ compile-18.5 PASSED
      Test file error: child killed: segmentation violation
      ...
      
    5. foundin initialized to: "9.0"
    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: "47. Bytecode Compiler"
    15. title initialized to:
      latest 9-0-branch commit introduces test suite crash
      
    16. type initialized to: "Bug"
  2. Ticket change [ebf49bc880] (rid 255890) by dgp on 2026-09-01 17:53:16:

    1. assignee changed to: "sebres"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [e924a0e9c9] (rid 255891) by dgp on 2026-09-01 18:00:46:

    1. icomment:
      Program received signal SIGSEGV, Segmentation fault.
      0x000055555573061f in TclThreadFreeObj (objPtr=0x555555ec879000) at /home/dgp/fossil/tcl9.0/generic/tclThreadAlloc.c:595
      595	    objPtr->internalRep.twoPtrValue.ptr1 = cachePtr->firstObjPtr;
      (gdb) bt
      #0  0x000055555573061f in TclThreadFreeObj (objPtr=0x555555ec879000)
          at /home/dgp/fossil/tcl9.0/generic/tclThreadAlloc.c:595
      #1  0x00005555556faba8 in TclFreeObj (objPtr=0x555555ab478000)
          at /home/dgp/fossil/tcl9.0/generic/tclObj.c:1453
      ...
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [53ac3a9f2c] (rid 255892) by sebres on 2026-09-01 19:20:01:

    1. icomment:
      Sorry, it is not reproducible to me, neither for linux, nor for windows (with/without debug/memory/zipfs/etc).
      
          1.  Missed `make clean` maybe? (I'm unsure it is needed, since Proc structure is enlarged, but it is used in tclProc.c/tclCmdIL.c only, which are modified).
          2.  How did you configure this?
          3.  Is the thread-module present, and if so, was it created for an earlier version?
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [f6600cc8ea] (rid 255893) by sebres on 2026-09-01 20:30:52:

    1. icomment:
      OK, I could reproduce a crash repeated this:
      ```
      timerate { set i [interp create]; $i eval { tcl::unsupported::disassemble lambda {{} {}} }; interp delete $i }
      ```
      Digging further.
      
    2. login: "sebres"
    3. mimetype: "text/x-markdown"
  6. Ticket change [dc79220363] (rid 255906) by sebres on 2026-09-01 21:52:16:

    1. assignee changed to: "dgp"
    2. foundin changed to: "8.6+"
    3. icomment:
      It was a forgotten disassemble adjustment (it used the same logic as before fix for SF [e533296a92d89044] with a cmd in call stack, so it conflicted with latest fix).
      
      Shall be fixed now for 8.6 and 9.0 (see [a8133670760aa4a8]). The code is also simplified a bit now.
      
    4. login: "sebres"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
  7. Ticket change [1be7fd010a] (rid 255907) by jan.nijtmans on 2026-09-02 07:51:28:

    1. icomment:
      <pre>
      oo.test
      Test file error: alloc: invalid block: 0x63636cc3c890: 70 6c
      </pre>
      
      We are not there yet :-(
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  8. Ticket change [6a64c81a6a] (rid 255908) by jan.nijtmans on 2026-09-02 07:52:10:

    1. icomment:
      See: [https://github.com/tcltk/tcl/actions/runs/33600564437/job/100153138025]
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  9. Ticket change [54b8fe8eae] (rid 255915) by sebres on 2026-09-02 11:28:53:

    1. icomment:
      Hmm... Basically it shall have nothing with OO, but... I found one thing (absent in 8.6, so missed in 9.0) where flags of cloned proc may remain uninitialized by DuplicateProc, used in TclCopyNamespaceProcedures, used in TclOO_Object_Cloned... Fixed in [3d107522cb4253b0]. I hope that's it.
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  10. Ticket change [91b5844942] (rid 255917) by dgp on 2026-09-02 16:52:59:

    1. closedate changed to: "2461286.2034676275"
    2. closer changed to: "dgp"
    3. icomment:
      
      Branch core-9-0-branch tests clean for me now.
      
      Thank you.
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
  11. Ticket change [ea1603089d] (rid 255918) by sebres on 2026-09-02 17:21:06:

    1. closedate changed to: "2461286.2229935997"
    2. closer changed to: "sebres"
    3. icomment:
      Just for the record, in between I could reproduce the OO-test memory failure with previous commit (before the fix)...
      
      Simplest reproduceable case shows it is oo-15.14 "OO: object cloning with target NS":
      <details>
      
      ```
      $ fossil update a8133670760aa4a8
      $ ../configure --enable-symbols --disable-zipfs && make -j8 tcltest
      $ ./tcltest.sh -file 'oo.test' -verbose stepm -match 'oo-15.1?'
      ...
      Tests began at 2026-09-02 18:56:56 +0200
      oo.test
      ---- oo-15.10 start
      ++++ oo-15.10 took 1 ms
      ++++ oo-15.10 PASSED
      ---- oo-15.11 start
      ++++ oo-15.11 took 0 ms
      ++++ oo-15.11 PASSED
      ---- oo-15.12 start
      ++++ oo-15.12 took 0 ms
      ++++ oo-15.12 PASSED
      ---- oo-15.14 start
      Test file error: alloc: invalid block: 00000000035AEC50: 50 3
      
      $ fossil update core-9-0-branch && make -j8 tcltest
      $ ./tcltest.sh -file 'oo.test' -verbose stepm -match 'oo-15.1?'
      ...
      ---- oo-15.14 start
      ++++ oo-15.14 took 0 ms
      ++++ oo-15.14 PASSED
      ---- oo-15.15 start
      ++++ oo-15.15 took 0 ms
      ++++ oo-15.15 PASSED
      
      Tests ended at 2026-09-02 18:57:39 +0200
      all.tcl:        Total   388     Passed  5       Skipped 383     Failed  0
      Sourced 1 Test Files.
      ```
      </details>
      
      So it was as assumed the cloning...
      And yes, the last (already mentioned) commit fixed that.
      
      Strange is that this was at all not reproducible with `--enable-symbols=all` or `--enable-symbols=mem` (or even without `--enable-symbols`) no matter how many times I repeated that, so only `--enable-symbols` without parameter provides some constant reproducible constellation or corner case match causing that uninitialized flags got 0x80 bit (or free causes a memory failure).
      
    4. login: "sebres"
    5. mimetype: "text/x-markdown"
  12. Ticket change [26b8815ce7] (rid 255924) by jan.nijtmans on 2026-09-03 15:08:17:

    1. closedate changed to: "2461287.1307552662"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      I don't see any failures any more. Many thanks, @sebres!
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"