Skip to content
Tcl Source Code Artifact [5f615c6860]
Login

Artifact [5f615c6860]

Artifact 5f615c68602b26c3d3d59faacb30ae295a231c59:

Ticket change [5f615c6860] - Ticket [2802881fffffffff|2802881fff] <i>segfault with trace on ::errorInfo</i> status still Open with 4 other changes by dgp on 2009-06-12 22:58:14.
D 2009-06-12T22:58:14
J icomment \nAdjusting\sfor\schanges\sto\s[trace]\sin\s8.4,\sthis\ncrashes\sTcl\sall\sthe\sway\sback\sto\s8.0.\s\sWith\nsuitable\smods,\sit\sdoes\sappear\sto\swork\sin\nTcl\s7.6p2:\n%\sset\serrorLevel\s-1\n-1\n%\sset\serrorStack\s{}\n%\strace\svariable\serrorInfo\sw\s{\nif\s{[info\slevel]}\s{\nupvar\s#0\serrorLevel\serrorLevel\serrorStack\serrorStack\n}\nset\s__n\s[info\slevel]\nif\s{($__n\s>\s0)\s&&\s($__n\s!=\s$errorLevel)}\s{\nset\serrorLevel\s$__n\nset\s__l\s[info\slevel\s0]\nlappend\serrorStack\s$__l\n}\s;#\s}\n%\sproc\sA\s{}\s{if\s{foo}\sfoo}\n%\sA\s0\ncalled\s"A"\swith\stoo\smany\sarguments\n%\sA\nsyntax\serror\sin\sexpression\s"foo"\n%\sset\serrorInfo\nsyntax\serror\sin\sexpression\s"foo"\n\s\s\s\swhile\sexecuting\n"A"\n%\sset\serrorStack\nA\n\nIs\sthat\sthe\sbackground\shere?\s\sReviving\ssome\nTcl\s7\scode?\n\n\n\n\n
J login dgp
J mimetype text/plain
J username dgp
K 2802881fffffffffffffffffffffffffffffffff
U dgp
Z 5de2496fcc9300746169d65e66c96fe9