Overview
| Artifact ID: | db256c77f47038fe17038dfda4032f677d39a68a |
|---|---|
| Ticket: | 1959637fffffffffffffffffffffffffffffffff
Problems with caching of resolution of [my init] |
| User & Date: | kennykb on 2008-05-07 16:32:22 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
This problem has proven difficult to reduce to a small test case; there is a certain Heisenbug aspect to it. I do have a large case that is consistently failing, though, so that's part of the battle. (And in any case, I'd like to have some of what I've done for TDBC to be tested by someone other than me.) I have a development snapshot of TDBC located at http://kbk.is-a-geek.net:2301/zip/6647a04e19.zip To reproduce the problem: (1) Build and install the Tcl HEAD, the Tk HEAD, and the TclOO HEAD. (Win32 MinGW+msys build preferred; I've not tested any other toolchain.) (2) Configure and make the 'tdbc' project in the supplied archive. (3) Configure, make, and test the 'tdbcodbc' project. All tests are expected to pass. (4) Change the string 'init2' at line 460 of tdbcodbc/generic/tdbcodbc.c and at line 195 of tdbcodbc/library/tdbcodbc.tcl to read simply 'init'. (5) Make and test again. Now several tests fail. The problem appears to be that the call to [my init] in the constructor of tdbc::odbc::statement actually arrives into the [init] method of tdbc::odbc::typesStatement. The behaviour is strongly dependent on context; the test cases in question continue to pass when run in isolation. dkf informs me that he suspects that overaggressive caching (or indolent clearing of the cache) relating to [my] is the culprit, but asked for a test case. Alas, I've been at a loss to reduce this to a small one. - foundin changed to: "obsolete: 8.6a0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "35. TclOO Package"
- title changed to: "Problems with caching of resolution of [my init]"
- type changed to: "Bug"