Overview
| Artifact ID: | 8af0173df8815af010973fe8eea6a96c5fe75111 |
|---|---|
| Ticket: | 16828b3744521541660af48501fa06e63e564ad3
TclOO segmentation fault |
| User & Date: | dgp on 2016-06-16 13:09:08 |
Changes
- icomment:
Yes, that's it. When Tcl_UntraceVar() is called, the variable can no longer be found since the namespace has been deleted -- even thought its final teardown and variable destruction has not yet been carried out. So the Trace is not undone. Vwait is counting on a successful removal of the trace for proper functioning. Here's a related deadlock problem: after idle {namespace delete ::t} namespace eval ::t {vwait ::t::v} vwait waits for the unset of ::t::v which is held up because of an active [namespace eval], but that is waiting for the [vwait] to complete. Common factor through all of this is the delayed destruction of namespace variables. This is not by accident. Things are the way they are because they solved earlier problems and fixed earlier bugs. - login: "dgp"
- mimetype: "text/plain"