Overview
| Artifact ID: | b5fff106819cf12c8a8cd8d812e1637ac92e2905f44a877466cec61598cc68b7 |
|---|---|
| Ticket: | 8259d74a649c4e93ae55446920bc17f887c4555d
Tcl panic on exit if zipfs file is open |
| User & Date: | apnadkarni on 2023-09-30 03:59:09 |
Changes
- closedate changed to: "2460217.66607941"
- closer changed to: "apnadkarni"
- icomment:
Fixed in [a6562fe64a](https://core.tcl-lang.org/tcl/info/a6562fe64ac39b51). A longer term issue is that mountable file systems should be called after channels are closed in `TclFinalizeIOSubSystem`. However, there is no provision for doing so as exit handlers execute before. Because zipfs is in the core, this was fixed by removing the zipfs exit handlers and adding an explicit call to the zipfs finalization function from TFIOSS after channels are closed. For extensions that implement loadable modules it seems to me that an additional function needs to be added to `Tcl_FileSystem` dispatch table that is invoked as part of TFIOSS. That needs to be a future TIP.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"