Overview
| Artifact ID: | e52151ec7dbda39839bebe1e59283fd7f19692f8 |
|---|---|
| Ticket: | 3038316fffffffffffffffffffffffffffffffff
Encoding freeProc deadlock risk |
| User & Date: | dgp on 2010-08-02 14:52:44 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
When the Tcl_EncodingFreeProc of an encoding is called by FreeEncoding() the encodingMutex is held. This means that if the client supplied Tcl_EncodingFreeProc calls any routine that tries to grab that mutex, we risk a deadlock. I suppose the best fix would be a total rewrite of the steaming pile of WTF that is encoding lifetime management, but short of that, perhaps a warning in the docs?
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "None"
- title changed to: "Encoding freeProc deadlock risk"
- type changed to: "Bug"