Overview
| Artifact ID: | 54653d077df9dc790c9fc2c4f995f90e49c71a1b |
|---|---|
| Ticket: | 524674ffffffffffffffffffffffffffffffffff
bad cleanup of channels / encs on exit |
| User & Date: | hobbs on 2002-03-02 04:30:42 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
If you set the encoding on a file to an escape encoding and then exit before closing that file, Tcl doesn't clean up in the right order, and you crash due to free memory reads/writes. A simple example: lorax [~/build/tcl84a4s] 25 > make shell % fconfigure stdout -encoding iso2022-jp % puts ab\u4e4e\u68d9g ab8CD%g % exit make: *** [shell] Error 139 but it can be done with any file. The sample attached can be used for a more "robust" test: set f [open iso.sample] fconfigure $f -encoding iso2022-jp gets $f exit
- foundin changed to: "obsolete: 8.3.4"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hobbs"
- subsystem changed to: "25. Channel System"
- title changed to: "bad cleanup of channels / encs on exit"
- type changed to: "Bug"