Artifacts Associated With Ticket f6afe6b71d
Ticket change [c3358c6a34] (rid 255889) by dgp on 2026-09-01 17:52:51:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 ...
- foundin initialized to: "9.0"
- 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: "47. Bytecode Compiler"
- title initialized to:
latest 9-0-branch commit introduces test suite crash
- type initialized to: "Bug"
Ticket change [ebf49bc880] (rid 255890) by dgp on 2026-09-01 17:53:16:
- assignee changed to: "sebres"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [e924a0e9c9] (rid 255891) by dgp on 2026-09-01 18:00:46:
- 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 ... - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [53ac3a9f2c] (rid 255892) by sebres on 2026-09-01 19:20:01:
- 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? - login: "sebres"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [f6600cc8ea] (rid 255893) by sebres on 2026-09-01 20:30:52:
- 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. - login: "sebres"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [dc79220363] (rid 255906) by sebres on 2026-09-01 21:52:16:
- assignee changed to: "dgp"
- foundin changed to: "8.6+"
- 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.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [1be7fd010a] (rid 255907) by jan.nijtmans on 2026-09-02 07:51:28:
- icomment:
<pre> oo.test Test file error: alloc: invalid block: 0x63636cc3c890: 70 6c </pre> We are not there yet :-(
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [6a64c81a6a] (rid 255908) by jan.nijtmans on 2026-09-02 07:52:10:
- icomment:
See: [https://github.com/tcltk/tcl/actions/runs/33600564437/job/100153138025]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [54b8fe8eae] (rid 255915) by sebres on 2026-09-02 11:28:53:
- 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.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [91b5844942] (rid 255917) by dgp on 2026-09-02 16:52:59:
- closedate changed to: "2461286.2034676275"
- closer changed to: "dgp"
- icomment:
Branch core-9-0-branch tests clean for me now. Thank you.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
Ticket change [ea1603089d] (rid 255918) by sebres on 2026-09-02 17:21:06:
- closedate changed to: "2461286.2229935997"
- closer changed to: "sebres"
- 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).
- login: "sebres"
- mimetype: "text/x-markdown"
Ticket change [26b8815ce7] (rid 255924) by jan.nijtmans on 2026-09-03 15:08:17:
- closedate changed to: "2461287.1307552662"
- closer changed to: "jan.nijtmans"
- icomment:
I don't see any failures any more. Many thanks, @sebres!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"