Overview
| Artifact ID: | 13536d5d2c0190a555dd5a746b4fb5bcf0b5a5f1 |
|---|---|
| Ticket: | 1582671fffffffffffffffffffffffffffffffff
crash in tclAsync.c:Tcl_AsyncDelete() |
| User & Date: | dgp on 2008-04-05 03:03:15 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: NO So Tcl_AsyncDelete() performs two tasks. It removes an AsyncHandler from the per-thread list of handlers, and it frees the AsyncHandler. The bug report appears to report trouble when Tcl_AsyncDelete(token) gets called in the wrong thread -- a thread different from the one that made the Tcl_AsyncCreate() call that returned token in the first place. Callers shouldn't do that. But in case they do, it does look like a Panic is a better response than than either a hang or a crash with no message. I'd feel much better if vasiljevic were making this analysis instead of me.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"