Overview
| Artifact ID: | 4a31c3c7b91ff4ea776eba77ef05510ab58e7dbe |
|---|---|
| Ticket: | 1356071fffffffffffffffffffffffffffffffff
Race condition in reflected channels? |
| User & Date: | dkf on 2005-11-13 21:15:05 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
I've seen iocmd.tf-27.6 fail once using a threaded build of the HEAD (on a moderately loaded machine). It did not fail when I reran 'make test' with a restricted scope of tests (to try to duplicate the fault). This means it looks like there is a race condition somewhere in there (manifested as a different line number in the error dict) which can be difficult to hunt down I know. Segment of 'make test' output follows: io.test ioCmd.test ==== iocmd.tf-27.6 chan configure, get option, level is ignored FAILED ==== Contents of test case: set res {} proc foo {args} { oninit cget cgetall; onfinal; track return -level 77 -code 333 BANG } set c [chan create {r w} foo] notes [inthread $c { note [catch {fconfigure $c -rc-foo} msg opt] note $msg note $opt close $c notes } c] rename foo {} set res ---- Result was: {cget rc161 -rc-foo} 1 BANG {-code 1 -level 0 -errorcode NONE -errorline 11 -errorinfo BANG} ---- Result should have been (glob matching): {cget rc* -rc-foo} 1 BANG {-code 1 -level 0 -errorcode NONE -errorline 1 -errorinfo BANG} ==== iocmd.tf-27.6 FAILED ioUtil.test iogt.test - foundin changed to: "obsolete: 8.5a4"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "27. Channel Types"
- title changed to: "Race condition in reflected channels?"
- type changed to: "Bug"