<i>Repeat catch six times and get core dump</i> status still Open with 3 other changes
by
.
D 2016-05-05T12:44:31.557
J icomment The\smemory\scorruption\sappears\sto\sbe\staking\splace\sat\s[0],\swhen\sit\sfinds\sa\s-1\sin\r\nthe\scatchIndices\sarray\sand\suses\sthat\sto\swrite\soutside\senvArrayPtr,\strashing\sthe\r\nBlock\sdata.\r\n\r\nPutting\sinstrumentation\scode\s[1]\sat\sthat\spoint\sit\striggers\sseveral\stimes\r\n(apparently\sharmlessly?)\sbefore\sthe\scrash.\r\n\r\nI\sdon't\sknow\sif\sthis\sblock\s(and\sthe\ssimilar\sone\sa\sfew\slines\sbelow)\sneed\sto\r\nguard\sagainst\sindexing\s-1,\sor\sif\sit's\sa\ssign\sthe\sarray\sis\scarelessly\supdated\r\nsomewhere\selse.\r\n\r\n[0]:\s\shttp://core.tcl.tk/tcl/artifact/819418a0da027c20?ln=3985-3986\r\n\r\n[1]:\r\n\s\s\s\sif(catchIndices[catchDepth]\s==\s-1)\s{\r\n\s\s\s\s\s\s\s\sfprintf(stderr,\s"catchIndices@%p[%d]\s==\s-1\son\s%d!\\n",\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scatchIndices,\scatchDepth,\s__LINE__);\r\n\s\s\s\s\s\s\s\sfflush(stderr);\s\s\s\s\s\s\s\s\s\s\s\s\s\s\r\n\s\s\s\s}
J login aspect
J mimetype text/plain
K 3154ea27591de16257a7b8b8d361514b004e527f
U aspect
Z 2ef21088029fddcf97b6932ec8bd1851