.
D 2022-11-16T10:16:13.025
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment Tcl\s9.0\scrashes\sin\sTcl_WriteChars()\swhen\scalling\sTclDecrRefCount(copy)\r\n(in\sgeneric/tclIO.c).\s\sBefore\sthe\scrash,\sthe\sTcl_Obj\s*copy\shas\sthe\sfollowing\scontent:\r\n\r\ncopy\srefcount\s0\r\ncopy\sbytes\s0x0\r\ncopy\stype\s0x1054c77a0\r\ncopy\stype\sname\sbytearray\r\n\r\nThe\sproblem\shappens\sin\s[1]\sand\scan\sbe\sreproduced\s\r\nwhen\scompiling\sthe\stip\sversion\sof\sNaviServer\swith\sTcl9.0\s\r\nand\srunning\sthen\s"make\stest".\r\n\r\nAdding\s"Tcl_IncrRefCount(copy)"\safter\sTclNarrowToBytes()\shelps\sfor\sNaviServer\s\r\nto\sget\spast\sTcl_WriteChars(),\sbut\sdoes\snot\ssolve\sthe\sproblem\s\r\n(as\spointed\sout\sby\sJan).\r\n\r\n-gustaf\r\n\r\n[1]\shttps://bitbucket.org/naviserver/naviserver/src/c7b93582c076c41508dc7bf342d3fa864d3d6409/nsd/pidfile.c#lines-65
J foundin 9.0a4
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact ef1993a98c1daa778fe0b246a7af12b3076f2240
J resolution None
J severity Minor
J status Open
J submitter anonymous
J subsystem 12.\sByteArray\sObject
J title Crash\sin
J type Bug
K da63e4c1efcfc3e68fdc4527df6a8109e1eac348
U anonymous
Z ac694b77a9dc64847b8ac7eb186dd256