Overview
| Artifact ID: | a6dfa023cbf9665c4d156041870b27e29c931ce9 |
|---|---|
| Ticket: | 1847044fffffffffffffffffffffffffffffffff
Crash under SetChannelFromAny |
| User & Date: | hobbs on 2007-12-10 05:22:58 |
Changes
- closedate changed to: "2007-12-09T22:22:58"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Originator: NO OK, this can be reduced to this simpler case: catch {chan close [lreplace [list a] 0 end]} and I've commited the patch to fix it. What was happening is that I would update the string and free the internal rep *before* I'd validated the channel was valid. Thus you could get tclListObj without any internal rep. The free step has to occur after we've validated the channel (could also set the typePtr to NULL, but then we'd lose the other rep needlessly in some cases). Committed with tests. - login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"