Overview
| Artifact ID: | a2c651f53e1c15c0f1ebec608b691ec0a0cb74d4cd66088b2f4b2ea93f8870ca |
|---|---|
| Ticket: | db4f2843cdb28c27fddf511567bc9287484852ae
Sporadic segfault (BO) using tclIO |
| User & Date: | oehhar on 2024-01-22 15:10:12 |
Changes
- closedate changed to: "2460332.13208447"
- closer changed to: "oehhar"
- icomment:
This fix has a big performance impact on large files, see [da16d15574]. *Tcl_SetObjLength* does not allocate in advance like *Tcl_AppendToObj* and thus makes one realloc per 4096 bytes read. The issue fixed in this ticket may only be triggered, if an extension calls *Tcl_ReadChars* with an object having a string representation in unicode. This never happens in the core. Thus, the fix is reverted for now by commit [7a188dd1c9]. Nevertheless, the issue persists for users of the C interface.
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"