Overview
| Artifact ID: | 19f5803f9effcdd88be4bf27329820b152847f00f64f7b8d7ef388015aba419a |
|---|---|
| Ticket: | da63e4c1efcfc3e68fdc4527df6a8109e1eac348
Crash in Tcl_WriteChars() |
| User & Date: | anonymous on 2022-11-16 10:16:13 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Tcl 9.0 crashes in Tcl_WriteChars() when calling TclDecrRefCount(copy) (in generic/tclIO.c). Before the crash, the Tcl_Obj *copy has the following content: copy refcount 0 copy bytes 0x0 copy type 0x1054c77a0 copy type name bytearray The problem happens in [1] and can be reproduced when compiling the tip version of NaviServer with Tcl9.0 and running then "make test". Adding "Tcl_IncrRefCount(copy)" after TclNarrowToBytes() helps for NaviServer to get past Tcl_WriteChars(), but does not solve the problem (as pointed out by Jan). -gustaf [1] https://bitbucket.org/naviserver/naviserver/src/c7b93582c076c41508dc7bf342d3fa864d3d6409/nsd/pidfile.c#lines-65
- foundin changed to: "9.0a4"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "ef1993a98c1daa778fe0b246a7af12b3076f2240"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "12. ByteArray Object"
- title changed to: "Crash in"
- type changed to: "Bug"