Artifacts Associated With Ticket 3601784fff
Ticket change [f088b794e1] (rid 109211) by dgp on 2013-01-22 17:15:11:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Starting with the Tcl trunk checkin http://core.tcl.tk/tcl/info/8e20d1a93f The Tk test suite starts failing tests. Representative test is bitmap-4.1: ==== bitmap-4.1 FreeBitmapObjProc FAILED ==== Contents of test case: set x [format questhead] button .b -bitmap $x set y [format questhead] .b configure -bitmap $y set z [format questhead] .b configure -bitmap $z set result {} lappend result [testbitmap questhead] set x red lappend result [testbitmap questhead] set z 32 lappend result [testbitmap questhead] destroy .b lappend result [testbitmap questhead] set y bogus return $result ---- Result was: {{1 1}} {{1 1}} {{1 1}} {} ---- Result should have been (exact matching): {{1 3}} {{1 2}} {{1 1}} {} ==== bitmap-4.1 FAILED Do the testing with Tk 8.6.0 sources. Tk trunk no longer permits it. See Tk Bug 3601782 - foundin initialized to: "current: 8.6.0"
- is_private initialized to: "0"
- priority initialized to: "8"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "checkin 8e20d1a93f breaks Tk "
- type initialized to: "Bug"
Ticket change [58f7de1d16] (rid 117889) by dgp on 2013-01-23 00:22:25:
- icomment:
Looking in more detail, this may really be a Tk bug in the sense of a fragile testing command. The changed values are objRefCount fields counting how many Tcl_Obj structs hold a (TkBitmap *) to the struct. These values might easily change with different shimmer and share patterns arising from changes to Tcl that do not indicate any actual failure to function correctly.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [cb42a84cba] (rid 95485) by dgp on 2013-01-23 00:28:14:
- icomment:
Other tests that appear to suffer the same issue are border-3.1, cursor-4.1, font-18.1.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c1e9e1adcd] (rid 111405) by dgp on 2013-02-06 00:18:26:
- icomment:
The new bytecompiled [format] is the trigger, changing the pattern of sharing literals.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [b2b651a34f] (rid 98390) by dgp on 2013-02-06 00:44:43:
- icomment:
Rethinking this throroughly is outside my arena. More modestly I notice that replacing [format] with [join] makes things behave again.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [525e90f8e0] (rid 126306) by dgp on 2013-02-06 00:45:24:
- icomment:
Fixed on Tk trunk.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0db3d8c535] (rid 114407) by dgp on 2013-02-06 00:45:25:
- assignee changed to: "dgp"
- closedate changed to: "2013-02-05T17:45:25"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"
Ticket change [9f846d5e9f] (rid 96654) by dkf on 2013-02-06 03:57:55:
- icomment:
Oh I see; the tests really wanted unshared objects and I modified [format] so that (among other things) [format %s $foo] is equivalent to $foo. Which is true, except for code that's testing reference counts and stuff like that. Something like [string reverse] twice would un-reference the value while preserving the character sequence.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment: