Triage of 818 open and Pending Bug tickets of Tcl with no comment or check-in from me on 2026-10-16 (in Tcl's workflow Pending means "resolved, waiting for confirmation"). Reproduced on Linux (main 9.1 tip, 9.0 tip, 8.7b1, 8.6 tip, 8.5, 8.4 and old releases), on FreeBSD, NetBSD, OpenBSD and OpenIndiana VMs for platform tickets, and on a Windows 11 VM. Rows marked patch link to a prototype patch (287 in all, in tcl-triage/prototypes). Updated 2026-11-11: the emoji before each ticket id shows its progress.
Status now: Pending (Fixed)
FIXED since 9.1 (main) (312151d236, 2026-06-16); 9.0 and 8.6 still have the duplicate (harmless, docs only)
lappend auto_path [file dirname [info script]]/lib example and a "file normalize if the script uses cd" note; neither was moved to tclvars.n.
man -l)
FIXED since 9.0.4 (624bac9741, 2026-05-16; also in 9.0 changes.md) and on main since 9.1b0 (TIP 755, 01705864c9, 2026-06-02). Not fixed in 8.6 (8.6.18 is the last release). Checked by reading the code only, no static Windows build here.
package ifneeded ... load {} Registry/Dde from tclInterp.c. Main: TclInitStaticPackages (a TIP 755 post-init callback) registers Dde with package ifneeded dde 1.5.0. registry moved into the core as ::tcl::registry, and package require registry (1.4) adds the ::registry alias. Script to confirm on a static build: win/6094de399d.tcl
FIXED since 9.0.4 (624bac9741, 2026-05-16) and on main since 9.1b0 (TIP 755, 01705864c9, 2026-06-02); 8.6 not fixed (workaround load {} Registry). Checked by reading the code only.
package ifneeded registry/dde ... load {} ... lines to the child-interp init script in tclInterp.c (static Windows builds only). Main registers them for every interp through the TIP 755 post-init callback. The test package-bug-4f06d7ca08 (constraint isStaticBuild) is in 9.0. The same script covers this one: win/4f06d7ca08.tcl
package ifneeded existed for child interps.
load {} Registry workaround.
interp hidden of a plain Tcl safe interp; Jan re-enabled it 2026-03-11). Tcl sid…Status now: Pending (Fixed)
FIXED on the Tk side (safe-1.2 now builds its expected list from interp hidden of a plain Tcl safe interp; Jan re-enabled it 2026-03-11). Tcl side unchanged: main still hides clock, tcl:clock:add/format/scan in safe interps (9.0 does not); clock format/clock seconds work there via aliases.
interp hidden of a safe interp, work-a6/t2.tcl); read ~/tcltk/tk/tests/safe.test
clock an unsafe ensemble with aliases; dkf's branch bug-8f5e7a2633 (last 58f8db9362, 2026-03-11) to mark clock safe is unmerged.
Status now: Closed (Duplicate)
unix-monotonic-condwait, not merged: Fix 3328635fff: Use CLOCK_MONOTONIC for timed condition waits on Unix where pthread_condattr_setclock() is available, so changes of the system time do not affFIXED since 9.0.3 (cbb5b13ed1 2025-09-22 Unix, d27472f8b2 2025-09-24 Windows, fc66aa236c 2025-09-27 tclEncoding.c; all via ticket 893f8cc5db, Closed/Fixed)
248c105fcc.patch: VERIFIED (the configure half was already fixed on main by 3bc7c91ea8/67924cd5df, as triage said)
~/tcltk/8.5/bin/tclsh8.5 tools/tcltk-man2html.tcl -> ERROR: version conflict ... have 8.5.19, need 8.6- / If running this script from 'make html', set the NATIVE_TCLSH environment variable to point to an installed tclsh9.0 (or the equivalent tclsh90.exe on Windows). (misleading: unix/Makefile assigns NATIVE_TCLSH = /usr/bin/tclsh9.0, so only make NATIVE_TCLSH=... overrides it; 8.6 is enough).
If running this script from 'make html', pass NATIVE_TCLSH=<path> to make (or re-run configure) to point to an installed tclsh 8.6 or later.; make -n html NATIVE_TCLSH=/x/tclsh8.6 uses /x/tclsh8.6; with a 9.1 tclsh the script still starts (--help prints usage).
FIXED in main only (3bc7c91ea8 + 67924cd5df, 2026-04-14/15, PHILB/jan.nijtmans: SC_PROG_TCLSH rejects a tclsh older than 8.6); still present in 9.0 and 8.6 configure
make NATIVE_TCLSH=... overrides) - which answers the reporter's second question.
make NATIVE_TCLSH=..., not in the environment; proposed patch fixes the misleading message in tcltk-man2html.tcl.
23:59:60 is the documented behaviour (NOT-A-BUG: …Status now: Closed (Fixed)
FIXED since 8.6.16 for the 8.6 day-off error (595fad24d7, 2024-11-15). The 9.0/main error for 23:59:60 is the documented behaviour (NOT-A-BUG: "leap seconds are not supported" was added to clock.n in a5b130a5fa, 2024-11-23).
2012-06-30 23:59:60 → 1341014399 (previous day; 24:00:00 also wrong). 8.6.16+: 1341100800, the same as the formatted scan. 9.0/main: "invalid time" with the default -validate 1. 24:00:00 → next day 00:00 on all of them.
FIXED since 9.0.3 (typo: 22ad86b21b, 2025-09-05); the C part is now explicitly unimplemented
mkzip switch arms; dkf's rework 22ad86b21b "rework install.tcl..." (9.0 branch, merged to main) changed the second to mkimg. In TclZipfs_AppHook the SUPPORT_BUILTIN_ZIP_INSTALL block now starts with #error "SUPPORT_BUILTIN_ZIP_INSTALL not implemented - TODO" (main and 9.0), so defining it fails on purpose instead of with the argvPtr error.
FIXED since 9.0.0 (8627aad9bd, 2024-09-25); left open only for sebres' consistency suggestion (design question)
list {*}$cmd {*}$args with cmd=##foo gives {##foo} everywhere; lrange/lreplace/linsert canonicalize too; lappend L (no values, compiled and not) keeps ##foo on all three, same as 8.6
lappend should canonicalize — sebres' branch bug-e38dce74e2-214cc0eb22-v2 is unmerged, last activity 2024-11-14, its core-* tag cancelled)
FIXED since 9.0.0 (0c66ee7d75 merged by 9c0c9d1a4a, 2024-05-30): j/z/t now truncate like C and z/t/j/q are documented. Leftovers are by design: I/I32/I64 still accepted on all platforms and undocumented (Jan's Windows-only variant 01e6a242c4 was closed unmerged); %a strips trailing zeros on glibc (accepted as OK)
zipfs mkzip); the 32-bit part CANNOT-TEST (no 32-bit MinGW toolc…Status now: Open
FIXED for the Thread/minizip part (Thread 37b67651e1, 2025-01-07: zip built with zipfs mkzip); the 32-bit part CANNOT-TEST (no 32-bit MinGW toolchain on the VM)
echo "zipfs mkzip ..." | $(TCLSH_NATIVE), no ZIP_PROG/minizip use. The TEA tclconfig tcl.m4 trunk (tclconfig.fossil) still sets ZIP_PROG=./minizip relative to the package dir when no zip is on PATH, so other TEA packages relying on it can hit the same error; Tcl's own win/tcl.m4 has the same fallback but Tcl builds minizip itself.
zipfs mkzip); the 32-bit part CANNOT-TEST (no 32-bit MinGW toolchain on the VM)
make packages install-packages succeeds; tcl9thread307.dll has the zip attached (package require Ttrace works), thread::create/send work
Status now: Closed (Fixed)
FIXED since 9.0.4 / 9.1b0 (a37536d4d7, 2026-03-07, merged to main in 7018ffb43e); clock-ivm.test now restores the mode after sourcing clock.test. 8.6 has no clock-ivm.test.
make test TESTFLAGS="-singleproc 1 -file clock*.test" prints "off" for clock-ivm.test and "on" for clock.test, all pass
Status now: Closed (Fixed)
FIXED since 9.0.2 (1e24bb8799, 2025-02-01 "Since TCL_RELEASE_LEVEL == TCL_FINAL_RELEASE, those Tcl_InitStubs() variants are now obsolete")
#elif TCL_RELEASE_LEVEL == TCL_FINAL_RELEASE variant of the Tcl_InitStubs macro; up to 9.0b1 it forced an exact match, from 9.0b2 to 9.0.1 non-final headers passed "9.0b2"/"9.0b3" as minimum version unless exact. This was the "last bits" Jan kept the ticket open for; 9.0.2 and main have only the plain macro.
Status now: Closed (Duplicate)
FIXED since 9.0.2 / 8.6.17 (ea8480993a, 3b95f5210d / 09d7e24d80, 2025-01-27, oehhar, ticket 27fa20249d - a duplicate)
FIXED since 8.6.15 (c2a94d79f6, 2024-03-04, jan.nijtmans; brace form introduced by 6acb955a47, present 8.6.11-8.6.14); reopened for a design dispute, not a bug
'/…/lib ', 8.6.11-8.6.14 '{/…/lib} ', 8.6.15 / 8.6.18 / 9.0.5 / main '/…/lib' (colon-separated when several dirs). tcl_pkgPath on 9.0.5 is a proper list.
f23022e07a.patch: VERIFIED (after adding the tools/encoding sources). macUkraine FF and macDingbats were not touched, as in the triage.
macGreek: U+00AD U+F8A0, macRomania: U+015E U+2126 U+015F U+00A4 U+0162 U+0163; Python's mac_greek/mac_romanian give U+20AC U+00AD and U+0218 U+03A9 U+0219 U+20AC U+021A U+021B
make test
koi8-u part FIXED since 8.6.15 / 9.0.0 (5f43417351, 2024-03-15; 8.6.14 still gives U+0403); mac tables still REPRODUCED (main, 9.0, 8.6)
//zipfs: comes first in encoding dirs, so the zip must be deleted and rebuilt to test .enc changes.
Status now: Closed (Fixed)
FIXED since 8.6.15 / 9.0.0 (0480bdc823, 2024-03-03)
string is control on U+E000/U+F8FF/U+F0000/U+10FFFD: 1 on 8.6.13 and 8.6.14, 0 on 8.6.15, 8.6.18, 9.0.5 and main; Cc/Cf (U+000A, U+00AD, U+200B, U+FEFF) still 1.
Status now: Closed (Fixed)
FIXED since 9.0.0 (9c204498a8, 2023-09-29, core-8-branch); Pending → can be closed
open .../cipher.bin a+ succeeds; zipfs.test passes on main
Status now: Closed (Fixed)
FIXED since 9.0.0 (9c204498a8, 2023-09-29); Pending → can be closed
after use Tcl_GetMonotonicTime); REPRODUCED (9.0…FIXED in main (9.1) by TIP 723 (merge acb0a91c2c, 2026-01-08, oehhar: Tcl_CreateTimerHandler and after use Tcl_GetMonotonicTime); REPRODUCED (9.0, 8.6)
after 1500 {set done ok}; after 5000 {...}; vwait done. Main (own build): fires after 1.5 s. 9.0.5 and 8.6.18: neither timer fires (killed after 20 s).
/ is a zipfs separator…FIXED since 9.0.0 (zipfs path handling merged in 492fb812e9 / trunk 35dd9ec56b, 2023-10-15, ticket c3364db38a): only / is a zipfs separator, consistently
/ works, consistently (all three backslash forms → 0; backslash is an ordinary character there)
//zipfs:\mt\... starts with two separators and is normalized as a UNC-like root (host "zipfs:"), converting all \ to /, while //zipfs:/mt\... keeps the backslashes in the tail that zipfs then looks up literally. Note TclIsZipfsPath() in generic/tclZipfs.c looks inverted: on _WIN32 it requires an exact "//zipfs:/" prefix, on other platforms it accepts \ for / (35dd9ec56b, 2023-10-15).
/ is a zipfs separator, consistently. On Windows the leading //zipfs:\ form is probably accepted only because the generic normalizer treats it like a UNC root; also TclIsZipfsPath() accepts \ on Unix but not on Windows, which looks reversed.
/ is a zipfs separator, consistently
//zipfs:/mt/testdir/test2 exists=1; //zipfs:/mt\testdir\test2, //zipfs:\mt\testdir\test2, //zipfs:\mt/testdir/test2 all exists=0 (the report had 1 for the last two). Same as Linux.
//zipfs:/ prefix, so a backslash after the volume is no zipfs path at all. Cosmetic leftover: file normalize //zipfs:\mt\x gives C://zipfs:\mt\x (treated as a volume-relative native path).
/, also right after //zipfs: (tested on Windows 11 with 9.0.5 and 9.1: all three backslash forms give [file exists] 0). Closing.
FIXED since 9.0b1 (20ed83cf25, 2023-04-30) for the crash; ticket was reopened by dgp (2025-02-26) as a reminder to lift the INT_MAX limit in 9.1, which is an RFE
try, eval, uplevel, proc body, namespace eval, apply with a 2**31+9 byte script all give "Script length 2147483657 exceeds max permitted length 2147483646." without crash; subst and info complete on the same string work. 8.6 not applicable (strings are limited to INT_MAX there).
Tcl_Size offset) — DOCS: doc/GetIndex.3 still says int offset on main and 9.0d34442777f.patch: VERIFIED
Tcl_Size offset; doc/GetIndex.3:47 still says .AP int offset in
man -l GetIndex.3 shows Tcl_Size offset (in)
FIXED since 9.0 in the API (88334c6e8c, 2022-10-23, TIP 628: Tcl_Size offset) — DOCS: doc/GetIndex.3 still says int offset on main and 9.0
.AP Tcl_Size offset in).
Status now: Open
memdebug-freed-marker, in main: Fix \[7e3f26c748\]: with TCL_MEM_DEBUG, the "previously disposed object" check could no longer fire, because freed memory was filled with 0x61 while \[f505b1774FIXED since 9.0.0 (false positive: f505b17748, 2023-04-02) — but that fix turned the check into dead code. FREEDREFCOUNTFILLER is now 0xe8e8…e8, while Tcl_DbCkfree still fills freed memory with GUARD_VALUE 0x61, so a freed Tcl_Obj has refCount 0x6161616161616161 and the "decrementing refCount of previously disposed object" panic (with file/line) can never fire. A use-after-free is caught only by the threaded-build check ("Tcl_Obj allocated in another thread", no file/line), and not at all in non-threaded builds. tclDisassemble.c and tclPreserve.c (size_t refCount) still compare against the 32-bit 0x61616161. 8.6: refCount is int and 0x61616161 references cannot fit in a 32-bit address space, so in practice the false positive is 64-bit 9.x only.
--enable-symbols=mem build (out of tree, work-a6/memdbg), with a small C program that decrements a freed object (work-a6/uaf.c): before → "allocated in another thread"; after → "file = uaf.c, line = 10 / decrementing refCount of previously disposed object". I did not run the 0x61616162-element lrepeat (~13 GB).
(size_t)-1 / 0xFF * 0x61 (0x61 repeated over the width of size_t), used by tclObj.c, tclDisassemble.c and tclPreserve.c. On 64-bit no real refCount gets that high; on 32-bit 0x61616161 cannot be reached either. obj/lrepeat/preserve/compile tests pass on the mem-debug build.
Status now: Closed (Fixed)
FIXED since 9.0.0 (b27eacb7fc, 2023-04-04, trunk; the first attempt was 69a4b72885, 2023-03-17). Resolution is already "Fixed", only Status is still Open. 8.6 has no utf-32 encoding and no profiles, so it is not affected.
cmdAH-4.3.1[34].*utf-* convertfrom tests (11744) under valgrind on a -DPURIFY build: no errors.
Status now: Open
trunk, in main, 9.0: Fix 21dbc600ae: exec hangs, iff stdin & stdout both were previously closedcore-9-0-branch, in main, 9.0: Fix 21dbc600ae: exec hangs, iff stdin & stdout both were previously closedexec-closed-stdio, in main: Declare errPipeIn/errPipeOut volatile in TclpCreateProcess: fork() is vfork() here, which may clobber them (-Wclobbered).FIXED on main and 9.0 (main 32b22bfeb5, core-9-0-branch d2c4f74bac, 2026-10-21; unreleased, will be in 9.1.1/9.0.5); still REPRODUCED on 8.6 (8.6.18 and core-8-6-branch tip)
close stdin; close stdout; exec true: main own build (c092dae4af) OK, exec-23.1 passes; installed 9.0.5 (pre-fix build) and 8.6.18 hang (timeout 5 s).
Status now: Open
regexp-compile-dash-pattern, in main: Fix cases #2 and #4 of 697b1bbfe3: the bytecode compiler for [regexp] checked for a leading "-" only in simple words, so patterns like \- or -\\ were compiledregexp-compile-runtime-switch, in main: Fix [1902890]: compiled [regexp] did not treat an RE value starting with "-" as a switch, unlike the command. When the RE is not known at compile time and thereFIXED on main only, unreleased (6e93204003, 2026-10-14); REPRODUCED (9.0, 8.6)
regexp \- $str, #6 set i -; regexp $i $str: main error (like the command), 9.0/8.6 return 1. #4 regexp -\\ $str: main bad option "-\", 9.0/8.6 "invalid escape \ sequence". Interpreted regexp - $str: 8.6 "bad option", main/9.0 "ambiguous option" (all options abbreviatable since 3069454 fix). #1/#3/#5 are correct behaviour.
-r, addPathToZip) has been kept thr…FIXED since 9.0.0 (3481a747a0, 2022-04-15, core-8-branch, later merged up). The recursive-directory change (-r, addPathToZip) has been kept through later zlib updates: main and 9.0 ship zlib 1.3.2 with it, and 8.6 has the tinydir-based version. Resolution is already Fixed, only Status is still Open.
make minizip, then minizip -o -r t.zip d stores d/a.txt and d/sub/b.txt
minizip -r works with zlib 1.3.2 on main/9.0). Can be closed.
FIXED since 9.0 (Tcl_Size DString fields, 88334c6e8c 2022-10-23 / 18d4bd49a6 2023-05-20, plus "max size for a Tcl value" checks in Tcl_DStringAppend); REPRODUCED on 8.6 only
encoding convertfrom ascii): main and 9.0 tip finish in 2–4 s with the correct length; 8.6.18 still loops (killed by a 300 s timeout).
length/spaceAvl in Tcl_DString; the result of 2^31 bytes (NUL -> C0 80) cannot fit, so Tcl_ExternalToUtfDString keeps getting TCL_CONVERT_NOSPACE.
Status now: Open
binary-format-size-overflow, not merged: Fix 2788582fff and ce4483c2cb: [binary format] with huge counts or offsets panicked or returned a wrong result, because the first pass added the field sizesGetFormatSpec part FIXED since 9.0 (06ceffb2f3, 2023-04-24: strtoull, saturates at TCL_SIZE_MAX instead of INT_MAX); related overflow REPRODUCED (main, 9.0, 8.6) in BinaryFormatCmd
binary format x4611686018427387904x4611686018427387904 (and the a equivalent) silently returns "" on main/9.0 (offset wraps); 8.6: binary format x2147483647x2147483647 returns "" too. binary format x99999999999999999999 and @99999999999999999999 panic ("negative length specified or max size of a Tcl value exceeded"). binary scan with huge counts behaves correctly.
offset with no overflow check (also (count + 7) / 8 overflows for count = TCL_SIZE_MAX), then Tcl_SetByteArrayLength panics or gets a wrapped length.
offset += and @ against BYTEARRAY_MAX_LEN and raises "max size for a Tcl value (N bytes) exceeded" (errorcode TCL MEMORY, as in binary encode); binary.test passes. Very large but representable sizes still end in the usual "unable to realloc" panic.
binary format x4611686018427387904x4611686018427387904 returns an empty string and binary format x99999999999999999999 panics. Proposed fix: overflow checks in BinaryFormatCmd raising "max size for a Tcl value exceeded", tests binary-81.*.
Status now: Pending
FIXED since 8.6.17 / 9.0.3 for the concrete crash (sebres' 0d48bb289c + 4aae9497e4 for 61c01e0edb, on core-8-5-branch, merged up)
Status now: Closed (Out of Date)
FIXED since 9.0b1 (3bb6f6602c, 2022-07-04, "TIP #619: New TCL_COMBINE flag for Tcl_UniCharToUtf()")
FIXED since 8.7a5 / 9.0a3 (949252950f on core-8-branch, 2021-05-19; merged to trunk c2f1c13b59, 2021-05-20); still REPRODUCED on 8.6 (not backported)
t1 t2; 8.6.18 prints t1
Status now: Closed (Fixed)
FIXED since tcllib 1.21 (tcllib 6dd76779dd, 2021-03-02, tcllib ticket 2dce7b748a "Clarified handling of the argv variable for getoptions")
Status now: Closed (Fixed)
FIXED since 9.0.0 (4da790cbea, 2024-02-20, ticket 2f4b495427; Tcl_InitStringRep description added by 996b2264cd 2025-05-05 for 78f4421436)
Status now: Closed (Fixed)
dgp-nested-execution, not merged: Add test for [string replace] troubles.FIXED since 8.7a5/9.0 (dgp-nested-execution merged into core-8-branch in a7c1c1b5bb, 2020-09-15); Pending -> can be closed
string index abcd 0-0x10000000000000000 (also interactive with two Enters, inside a proc, 0+..., lindex) on main, 9.0 tip, 8.7b1: returns "" without a crash; 8.6.18 gives the old "bad index" error (8.6 never had TIP 502). string-12.24/12.25 (bignum index arithmetic) in tests/string.test cover this on main. The alternative branch bug-b5777d3d32 (separate interp, tip 43eeb75b62) was never merged and is not needed.
FIXED on main since 9.1.0 (14e87701df, 2026-09-21); REPRODUCED (9.0, 8.6) for unixFCmd-20.1. http-4.14 and the socket test: NOT-REPRODUCED (main, 9.0, 8.6).
chflags uchg/nouchg on FreeBSD); not merged to core-9-0-branch/core-8-6-branch (their unixFCmd.test has no chflags probe). The socket failure was a local /etc/hosts IPv6 issue (reporter). http-4.14 ("connect failed connection refused" expected, empty result seen) touched recently by de7efe2cc2 (2026-10-12, badurl uses a just-released port).
make test TESTFLAGS="-file 'unixFCmd.test http.test'" on a ZFS filesystem.
chflags uchg gives "Operation not supported"); 9.0 and 8.6 fail unixFCmd-20.1 with could not set flags for file "foo.test": operation not supported. Applying the 14e87701df diff to 9.0 and 8.6 applies cleanly and makes unixFCmd.test pass (0 failed). http.test: main 154/0 failed, 9.0 356/0, 8.6 75/0 (http-4.14 passes). socket.test: main 191/0 failed, 8.6 175/0 (stock /etc/hosts with ::1 and 127.0.0.1 localhost).
Status now: Closed (Fixed)
FIXED since 8.6.11 (8927bbee05, 2020-07-13 on safe-bugfixes-8-6; merged into core-8-6-branch by a638b9a73b, 2020-08-28; 8.6.11 tagged 2020-12-30)
![interp issafe] condition; safe-9.2* (incl. safe-9.23) pass on main build and 8.6 tip tcltest.
package ifneeded script; in safe interps the token→dir mapping can change.
Status now: Closed (Fixed)
FIXED since 8.6.11 (858e370f1a, 2020-07-09, merge of bug-a1bd37b719 into core-8-6-branch; 8.6.11 tagged 2020-12-30)
clock scan "2020-05-20T14:40:00" -gmt 1 → 14:40:00 GMT; 8.6.10 gives 21:40:00 (the bug). clock.n documents the 4th format CCyy-mm-ddThh:mm:ss. A standalone trailing " T" word is still military zone T (UTC-7), which is correct.
CCyy-mm-ddThh:mm:ss rule, so the T was parsed as a military time zone.
Status now: Closed (Fixed)
FIXED since 9.0.0 (4da790cbea, 2024-02-20, ticket 2f4b495427)
Status now: Closed (Fixed)
FIXED since 9.0 (TIP 602, cff0348cb6, 2022-09-14); REPRODUCED on 8.6 by design
testsetplatform windows. 9.x: file join e:/temp ~abc.txt -> e:/temp/~abc.txt, file pathtype ~abc relative, glob ~* matches files in cwd. 8.6: -> ~abc.txt, absolute, "user "*" doesn't exist".
Status now: Open
regexp-1-1-quantifier-preference, in main: Fix 524b35a8b5: a {1,1} quantifier was always dropped as vacuous, so {1,1}? could not make a greedy atom non-greedy (and {1,1} a non-greedy one greedy). Keep FIXED on main only, unreleased (b0b515295b, 2026-10-14); REPRODUCED (9.0, 8.6)
^(l*){1,1}?(.*)(f*)$ on llmmmfff: main llmmmfff {} llmmmfff {} (expected), 9.0/8.6 llmmmfff ll mmmfff {}. ^(.*?){1,1}(.*)$ on abc: main abc abc {}, 9.0/8.6 abc {} abc.
Status now: Closed (Duplicate)
FIXED since 8.6.15 / 9.0.0 (c28a455139, 2024-04-04, under duplicate ticket 7cb7409e05, with a test)
srcIndex += gf_ret; objc -= gf_ret;, as the reporter suggested.
b9ce8b73e4.patch: VERIFIED
mcloadedlocales get -> unknown subcommand "get": must be clear, or loaded; mcloadedlocales present en -> wrong # args: should be "msgcat::mcloadedlocales subcommand"; loaded -> uk_ua uk {}; doc documents get/present ?locale?.
FIXED since 9.0 (fa310f2735, 2022-05-27 "msgcat documentation: reflect code", main and core-8-branch); still wrong on core-8-6-branch
msgcat::mcloadedlocales get fails ("must be clear, or loaded") on main, 9.0.5, 8.6.18 as the code intends. main/9.0 msgcat.n documents loaded/clear; 8.6 tip msgcat.n still documents get, present and a ?locale? argument.
get/present. Proposed backport of the doc text to 8.6.
Status now: Closed (Fixed)
FIXED since 8.6.9 (TIP 525 a4ea2b2387, 2018-10-29; repaired by 0ef0b36b31, 2018-11-08)
FIXED since 9.0.0 (TIP 402 "General Platform UNC Support", merged c1632c3763, 2022-10-04); still present in 8.6 (8.6.7–8.6 tip), by design there
file join //a/b -> //a/b, file join //a/b //c/d -> //c/d, file join //host share file -> //host/share/file, file normalize //a/b/x -> //a/b/x; 8.6.8+ give /a/b etc. (8.6.6 kept //a/b but not //host share file). With testsetplatform windows all versions give file join //myprinter myqueue myfile -> /myprinter/myqueue/myfile, while file join //myprinter/myqueue myfile keeps //: a bare //server without a share is not a UNC root on Windows.
83116f5e05.patch: VERIFIED
man -l doc/Async.3 renders the new paragraph correctly
FIXED since 9.0.0 / 8.7 (TIP #511, 1a6b389968, 2021-08-20) — still DOCS on 8.6
Status now: Closed (Fixed)
FIXED since 8.6.15 / 9.0.0 (5e7ea80f7b, 2024-03-04, clock.tcl LegacyTimeZone; bb22bd59d0, 2024-03-11, tclGetDate.y free-form parser)
clock format ... -timezone :America/Anchorage output scans back exactly (free-form and -format "... %Z ...") from 8.6.15 on; 8.6.14 and older fail with "syntax error" / "time zone akdt not found"
win constraint)Status now: Closed (Fixed)
FIXED since 8.7a3 / 9.0.0 (71618fd407, 2018-05-26 "Fixed test process-7.3": test limited to the win constraint)
make test -file process.test (18 total, 17 passed, 1 skipped (7.3, win)); 9.0 tip tcltest: same skip
exit -1 to look like a killed child. On Unix it is exit status 255 (CHILDSTATUS), which is correct. Only on Windows does exit code 0xFFFFFFFF map to CHILDKILLED. The second problem (missing cleanupTests) was fixed by dgp in 743007c3cc on 2018-05-11.
exit -1 is just status 255). Can be closed.
Status now: Closed (Fixed)
FIXED since 8.6.11 (4454ae265c, 2019-11-27, "Don't bother paths of 64-bit SDK any more", core-8-5-branch; merged to 8.6 by ca372c7c7e the same day; 8.6.11 tagged 2020-12-31)
test ... == ... (line 4399 "unexpected operator") is also gone from win/configure on main
link/rc are used. Can be closed as fixed.
Status now: Closed (Fixed)
FIXED since 9.0.0 (TIP #634 a3a43c9363, 2022-10-05: TclVarHashTable got an arrayPtr back-pointer, so unsetting an element through a link now reaches the parent array and calls DeleteSearches)
array startsearch + unset l invalidates the search. 8.7b1 still has the bug. 8.6.18 has no [array for]; there the startsearch variant keeps the search alive (nextelement returns the next key). That is harmless, because the element stays in the hash table while the link refers to it. Branch bug-e87bcf819f (2018) was never merged.
Status now: Closed (Fixed)
FIXED since 8.6.14 / 9.0.0 (72f78b6085, 2023-06-03, for af3ebc5faf); branch avl-fix-clock-scan-option-prefixes (c41ad33cb4, 1f26e5f3f1, 2018-04-08) was never merged, the same fix was done separately
clock scan 01/02/2003 -form %d/%m/%Y gives 2003-01-02 (the format is ignored, free-form scan) on 8.5–8.6.13 and 2003-02-01 from 8.6.14 on; -gm/-t/-l prefixes also work on current versions
saw($flag) with the abbreviated flag but tested saw(-format) etc.
56ab601b7d.patch: VERIFIED
testobj duplicate, regenerate the copy's string, eval the original) -> a {;} list b (the original is wrongly treated as canonical)
b; tests listObj, list, lindex, lset, lrange, lreplace, concat, eval, basic, lsearch, cmdIL: 0 failed
FIXED since 9.0b1 (fe628d36ce, 2023-07-16, for a366c6efee; on top of the new list store c3c75e63cd); still REPRODUCED on 8.6
testobj duplicate → regenerate the copy's string → eval the original): 8.6 tip returns a {;} list b (original evaluated as a canonical list, ; ignored), main and 9.0 tip return b.
canonicalFlag = 1 on the List struct, which is shared with the original by DupListInternalRep/TclListObjCopy. 9.0 only sets LISTSTORE_CANONICAL when storePtr->refCount < 2.
refCount < 2 guard, as in 9.0; the test fails on unpatched 8.6 tip; listObj, list, lindex, lset, lrange, lreplace, concat, eval, basic tests pass
Status now: Closed (Fixed)
FIXED since Tk 8.6.9 (Tk e972802e92, 2018-10-30, culler, "Many updates for macOS")
MIN_REQUIRED < 1080, at core-8-6-9 < 101000, since 8.6.10 MAC_OS_X_VERSION_MAX_ALLOWED < 101000; tkMacOSXInit.c uses the same guard (Tk 8.6 and main)
nonPortable)Status now: Closed (Fixed)
FIXED since 8.7a3 (test-side: e0ed0ab7c7, 2018-05-27, unixNotfy-1.1/1.2 constrained nonPortable)
--disable-threads (select notifier): unixNotfy.test passes, 1.1/1.2 run and pass. 8.7b1 built --disable-threads (epoll notifier): 1.x skipped (nonPortable); forced with -constraints nonPortable they still hang (killed after 30 s). main/9.0 have no unthreaded build any more and also mark 1.x nonPortable.
FIXED since 9.1.0 (TIP 755, Tcl_RegisterPostInitProc; merged 01705864c9, 2026-06-02); still REPRODUCED on 9.0 and 8.6
interp create child; child eval package require tcl::test gives 9.1.1 and testpreferstable exists in the child. 9.0 tip and 8.6 tip: package require of Tcltest/tcl::test in a child fails, while load {} Tcltest child works (the static library is registered with Tcl_StaticLibrary). package.test passes on main and 9.0, with no skipped testpreferstable tests (dgp's 2017 workaround in package.test).
load {} Tcltest $child is the workaround and the test suite already uses it)
FIXED since 9.0 (Tcl_HashTable.numEntries is 64-bit Tcl_Size, earlier size_t); 8.6: CANNOT-TEST (needs >2^31 entries, well over 100 GB RAM), still int by code reading
int numEntries, tclDictObj.c int numElems = numEntries * 2 in UpdateStringOfDict overflows already at 2^30 entries)
int; changing them is an ABI change.
Status now: Closed (Fixed)
FIXED since 8.6.9 (test-only fixes: ad4bdf3aa8 2018-10-09 sorts the glob results in macOSXFCmd-4.1, backported in a5f5207521; 9e48ee9cb3 2018-10-11, on 8.6 51f1b3295b 2018-10-17, marks the rsrclength test nonPortable because it only passes on HFS+, not APFS)
nonPortable, macOSXFCmd-4.1 wraps every glob in lsort. Not run (no macOS).
Status now: Closed (Fixed)
FIXED since 8.6.10 (1688d8f73e, 2019-01-08: "missed load of tcltest-library in sub-process" for io-60.1 and chan-io-60.1)
catch {load $::tcltestlib Tcltest}. Not run on MSYS.
-load of the Tcltest DLL; the child [interpreter] is plain tclsh without testbytestring.
Status now: Closed (Fixed)
FIXED (test constraint): 38eca27069 2019-01-14 restored the XP-only constraint on fCmd-9.4.a in core-8-branch. The test was later dropped altogether: main, 9.0 and 8.7b1 only have the unix fCmd-9.4. On 8.6 it always kept win2000orXP (since 2010), so it is skipped on Win7+.
Status now: Closed (Fixed)
FIXED since 8.6.9 (tests relaxed in 59a4bcc685, 2018-07-20)
win/52f7abe82f.tcl checks the five commands against the current test expectations and prints a VERDICT line
<dir>/CON.txt is no longer the console device, every command fails with POSIX ENOENT, which the current tests accept. cmdAH.test -match of the five tests: 5/5 pass with tcltest91 and tcltest86 (MSVC builds; the code path is the same for MSYS2).
CON.txt inside a directory maps to the console; Windows 11 gives ENOENT, like the MSYS report
Status now: Closed (Fixed)
FIXED since 8.6.10 (1688d8f73e, sebres, 2019-01-08; merged to core-8-branch/trunk)
openpipe used testbytestring, but the child is a plain interpreter without the Tcltest package, so it failed with "invalid command name testbytestring" (dgp's question: the constraint is evaluated in the parent, not the child). 1688d8f73e makes the child load $::tcltestlib Tcltest; ad420b8994 (2025-02-24) hardened it further.
Status now: Closed (Fixed)
FIXED since 8.6.10 (e8d0d31e48, 2019-03-07, for ticket 9471e6e304; also in 9.0/main)
Status now: Closed (Fixed)
unixInit-3.1 FIXED since 8.6.9 (a1207d9a2f, 2018-11-13); unixFCmd-20.1 FIXED on main since 9.1.0 (14e87701df, 2026-09-21), REPRODUCED (9.0, 8.6)
Status now: Closed (Fixed)
FIXED in tclconfig (f636db8084, 2020-02-11, for ticket f20bee173b); TEA packages bundled with 8.6.11+ / 9.x get it with their refreshed tclconfig
${SHLIB_LD} -o $@ ... and LDFLAGS only got in through SHLIB_LD, which only Linux (and Darwin) set with ${LDFLAGS_DEFAULT}. Now MAKE_SHARED_LIB is ${SHLIB_LD} ${LDFLAGS} ${LDFLAGS_DEFAULT} -o $@ ... for every non-Windows platform, NetBSD included.
FIXED since 8.6.7 (432f9304f2, 2017-06-26), main symptom; ticket intentionally left open by dgp for the remaining question of how [tailcall] should add to -errorinfo
proc demo {} {tailcall error foo}): 8.6.6 gives "Tcl bug: unexpected stack trace in unknown"; 8.6.7, 8.6.8, 8.6.18, 9.0.5, main all give foo with errorInfo foo / while executing "error foo" / invoked from within "demo" (no "(procedure demo ...)" line, since tailcall removed the frame).
Status now: Closed (Fixed)
FIXED since 9.0.0 (TIP 278, 580ef6f047, 2017-11-03 on trunk; 9.0.0 released 2024-09-25)
$a::a and variable a::a now both refuse to fall back to ::a::a. 8.6 tip, 8.5.19, 8.4.20: $a::a falls back to ::a::a while variable a::a errors, as reported. (upvar a::a resolves in the global caller frame, so it is not a counter-example.)
$a::a and variable a::a agree. 8.6 keeps the old behaviour on purpose. Closing as fixed in 9.0.
39f6304c2e.patch: VERIFIED
set int -0x -> can't set "int": variable must have integer value; same for int +0b, wide -0o; set real -. / +. / -0x -> variable must have real value
0 -0x, 0 -., ...); link.test 78 passed / 0 failed; var.test 217 passed, 4 skipped, 0 failed
FIXED since 8.6.7 (2017-08-09; also on core-8-5-branch after 8.5.19, unreleased) (jan.nijtmans, branch bug-39f6304c2e merged into core-8-5-branch, core-8-6-branch and trunk 2017-01; the reporter confirmed on 2017-01-25). A remaining gap (avl42, 2017-02-15) is REPRODUCED (main, 9.0, 8.6).
testlink on main, 9.0 tip, 8.6 tip. -, +, empty, 0x, . and 1e- are accepted everywhere. Still rejected: -0x, +0x, -0b (int and double) and -., +. (double).
., so a sign before them is refused
[+-]. for doubles. link.test passes.
-0x, +0b, ...) and -. / +. for doubles are still rejected on 9.1. Proposed fix with test link-2.11 (prototype). After that, the ticket can be closed.
Status now: Closed (Fixed)
FIXED since 8.7a1/9.0 (TIP 458 merged to trunk as 858569fb04, 2017-05-18, after the branch fixes the reporter mentions)
Status now: Closed (Fixed)
FIXED since 9.0 for extensions that use the new API (TIP 511 Tcl_AsyncMarkFromSignal, 1a6b389968, 2021-08-20, in 8.7/9.0); REPRODUCED (main, 9.0, 8.6) with plain Tcl_AsyncMark called from a signal handler, which is what the ticket (TclX) does — that usage stays unsafe by design and 8.6 has no alternative.
configure --with-system-libtommath, default yes w…FIXED since 9.0 (TIP 538 "Externalize libtommath", d796a3955d 2019-12-13 on core-8-branch; unix configure --with-system-libtommath, default yes when tommath.h is found; also in 8.7). 8.6 keeps the bundled copy.
configure --with-system-libtommath (used by default when an installed libtommath is found). 8.6 will keep the bundled copy; suggest closing.
Status now: Open
regexp-compile-runtime-switch, in main: Fix [1902890]: compiled [regexp] did not treat an RE value starting with "-" as a switch, unlike the command. When the RE is not known at compile time and thereFIXED on main only, unreleased (6e93204003, 2026-10-14); REPRODUCED (9.0, 8.6)
proc c3 {} {set switch -nocase; regexp $switch "Looking for -nocase"}: main "wrong # args" (same as $cmd $switch ...), 9.0/8.6 return 1.
Status now: Closed (Fixed)
FIXED since 8.6.6 (point 2: 5ed3db2343 on core-8-6-branch, 5aad54f649 on trunk, 2016-06-14: _MCW_PC is not passed to _controlfp on _WIN64). Point 1 is also resolved: the Thread nmake build now generates pkgIndex.tcl from pkgIndex.tcl.in with @PKG_LIB_FILE@ = $(PRJLIBNAME), which carries the build's suffix (g for debug), so a debug build's index loads its own debug DLL.
Status now: Closed (Fixed)
FIXED (jan.nijtmans, 5e24c6a9db on bug-9b47029467631832, merged to trunk 2016-02-22; test env-7.3). The fix holds on main, 9.0, 8.6 and 8.5.
info exists env(...). env-7.3 is in tests/env.test on main.
Status now: Closed (Fixed)
FIXED since 8.5.13 (662a69f571, 2012-09-07, backport of 5a5e87fae7 from 2008 that was in 8.6.0) "Fix missing CLOEXEC on internal pipes [2417695]"
exec ... & children, each entering the event loop first; the leaf counts its pipe fds) with N=0/1/5: the count stays constant on main (0, epoll/eventfd), 9.0.5 (0), 8.6.18 and 8.6.0 (2, its own notifier pipe), 8.5.19 and 8.5.9 (0). The local 8.5 builds are non-threaded and have no notifier pipe, so the 8.5.9 leak itself could not be shown; the verdict rests on the commit.
Status now: Closed (Fixed)
trunk, in main: Fix 7d47ba7d94: the regexp engine could overflow the C stack on deeply nested REsmusl-stack-limit, in main: Fix 7d47ba7d94 on musl: TclpGetCStackLimit() returned NULL on Linux without glibc, so the regexp engine assumed a 1 MB stack and stack-4.1 segfaulted. Use pthtrunk, in main: 7d47ba7d94 follow-up: on musl: TclpGetCStackLimit() returned NULLregexp-stack-depth, in main: Fix 7d47ba7d94: the regexp engine could overflow the C stack on deeply nested REs. Rebase to trunkFIXED on main only, unreleased (4a966b9df4, 2026-10-19); REPRODUCED (9.0, 8.6: SIGSEGV)
(^$)+ returns 0 everywhere. 40000 nested parens: main "regular expression is too complex", 9.0/8.6 segfault. 600 nested (?=: main returns 1, 9.0/8.6 segfault.
Status now: Closed (Fixed)
FIXED since 8.6.11 (081a8b9b50, 2020-07-13, branch safe-bugfixes-8-6, merged before 8.6.11 of 2020-12-30)
firstpass).
FIXED since 9.0.0 (TIP 688 clock rewrite 7137ea11e9, 2024-04-01, plus TIP 690 "-valid 1 by default" 49e8257d9a/f330be6e51, 2024-03/04); still present in 8.6 and 8.7b1
clock scan "2015 02 06 10 00 00 2" -format "%Y %m %d %H %M %S %u" raises "unable to convert input string: invalid day of week", and 2015-02-31 gives "invalid day". 8.6.18 and 8.7b1 accept both silently (8.6 has no -valid option).
Status now: Pending (Remind)
FIXED since 8.6.7 (likely; ad65e576ee, 2017-05-01) — REPRODUCED once on the pre-fix baseline 8.6.6, never on 8.6 tip, 9.0, 9.1 (8 runs each)
FIXED since 8.6.2 (f076f44f1d, 2014-07-17)
FIXED since 8.6.2 (44648f6210, 2014-07-11, dgp) — resolution is already "Fixed"; left Open on purpose ("I welcome better solutions, but for now I just want to plug the leak")
Status now: Closed (Out of Date)
FIXED since 9.0 in practice (TIP 458 epoll/kqueue notifier waits in the calling thread, so the signal interrupts epoll_wait); REPRODUCED on 8.6 (threaded select notifier). NOT-A-BUG by contract: Tcl_QueueEvent does not alert the notifier, and calling it from a signal handler is not async-signal safe — TIP 511 Tcl_AsyncMarkFromSignal (8.7/9.0) is the supported way.
3606119fff.patch: VERIFIED
make test TESTFLAGS="-file F -match T", script work-a1/v1/3606.sh): only load-8.3b fails (Total 30 Passed 0 Skipped 29 Failed 1); the ones named in the ticket pass alone
FIXED for all tests named in the ticket (load-4.2, 7.4, 8.1, 8.3a, 8.4, unload-2.3-2.6, 3.3-3.7, 4.1-4.6 pass alone on main and 8.6 tip); the newer load-8.3b (split from 8.3 in 2021, 828291fc64) still fails alone on main and 8.6
Status now: Closed (Fixed)
FIXED since 8.6.7 (dgp's test-suite backlog merged in 98f348e049, 2016-07-18)
catch {...} lines between tests.
FIXED since 8.6.0 (df9c4cb142 "More variable cleansing", dkf, 2009-10-29 on trunk); only 8.5 (EOL) still has it
-match info-30.2 and -match info-30.3 alone: pass on main, 9.0 tip, 8.6 tip tcltest builds. They fail with 8.5.13 and 8.5.19 on the 8.5 tree ("can't read res": the 8.5 test uses set res in namespace eval xxx, which writes ::res only if a global res is left over from earlier tests).
res left by earlier tests. 8.6+ uses variable res / $xxx::res.
variable res). Only the EOL 8.5 branch still has the old tests; closing.
Status now: Closed (Fixed)
FIXED since 8.6.7 (98f348e049, 2016-07-18)
history clear; a setup with history clear; history add "Testing" was added.
Status now: Closed (Fixed)
FIXED since 8.6.9 (9e55a28229 "Remove dependencies between tests in env.test", 2018-06-17)
Status now: Closed (Fixed)
FIXED since 8.6.6 (98f348e049, 2016-07-18, dgp "merge backlog of test suite & doc improvements": chan-io-33.5 / chan-io-52.11 / io-52.11 got their own -setup; io-33.5's file is now created at file level)
3598502fff.patch: VERIFIED
man -l doc/ListObj.3 renders the new section correctly; its statements match the 8.6 code
FIXED since 9.0 docs: doc/ListObj.3 documents both points on main and 9.0 — the NULL-objv preallocation (33a6f75e9c, 2020-04-24, from 8.7) and "require an unshared listPtr" in REFERENCE COUNT MANAGEMENT (5b3ba7d74a, 2021-04-26). 8.6 ListObj.3 has the NULL-objv text but no unshared-listPtr rule (the code panics "called with shared object").
Status now: Closed (Fixed)
FIXED since 8.5.14 / 8.6.1 (590472b443 trunk / db771d0a61 core-8-5-branch, 2013-01-19)
typedef struct stat Tcl_StatBuf on Unix, so the musl #define stat64 stat problem cannot occur.
struct stat64 before <sys/stat.h> had been seen. The final fix (after the 8abba84224 revert because of OSX Leopard) put the platform port header before tcl.h. The leftover branch bug-3598300 (rebased 2018/2019, never merged) only drops HAVE_STRUCT_STAT64 on Apple.
struct stat. Closing.
Status now: Closed (Fixed)
FIXED since 9.0.0 (mostly; dac224dbfc by jan.nijtmans, 2016-06-27, plus later magic handling in tclStubLib.c, e.g. 7704f91f2e, 2025-01-07). Part of dgp's branch bug-3588687 was merged to trunk for 8.6.0 (e738bbbfd9, 2012-11-29).
Tcl_InitStubs is a macro that passes the extension header's TCL_STUB_MAGIC and TCL_MAJOR/MINOR_VERSION (in exact) to the stub library. The library checks them against the interp's table and gives clear errors ("this extension is compiled for Tcl 8.6"). Tcl 8 headers (no version bits) are checked against the Tcl 8 magic, so 8-header + 9-libtclstub + 9 interp is refused. 8.6 keeps the 3-argument function, but all 8.x tables share one magic and layout, so the mismatch cannot arise there.
FIXED since 8.6.0 (still present in 8.5.19, the last 8.5 release); exact check-in not identified
line 5) and 8.5.19 (wrong: line 4, and off by one in a proc body after ;# lines)
;# comment; the 8.6 compiler (TclCompileScript line tracking via envPtr->line) counts it correctly.
Status now: Closed (Fixed)
FIXED since 8.6.14 / 9.0 (tests rewritten: apnadkarni's testchmod fixes, merged to trunk in 24072d92fc, 2023-03-07; 2.8.1/tmpspace fixed in 2012 by jan.nijtmans)
#pragma GCC diagnostic ignored "-Wdeprecated-declarations", trunk 4760483bbd …Status now: Open
FIXED as far as the warnings go (deprecation warnings silenced by #pragma GCC diagnostic ignored "-Wdeprecated-declarations", trunk 4760483bbd 2015-04-09; the pragma is in 8.6 too); the deprecated NSModule APIs are still used on main, 9.0, 8.6, now only under TCL_LOAD_FROM_MEMORY (load from memory, e.g. from zipfs)
2009 -format %Y gives 2009-07-09 and 2009/09 -format %Y/%m gives 2009-09-09 w…FIXED since 9.0 (TIP 688 clock engine, dd916eacf3, 2024-04-01): 2009 -format %Y gives 2009-07-09 and 2009/09 -format %Y/%m gives 2009-09-09 with base 2012-07-09, so the scanned year/month are kept; the missing day still comes from the base. 8.6.18 and 8.7b1 still return the base date.
clock scan "Mar. 1980" now fails with "invalid day"; with `-valid …FIXED since 9.0 (TIP 688, dd916eacf3, 2024-04-01, validation on by default): clock scan "Mar. 1980" now fails with "invalid day"; with -valid 0, and in 8.6.18, it still gives 2017-08-01 for base 2012-07-09.
Status now: Closed (Fixed)
FIXED since Thread 2.7.1/2.8.0 (Thread check-in 6e420680e0, 2014-08-14, "Fix [3534607]: tpool::get sets errorInfo incorrectly")
proc foo {} {error "my error"}; foo then catch tpool::get. errorInfo and -errorinfo are correct, with no doubled first line, on main + Thread 3.0.7 and 8.6.18 + Thread 2.8.13.
Status now: Closed (Fixed)
FIXED since 8.6.12 / 8.7a3 (8619c767c0 core-8-branch, 2019-12-24; 8.6: 70529bfafa, 2021-02-08)
${CFLAGS} ... -I${GENERIC_DIR}, core-8-6-12 and later have -I"${BUILD_DIR}" -I${UNIX_DIR} -I${GENERIC_DIR} -I${TOMMATH_DIR} ${CFLAGS}. The main build log confirms that Tcl's own -I come before the user CFLAGS/CPPFLAGS.
-I/usr/local/include) into CFLAGS, and STUB_CC_SWITCHES put CFLAGS before Tcl's own -I dirs. An older installed tclTomMath.h/tclTomMathDecls.h therefore shadowed the source tree's copy and produced a reference to a missing TclBN_ symbol (pooryorick saw the same thing on Linux). Commit 8619c767c0 "Put our own included (-I) directories before directories coming in though CFLAGS" fixed it.
-I/usr/local/include (an older installed tclTomMath*.h) coming before Tcl's own include dirs. Since 8619c767c0 (8.6.12, 8.7/9.0) Tcl's -I directories come first. Closing as fixed.
Status now: Closed (Fixed)
FIXED since 8.6.14 (903c407a86, 2023-06-19, merged to 8.7 6e88d47b21 and main 2bedc17b74)
socket -server ... 9999; now they use port 0.
Status now: Closed (Fixed)
FIXED since 8.6.7 (7a3c8a4b0d on core-8-6-branch, 2016-10-11, fix for 3cc1d91345; on the 8.5 branch 509d964dcf, after 8.5.19, so in no 8.5 release)
clock scan 2008-02-30 -> "invalid day", 24:62:80 -> "invalid time", -valid 0 gives the o…Status now: Closed (Fixed)
FIXED since 9.0 (TIP 688, dd916eacf3, 2024-04-01): clock scan 2008-02-30 -> "invalid day", 24:62:80 -> "invalid time", -valid 0 gives the old result. 8.6.18 unchanged (no -valid option).
-valid 0 restores the old behaviour. Suggest closing.
Status now: Closed (Fixed)
FIXED since 8.6.2 (Linux analysis points to 578237c4c6, 2014-04-10; not bisected)
load C:/.../ld/sub/ext.dll Ext fails on 8.6.0 and 8.6.1 ("this library or a dependent library could not be found"), works with backslashes; works with both forms on 8.6.2, 8.6.18, 9.0.5, 9.1b1 (and 8.5.19).
Status now: Closed (Fixed)
FIXED since Thread 2.8.0 (0839286864, 2016-05-31; branch bug-3407860fff 679580a1b4)
thread::exit 42 -> thread::join returns 42; thread::exit 1 2 -> "wrong # args: should be "thread::exit ?status?""; no arg -> 666. Thread 2.8.0 released 2016-07-15.
FIXED (unreleased; 9f7ba66066, 2026-09-13, core-8-6-branch, merged to 9.0 cdf41ba7d7 and main 0ba0bea858)
while {1} loop waiting for two reads in the same millisecond. The new ::testClock::aligned-times helper runs the loop inside timerate ... 1000 and raises "unable to retrieve stable value ... in 1s", so a very slow build gets a failure instead of a hang. Released 9.0.4 and 8.6.18 still have the old loop.
:GMT0 after GMT0) REPRODUCED (…3387109fff.patch: VERIFIED
clock format 0 -timezone GMT0, then -timezone :GMT0) -> 0 GMT 1 {can't read "::tcl::clock::TZData(:GMT0)": no such element in array} (8.6 tip: same, can't read "TZData(:GMT0)")
0 GMT 0 GMT; clock.test (TCL_LIBRARY=<wt>/library ./tcltest): 8764 total, 8757 passed, 7 skipped, 0 failed
part 1 (names with "+"/digits) FIXED since 8.6.16 / 9.0.1 (67e7522bd1, 2024-10-29, ticket 2c237beffb); part 2 (:GMT0 after GMT0) REPRODUCED (main, 9.0, 8.6, 8.5)
:Etc/GMT+5 fails up to 8.6.15, works from 8.6.16; regexp gone in core-9-0-1)
TZData($fileName), but a tzdata file sets TZData(:$fileName). After -timezone GMT0 (parsed as a POSIX zone, which sets TZData(GMT0)), -timezone :GMT0 skips sourcing the file, and SetupTimeZone then fails with can't read "::tcl::clock::TZData(:GMT0)".
clock format 0 -timezone :GMT0 fails after -timezone GMT0. Proposed fix: check TZData(:$fileName), test clock-71.1.
Status now: Closed (Fixed)
FIXED since 8.6.0 (not reproducible with releases)
package require TclOO works on 8.6.18 (1.1.0) and 9.0.5 (1.3.1); tdbc itself is not installed in these builds, so tdbc::odbc was not loaded
package require TclOO works), so the error from the 8.6b1 build no longer happens. Closing as out of date; tdbc problems belong in the tdbc tracker.
3363556fff.patch: VERIFIED
FIXED since 9.0.0 (f9a80c2c9e, 2023-04-13, "Clean up Tcl_SetObjResult()", which dropped the misleading inline comment). Still present on 8.6 (comment only). The man page SetResult.3 never promised NULL support; the quoted text came from 8.0a1 docs.
Status now: Closed (Fixed)
FIXED since 8.5.14 / 8.6.1 (bf36815647 trunk, f8694d903a core-8-5-branch, 2013-02-05, ticket [3433012])
configure --disable-load CFLAGS=-DTCL_LOAD_FROM_MEMORY=1 links fine and load reports "dynamic loading is not currently available". 8.5/8.6/9.0/main sources all have the fallbacks. Not built on macOS.
if "$$y != 1" case reporting line 14 was fixed by 8.5.9. Dynamic command words insid…3156499fff.patch: VERIFIED
$cmd42, [string cat info42], {*}[list info42], info42 on lines 2-5) -> -1 -1 -1 5; work-a3/315649.tcl (main script) -> source line -1 cmd $p1, source line -1 cmd [set p1]
testConstraint testevalex line repeats info.test:1412 and can be dropped. It conflicts textually with 1695203fff.patch, since both append info-42.x at the end of info.test; that is trivial to merge.
2 3 4 5; 315649.tcl -> lines 6, 8, 10; the ticket attachment info_frame_3.tcl reports the expected line in every "should be" case (60, 14, 27, 35, 64, 68). Tests info, basic, trace, proc, source, parse, eval, apply, coroutine, nre: 0 failed
Mostly FIXED, one case REPRODUCED (main, 9.0, 8.6, 8.5). The if "$$y != 1" case reporting line 14 was fixed by 8.5.9. Dynamic command words inside procs (p$p2, [namespace current]::test_proc) were fixed in 8.6.6 by 4b61afd660 (c94c7c4f4c on core-8-6-branch, 2016-06-16). Still wrong: a dynamic command word ($cmd, [..], {*}) in a script evaluated by TclEvalEx (the tclsh main script, Tcl_EvalFile/Tcl_EvalEx from C) reports line -1. That is the reporter's "64 should be source line" case.
sourced files take the compiled path and are correct.
Status now: Open
normalize-dotdot-after-link, not merged: Fix 3577801fff, 3570244fff, 3183016fff and 3099612fff: on Unix, [file normalize] and [cd ..] used the target of a link literally when ".." followed it, FIXED since 8.5.0 (8.4-only behaviour; no single check-in, came with the 8.5 path normalization rewrite)
file stat/exists/isdirectory etc/httpd/run/../tmp/. with run -> ../../var/run resolves through the link (same inode as var/tmp). 8.4.20 fails (lexical).
x/.. lexically; 8.5+ TclFSNormalizeAbsolutePath resolves the link before ... Normalize is covered by filesystem-1.26..1.28, but no test checks access through link/...
..); filesystem-1.26..1.28 cover file normalize. Proposed test filesystem-1.56 covers file stat/file exists through a relative link and ... Can be closed once the test is added.
Status now: Closed (Fixed)
FIXED since 8.6.0 (0b5e337729, 2012-04-09)
{3 2 y! {}} {x! y!} {x! y!}.
Status now: Closed (Fixed)
FIXED since 8.6.6 (c96de4ed64, 2016-07-08, ticket a47641a031; merged to trunk 4589a9d17c)
Status now: Closed (Fixed)
regexp-nocase-abbrev, in main: Rebase to trunkFIXED on main and core-9-0-branch, unreleased (main 43345b959d 2026-10-15, 9.0 a478067f7a 2026-10-15; will be in 9.0.5); REPRODUCED (8.6 tip, 8.6.18)
set c regexp; $c {*}$a with a={-n FoO dogfood}: main and 9.0 tip return 1, 8.6 tip and 8.6.18 give "bad option -n"; compiled form returns 1 everywhere. (Literal regexp {*}{...} is compiled, so it is not a valid interpreted test.)
regexp - $str now says ambiguous option "-" instead of bad option "-" (consequence of making all options abbreviatable; harmless).
Status now: Closed (Fixed)
FIXED since 8.5.11 (241cdd7be1, 2011-08-30)
interp limit {} commands -command pust -value 3 on main, 9.0.5, 8.6.18, 8.5.11, 8.5.19: error "limits on current interpreter inaccessible"; 8.5.9/8.5.10 panic "installing limit callback to the limited interpreter".
Status now: Closed (Fixed)
FIXED since 8.6.1 (5567ed9fa5, 2013-03-19)
dir/*). Windows repro: win/3023017fff.tcl.
dir/* (ERROR_INVALID_NAME) now fails as it should.
file isdirectory dir/* still returns 1 on 8.6.1 or later.
Status now: Closed (Fixed)
FIXED since 8.6.1 (0d1bc53480 "mSys doesn't have $PWD" + d433d96843 "$builddir is a local variable", both 2013-01-08, trunk; 8.6.1 tagged 2013-09-19)
--with-tcl=$(PWD), core-8-6-1 and later (8.6 tip, 9.0, main) use --with-tcl=$$builddir, exactly the fix proposed in the ticket.
Status now: Closed (Fixed)
FIXED since 8.6.1 (993c21721a, 2013-03-03, "retire obsolete termio and sgtty code", jenglish/joe)
ttyPtr->stateUpdated; the whole sgtty branch was removed.
FIXED since 8.6.0 (2f3da59db1, 2012-11-14, ticket [2933003]; L_tmpnam definition removed by 9a008e7622, 2015-07-15). 8.5 still has the old code (EOL).
char fileName[L_tmpnam + 9] filled with P_tmpdir. Now TclpCreateTempFile calls TclUnixOpenTemporaryFile, which builds the template in a Tcl_DString from DefaultTempDir() ($TMPDIR, then P_tmpdir only #ifdef P_tmpdir, then TCL_TEMPORARY_FILE_DIRECTORY).
Status now: Closed (Fixed)
FIXED since 8.6.12 (75f8d23bb7, 2021-11-01); earlier releases already matched file name and -l flag
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so' (libtcl86.so, matching -ltcl86, no .so.1 mismatch). From core-8-6-12 on, and on 9.0/main, FreeBSD-* uses the common Linux branch (libtcl8.6.so / libtcl9.x.so, -ltcl8.6). Not built on a FreeBSD VM.
(Optional check on the FreeBSD VM: ./configure && make && ./tclsh in an 8.6/9.0 tree.)
Status now: Closed (Fixed)
FIXED since 8.6.1 (same fix as 3009227fff: 0d1bc53480 + d433d96843, 2013-01-08)
Status now: Closed (Fixed)
FIXED since 8.6.13 / 9.0.0 (a3ed092aab, 2022-07-27, the fix for duplicate b3977d199b): torn CRLF in auto mode gave an extra empty line (gets returns 0) in 8.4.20–8.6.12 (28 of 328 lines in a random-split test). The same check-in caused a new regression, filed as 4c5a98f5a0 (gets merges lines). Update 10-17: first triaged as NOT-REPRODUCED because only current versions were tested.
restore: path when a skipped "\n" is pushed back (so the b3977d199b case, io-29.36.1/2, keeps working). Fixes all repros; io, chanio, ioCmd, ioTrans, encoding, zlib tests pass; io-29.36.3 fails without the fix. For 8.6 the bool needs to become int.
Status now: Closed (Fixed)
FIXED since 8.6b2 (0ff9783605 on trunk, 2010-04-02, plus the follow-up for [2996549]; also in the 8.5 branch source, merge release not checked); IA64 itself CANNOT-TEST
static double tiny = 0.0 with lazy initialization in MakeLowPrecisionDouble (the ticket's 2952904_2.patch), so nothing runs SafeLdExp(denormal) at startup any more.
tiny (0ff9783605, 2010-04-02) is in all branches (8.5, 8.6, 9.0, 9.1). IA64 hardware is gone; closing as fixed.
2924753fff.patch: VERIFIED
FIXED since 9.0.3 (9183ace241, 2025-09-26, merged to main 15f6cb484d); still wrong on core-8-6-branch
localInt variable in TclInterpReady, no longer exist in 8.6/9.…FIXED since 8.6.0 (the C stack check code, TCL_NO_STACK_CHECK, CheckCStack and the localInt variable in TclInterpReady, no longer exist in 8.6/9.0/main); still present on the 8.5 branch, which is EOL
localInt when TCL_NO_STACK_CHECK is defined (CheckCStack expands to 1). Not compiled on Windows.
localInt only used through CheckCStack, which is a no-op with TCL_NO_STACK_CHECK.
Status now: Closed (Fixed)
FIXED since 8.6.11 (a638b9a73b "Merge safe-bugfixes-8-6", kjnash, 2020-08-28; 8.6.11 tagged 2020-12-30)
FIXED since 8.5.9 / 8.6b2 (e6c8bcd32e on core-8-5-branch and 40561c3f87 on trunk, 2009-12-29)
expr {min(3,1,2)} in interp create -safe gives 1); 8.5.7, 8.5.8 fail with invalid command name "tcl::mathfunc::min"
Status now: Closed (Duplicate)
FIXED since 8.6.2 (afaff33553, 2013-09-27, "[219226]: Rewrote how ::env is synchronized ...")
array nextelement env $s returns a name); 8.6.0, 8.6.1, 8.5.19 fail with couldn't find search "s-1-env"
FIXED since 8.7b1/9.0 via a new API (TIP 511 Tcl_AsyncMarkFromSignal, 1a6b389968, 2021-08-20); still present in 8.6 (no fix possible there without the new API)
Status now: Open
binary-format-size-overflow, not merged: Fix 2788582fff and ce4483c2cb: [binary format] with huge counts or offsets panicked or returned a wrong result, because the first pass added the field sizesFIXED since 8.6.7 for [binary scan] (56c454c814 core-8-6-branch / 5c07ae32cf trunk, 2017-05-05, bug 6015221f59); REPRODUCED (main, 9.0) as a panic in [binary format], 8.6 gives silently wrong results
binary format a99999999999999999999 A, x9223372036854775807, x9223372036854775000x9000, @9223372036854775807 abort with Tcl_Panic "negative length specified or max size of a Tcl value exceeded". On 8.6.18 x2147483647x2147483647 and @2147483647x1 overflow int and silently return an empty string.
offset without checking for overflow or BYTEARRAY_MAX_LEN, so Tcl_SetByteArrayLength gets a negative/oversized length and panics (BYTEARRAY_SIZE).
FIXED since 9.0.0 (18d4bd49a6, apnadkarni, 2023-05-20, "Fix c9663296fd. Also refactor memory reallocation."). 8.6 still has no checks (by code reading).
int and newSize * 2 with no check. A 1.7 GB encoding convertfrom iso8859-1 on 8.6.18 worked, so no script-level trigger was found. Tcl_DStringAppendElement on main has no explicit sum check, but it cannot be reached with a 64-bit Tcl_Size.
Status now: Closed (Fixed)
FIXED since 8.6.7 (164b69bdfd / 8e28fedaa0, 2017-06-05, follow-up to 67aa9a2070); main/9.x consistent (the identity encoding is gone in 9.0)
testbytestring (9.x/8.6 tcltest) or encoding convertfrom identity (8.x). main, 9.0 tip, 8.6 tip, 8.6.7, 8.6.18: eq / string equal / non-compiled $s equal all return 0, before and after string length (the overlong sequence now counts as 2 characters). 8.6.6: 0 before and 1 after shimmering. 8.5.18/8.5.19 releases: inconsistent (expr eq 0, string equal 1).
Status now: Closed (Fixed)
FIXED since 9.0.0 (7a665fa1b6, 2024-08-15, dkf "Minor optimisation in the [interp create] implementation")
idIssuer. 8.6 still has the loop from 0 (names are reused after delete there; 9.0 no longer reuses them).
2502037fff.patch: VERIFIED (test-only patch; the bug was already FIXED in 8.6.0)
FIXED since 8.6.0 (f45dcb7151, 2009-03-22, msofer "NR-enable the handling of unknown commands [Bug 2502037]")
FIXED since 8.6.0 for the test itself (79358a4faf, 2009-01-06, dgp: values built with [testdstring], so the parser is no longer involved); the stale comment was dropped in 9.0 (gone in 9.0 and main, still present in core-8-6-branch)
truncate method); 8.6 still rejects the method (feature, not …FIXED since 8.7b1/9.0 (4aa6559799, 2021-03-30, RFE 4b4830eb54 (no TIP): refchan truncate method); 8.6 still rejects the method (feature, not backportable)
truncate method (RFE 4b4830eb54, check-in 4aa6559799), documented in refchan.n. Can be closed as fixed in 9.0.
Status now: Closed (Fixed)
FIXED since 8.6.9 (5acb57c7ae, 2018-04-06, ticket 27b6822849; merged to trunk as 6fe50c20de)
Status now: Closed (Fixed)
FIXED since 8.6.0 (03878f7b0c, 2012-10-05, ticket [3574819]); not on 8.5 (EOL)
xyz, fooaq and goo/a.
cd [makeDirectory tcl[pid]] before the glob tests, so only files the test creates are present.
2114165fff.patch: FIXED-MEANWHILE (2008-09-17, msofer, before 8.6.0; test-only patch verified)
interp eval $i {interp cancel; while 1 {}} -> eval canceled, then interp eval $i {set x 1} -> 1 (and the same with -unwind). Fixed by msofer in HEAD on 2008-09-17 (before 8.6.0); the ticket was left open only as a reminder to add tests, and the patch is test-only.
TclUnsetCancelFlags(iPtr) calls in tclBasic.c disabled, interp-41.2 fails (eval unwound) and interp-41.1 still passes, so the tests do catch a regression. NOTE: fb9acd64a5.patch also adds an interp-41.1; renumbered there (see below).
FIXED since 8.6.0 (msofer in HEAD, 2008-09-17; resolution already "Fixed", left open only as a reminder to add tests)
interp cancel (and -unwind) in a child, the next interp eval works; same in the current interp and through Tcl_EvalEx ([testevalex]). The tclParse.c ordering issue mistachkin mentioned is gone (TclEvalEx lives in tclBasic.c and resets cancellation when numLevels returns to 0).
2030670fff.patch: VERIFIED (test-only patch; the bug itself was already FIXED in 8.5.4)
scan 1 {%100000$d} -> 8.5.3: TclStackFree: incorrect freePtr. Call out of sequence? (panic); 8.5.4 and main tip: 100000 1. The bug was fixed in 2008 (63fdc405dd); the ticket only asks for a test
FIXED since 8.5.4 (63fdc405dd trunk / c547a0a022 core-8-5-branch, 2008-07-29; 8.5.4 tagged 2008-08-14); resolution already Fixed, left open as a reminder to add a test
scan 1 {%100000$d} panics with "TclStackFree: incorrect freePtr. Call out of sequence?" on 8.5.0 and 8.5.3; works on 8.5.4, 8.6.18, 9.0.5 and main
move argument as a word count, so a zero-word block that needed to move to a new stack segment kept its old marker. Fixed by the separate moveWords variable. tclScan.c:Tcl_ScanObjCmd triggers it: with no variables nassign is a 0-byte TclStackAlloc, and a large XPG index makes TclStackRealloc grow it beyond the segment.
Status now: Closed (Fixed)
FIXED since 8.6.0 (b074e043df, 2012-07-31)
Status now: Closed (Fixed)
FIXED since 8.5.3 (8d5cc700eb core-8-5-branch / 68b47f3256 trunk, 2008-04-06)
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE to CFLAGS_DEBUG and CFLAGS_OPTIMIZE for MSVC (absent at core-8-5-2, present from core-8-5-3). win/cat.c on main also uses _read/_write now.
Status now: Open
regexp-stack-depth, in main: Fix 7d47ba7d94: the regexp engine could overflow the C stack on deeply nested REs. Rebase to trunkFIXED (crash) since 8.5.3/8.6.0 (duptraverse depth limit, dkf 2008-07-01, raised to 15000 in 2013); real stack check on main only, unreleased (4a966b9df4, 2026-10-19)
regexp {(x{200}){200}$y} x and (x{222}){222}: no crash on main/9.0/8.6, all give "out of memory". On main reg-33.14 is a normal test again (accepts "too complex|out of memory"); reg/regexp/regexpComp/stack.test pass on main (1649 tests, 0 failed). 9.0/8.6 still mark reg-33.14 nonPortable.
Status now: Open
regexp-compile-runtime-switch, in main: Fix [1902890]: compiled [regexp] did not treat an RE value starting with "-" as a switch, unlike the command. When the RE is not known at compile time and thereFIXED on main only, unreleased (6e93204003, 2026-10-14); REPRODUCED (9.0, 8.6)
proc c1 {} {set pattern --; set text ----; regexp $pattern $text} -> main "wrong # args" (same as command), 9.0/8.6 return 1. regexp $e $s with e=-about: main 0 {} (like the command), 9.0/8.6 0.
Status now: Closed (Fixed)
FIXED since 8.6.0 (TIP #362, registry 1.3, "[registry -32bit|-64bit]", 2010-03-30 per changes; docs a9f31bb325 2010-03-31)
registry ?-32bit|-64bit? option keyName ..., tclWinReg.c uses KEY_WOW64_32KEY/KEY_WOW64_64KEY. Not in 8.5.
registry -64bit get ... from a 32-bit Tcl accesses the 64-bit view. Can be closed.
Status now: Closed (Fixed)
FIXED since 8.7a5/9.0 (TIP #578 "Death to TCL_DBGX", 834ef99124, 2020-07-03); 8.6 unchanged by design
DBGX=g for --enable-symbols, while Unix dropped it in 8.5 (patch 1081595).
Status now: Closed (Fixed)
FIXED since 8.6.12 (346094351f, 2021-03-09, "Fix 8419c55e2c: Tclsh read loop does not handle EINTR"; in 9.0.0+ and main)
file normalize C:/Windows/Sysnative/arp.exe gives …FIXED (file size/exists/open work in 8.6.18 and 9.1); remaining cosmetic bug REPRODUCED (8.6): file normalize C:/Windows/Sysnative/arp.exe gives C:/Windows//ARP.EXE; FIXED on main (9.1.0) by 0ac314cb96 (2026-07-16, also on core-9-0-branch, 32-bit 9.0 not built this run)
file normalize C:/Windows/Sysnative/arp.exe gives C:/Windows//ARP.EXE; FIXED on main (9.1.0) by 0ac314cb96 (2026-07-16, also on core-9-0-branch, 32-bit 9.0 not built this run)
C:/Windows/Sysnative/ARP.EXE on main, C:/Windows//ARP.EXE on 8.6. With prototypes/3463315fff.patch (the 8.6 backport) applied, 32-bit 8.6 also gives C:/Windows/Sysnative/ARP.EXE.
FIXED since 9.1a1 (TIP 723 acb0a91c2c, 2026-01-08: timers use Tcl_GetMonotonicTime()); still REPRODUCED on 9.0 and 8.6
Status now: Closed (Fixed)
FIXED since 8.6.0 (NRE rewrite, a646e4c362, 2008-07-13, removed TclCompEvalObj; every non-inlined command now goes through tclBasic.c:Dispatch where the DTrace cmd-* probes are)
tcl_traceCompile 2 prints the bytecode for scripts run by [eval], [uplevel #0] and [namespace eval]. DTrace probes not tested (no sys/sdt.h here); judged by code: TclNREvalObjv → EvalObjvCore → Dispatch is the single entry with TCL_DTRACE_CMD_ENTRY. 8.5 (EOL) still has TclCompEvalObj.
Status now: Closed (Fixed)
FIXED since 8.6.2 (afaff33553, 2013-09-27, dkf: "Rewrote how ::env is synchronized ... no longer smashes the array", for [219226])
couldn't find search "s-1-env"
Status now: Closed (Fixed)
FIXED since 8.4.16 (ec5ad54498, 2007-09-06)
Status now: Closed (Duplicate)
FIXED since 9.0.4 / 9.1.0 (8e4061a167, 2026-05-21, under b492c33154); REPRODUCED (8.6)
info exists=0 read-error=1 (consistent); 8.6.18 info exists=1 read-error=1 (inconsistent)
Status now: Closed (Fixed)
FIXED in 8.6.7 (probably e015bfe72f, 2017-04-28, f34cf83dd0 "failing to collapse multiple /// into /"; not confirmed by building it. 8.5.19, released 2016-02-08, also gives /bin, so 8.5 got a separate, earlier fix that I did not identify), then intentionally reintroduced in 8.7/9.0 by TIP 402 (c1632c3763, 2022-10-04): on Unix //name is now a UNC-style root, so file normalize //bin is //bin and file split //bin is //bin
// network-prefix code is no longer limited to Cygwin/QNX since TIP 402. One oddity remains: file normalize //bin/ gives /usr/bin/ (symlink resolved, trailing slash kept) while //bin stays //bin.
//bin is a network root by design (TIP 402), so it's left alone. The remaining inconsistency is file normalize //bin/, which gives /usr/bin/ with a trailing slash. Close, or keep open for that?
FIXED since 8.6b2/8.6.0 (3f8b48b6b6, 2010-09-28, TIP 162 commit: "make more use of randomized ports"); 8.5 (EOL) still has the fixed ports
FIXED since 9.0.0 (TIP 602 merge cff0348cb6, 2022-09-14); still present in 8.6 (by design there)
FIXED since 8.4.15/8.5a6 for the test failure (22b6ae1be7, das, 2006-11-10: expected result uses $::env(HOME)); the underlying inconsistency is gone in 9.0 (TIP 602, cff0348cb6)
Status now: Closed (Fixed)
FIXED since 8.6.9 (c07b8490b6 on branch bug-db36fa5122, 2018-03-09)
index "-2" cannot select an element from any list; 9.0 and main error index "-2" out of range. end, end-1 still work.
FIXED since 9.0 on Linux and the BSDs (TIP 458 858569fb04, 2017-05-18: per-thread epoll/kqueue notifier, no notifier thread; first in 8.7a1/9.0); 8.6 and other Unixes (select notifier) still use the notifier thread, with fork handled by pthread_atfork since 8.6.1 (94b207274c, 2013-07-22)
FIXED since 9.1a1 (TIP 723 acb0a91c2c, 2026-01-08, monotonic timers); still REPRODUCED on 9.0 and 8.6 (same bug as 1805794fff)
Status now: Closed (Fixed)
FIXED since 8.5.16 / 8.6.2 (7aa743c0ee on trunk(8.6) and 45d1b34648 on 8.5, 2014-04-04, for 97069ea11a)
Status now: Closed (Fixed)
FIXED since 8.5.0 (kennykb restored zone names in the default format, 2006-07-31; check-in not identified)
Status now: Closed (Fixed)
FIXED since 8.5.15/8.6.1 (rfe-notifier-fork: pthread_atfork() restarts the notifier thread in the child, 94b207274c; merged to core-8-5-branch 02909e227f, 2013-08-01)
testfork, child opens socket -server, parent connects and gets the reply on all three. (Old releases have no testfork/TclX here; the fork date comes from the timeline.)
testfork on 8.6, 9.0 and 9.1. Closing.
FIXED since 9.0.0 (TIP 278, 580ef6f047, 2017-11-03; released 2024-09-25); still REPRODUCED in 8.6 (and 8.5, 8.4)
namespace eval a {upvar x b::x} fails with "parent namespace doesn't exist" while namespace eval a {set b::x} finds ::b::x. On 9.x both set b::x and upvar x b::x fail the same way (relative names no longer fall back to the global namespace), and both work once ::a::b exists, so upvar and set are consistent.
Status now: Closed (Fixed)
FIXED since 8.6.0 (by code reading; 3f8b48b6b6, 2010-09-28, IPv6 rewrite: TclCreateSocketAddress() converts the host with Tcl_UtfToExternalDString before getaddrinfo(); 8.5 got the same in ebf745562a, 2020-08-10). Windows confirmation optional: win/1227201fff.tcl
1201589fff.patch: VERIFIED (tests-only patch; ticket can be closed with it)
expr !n -> 1. On 8.4.2 the test's expressions give syntax error in expression "!n": variable references require preceding $ (also y, n, t, f, tr, !fa, ye, of, !of); 8.4.11 -> 1
FIXED since 8.4.10 (ced7ccb24b trunk / eb0b85b5d7 core-8-4-branch, 2005-05-20)
expr !n, !f, !fa, !of, tr, on work on main, 9.0, 8.6.18, 8.5.19, 8.4.20; ambiguous o is rejected. Unique-prefix booleans are documented indirectly (expr.n -> string is boolean -> Tcl_GetBoolean "may be abbreviated"). The other part of dgp's second patch, accepting eq/ne/in/ni as function names (expr {eq(1)} with a ::tcl::mathfunc::eq proc), fails with "missing operand" in 8.5 through main (not tested in 8.4, which has no ::tcl::mathfunc); a corner case nobody reported.
FIXED on main (9.1.0) by 38f0ce657c (2026-03-25, fix for bca391ab51, "Track current directory for each drive"); REPRODUCED (9.0, 8.6)
subst on a free drive letter, prints VERDICT)
subst Q:, removed in the same session): 9.1b1 cd Q:; cd sub; cd C:; cd Q: gives Q:/sub (and cd C: returns to the C: cwd, Q:x → Q:/sub/x); 9.0.5 and 8.6.18 give Q:/ (and C:/), Q:x → Q:/x. (8.5.19 cannot run the script: no try.)
=X: environment variables; main now tracks them (TclWinUpdateDriveCwd).
cd Q: now returns to the last directory on Q:. 9.0.5 and 8.6.18 still go to Q:/; the fix has not been backported.
Status now: Closed (Fixed)
FIXED since 8.4.15/8.5a6 (22b6ae1be7, 2006-11-10; duplicate of 1569064fff)
FIXED since 8.6.9 (9e55a28229, 2018-06-17, tests only)
encodingswitch iso8859-1 to the setup, so the tests no longer depend on the locale. set x \ub6 showing ? in a KOI8-R terminal is expected.
Status now: Closed (Fixed)
FIXED since 8.5.8 (9039eeb584, 2009-07-23, for [Bug 2826248])
exec echo hi >@$c / 2>@$c with a write-only reflected channel: main, 9.0, 8.6.18, 8.6.0, 8.5.19, 8.5.8 -> channel "rc0" does not support OS handles; 8.5.7 segfaults (the crash fixed by the same check-in).
channel "x" does not support OS handles for channels without an OS handle. Closing as fixed.
1094682fff.patch: PATCH-INCOMPLETE (the harness fix works, but iogt-3.0/4.0/5.0 still fail with knownBug enabled: new expected trails are needed, and someone has to judge whether the new trails are right)
tcltest tests/iogt.test -match 'iogt-[345].0' -constraints knownBug -> 3 failed; echo server dies with invalid command name "tcltests::localIPv4Address" (3.0/4.0), iogt-5.0 returns "" because its script is in -result, not -body.
1 {create/write write write ... flush/write delete/write}, expected 1 {create/write create/read write flush/write flush/read delete/write delete/read}). Default run: iogt.test Total 17 Passed 13 Skipped 4 Failed 0 (same as before).
FIXED since 8.5.16/8.6.2 (67b870b07c / 0d300e1793, 2014-05-09: the constraint became knownBug). The tests still fail when knownBug is enabled (main, 9.0, 8.6), partly because the test harness itself is broken.
iogt.test -match iogt-[345].0 -constraints knownBug on main, 9.0 and 8.6 tcltest: 3 failures.
exec tclsh (whatever tclsh is on PATH) and calls tcltests::localIPv4Address, which isn't defined in that subprocess, so 3.0/4.0 never connect. iogt-5.0 has -result where -body belongs, so its body never runs. With those fixed, the data comes through correctly (iogt-3.0 copy result 1), but the expected audit trails (read/write block sizes) are stale.
tcltests::localIPv4Address, and iogt-5.0 uses -result instead of -body. A harness fix is ready, but the expected traces still need updating.
Status now: Closed (Fixed)
FIXED since 8.4.8/8.5a2 (088b6e6a3c, dkf, 2004-09-03, "Stop NULL interp args from causing crashes", Bug 1020538)
file rename -force A B with B mode 0444 and chmod() failing (LD_PRELOAD shim) — no crash. Code: SetPermissionsAttribute and the other attribute setters guard interp != NULL, and Tcl_PosixError() accepts NULL.
FIXED since 8.4.20/8.5.7 (late exit handlers + WSACleanup moved to them, ferrieux 2009-01-27; backported 2009-04-28; companion fix [Bug 2446662]). The ticket was reopened only so dgp could review the 8.4 backport before 8.4.20, which has since been released (2013) with the change.
Status now: Closed (Fixed)
FIXED since 8.4.13/8.5a4 (b8ef0f05a3 vincentdarley 2006-03-28 on trunk, bfa4344c2c das on core-8-4-branch, "fix to nativeFilesystemRecord comparisons", Bug 1064247)
FIXED since 8.5.0 (the [open]/[file exists] inconsistency; check-in not pinned down, 8.4.20 still has it, 8.5.0 does not); the remaining [file normalize] behaviour is as documented
FIXED since 9.0.0 (TIP 278, merged to trunk in 580ef6f047, 2017-11-03; [info vars] follow-up 5d2e5c3e82, 2024-07-14); still REPRODUCED on 8.6 and 8.4 (by design there, the 2004 fix was reverted for compatibility)
FIXED since 8.5.0 (5b1ae40484, 2003-12-14, "rewrite of file normalization"); the 8.4 backport f4ec15959a was reverted, and 8.4.20 still has the bug
FIXED since 8.5.0 (60f9fa8b4d, 2003-12-12, "allow creation of relative links"); never backported to 8.4 (8.4.20 still writes an absolute target)
Status now: Closed (Fixed)
FIXED since 8.6.0 / 8.5.13 (5a5e87fae7, 2008-12-12, "Fix missing CLOEXEC on internal pipes [2417695]"; 8.5 backport 662a69f571, 2012-09-07)
Status now: Closed (Fixed)
FIXED since 8.4.2 for the configure part (6fef89efec, 2003-02-19: THREADS_LIBS in LIBS while checking pthread_attr_setstacksize); the stack.test recursion crash is moot since 8.6 (NRE, no C-stack recursion for proc calls)
LIBS="$LIBS $THREADS_LIBS"); not run on FreeBSD (a FreeBSD VM run of --enable-threads + stack.test would confirm, but FreeBSD 5 is long gone)
Status now: Closed (Fixed)
FIXED since 8.5.8 (9039eeb584, 2009-07-23)
exec cat <@ $refchan, exec echo >@ $refchan, exec echo >@ $readOnlyFile
chan create) gives channel "rc0" does not support OS handles, while a read-only file used for output still gives wasn't opened for writing. Before 8.5.8, 8.5.0 and 8.5.7 printed nothing for a reflected channel (they died in the getHandleProc==NULL path, Bug 2826248).
582506ffff.patch: VERIFIED (test-only patch; bug already FIXED in 8.6.0)
enter leave (bug); main tip: enter leave enter leave (fixed since 8.6.0, 281b7ede58; ticket only lacked a test)
FIXED since 8.6.0 (281b7ede58, 2008-07-21, msofer: [namespace import] reimplemented on NRE, imported commands now dispatch through the normal eval path); still REPRODUCED on 8.5. Ticket left open only for the missing test (dgp 2008)
Status now: Closed (Fixed)
FIXED since 8.6.14 (98e93f779e, 2023-06-08, ticket c54e4a1aeb; posix_spawnp autodetection 9ed0f4a330, 2023-06-30)
exec true on Linux: 8.6.13 calls plain fork (clone without CLONE_VM); 8.6.14, 8.6.18, 9.0.5 and main use posix_spawnp/vfork. The out-of-memory itself was not reproduced (Linux overcommit hides it; Solaris not tested).
Status now: Closed (Fixed)
FIXED since 8.6.2 / 8.5.16 (most likely 2a40293a49 on trunk and f6b7d496c4 on 8.5, 2014-05-20, "Rework the management of the CHANNEL_BLOCKED and CHANNEL_EOF flags")
FIXED since 9.0.4 / 9.1.0 (8e0656d976 on core-9-0-branch, 2ae307305b on main, 2026-05-21, ticket b492c33154); not fixed in 8.6 (8.6 tclEnv.c has no Windows empty-value handling)
Status now: Open
regsub-needed-submatches, in main: Fix [446565]: regsub always asked the regexp engine for 10 submatches, which can be far more expensive than finding the match. Ask only for the submatches that FIXED on main only, unreleased (9b818c9f14, 2026-10-16); REPRODUCED (9.0, 8.6)
\1 in the replacement main still takes 1.16 s (known, stated in Serhiy's comment).
FIXED since 9.0.0 (TIP #634 merge a3a43c9363, 2022-10-05); still REPRODUCED on 8.6 (and 8.7b1, 8.4)
bar env(TEST) demo on main build, 9.0.5 (env set, child process sees it), 8.7b1/8.6.18/8.4.20 (value lost / "no such variable").
Status now: Closed (Fixed)
FIXED since 8.6.0 (getaddrinfo-based name resolution in generic/tclIOSock.c)
socket nonexistent-host-219237.invalid 80): couldn't open socket: Name or service not known.
NONE for resolver failures on all platforms.
socket nonexistent-host-219237.invalid 80 → couldn't open socket: No such host is known. on 9.1b1, 9.0.5 and 8.6.18 (Linux: Name or service not known); errorCode is NONE on both
Status now: Closed (Fixed)
FIXED since 8.4.2 or earlier (no failing version found; the [namespace which] part was dgp's 2003-09-23 commit for 8.4.5)
{\\$foobar} and {[exit]} (work-a1/p218871/test.tcl, work-a1/218871ffff.tcl), each autoloaded in a fresh interp: all four are indexed correctly and autoload on main, 9.0.5, 8.6.18, 8.5.19, 8.4.20, 8.4.11 and 8.4.2; no GOTCHA error, no exit.
\\$foobar and [exit]) are indexed and autoloaded correctly in 8.4.2 through 9.1, so the auto_mkindex issue kept open here is resolved. Closing.