Skip to content
Tcl Source Code Artifact [37a2de4aec]
Login

Artifact [37a2de4aec]

Artifact 37a2de4aec4f81a0c61ac8cf186f99eb5309ef06:

Ticket change [37a2de4aec] - Ticket [3001438fffffffff|3001438fff] <i>[info frame -1] sigsegv under strange circumstances</i> status still Open with 4 other changes by dkf on 2010-05-19 21:59:35.
D 2010-05-19T21:59:35
J icomment Bug\sappears\sto\sbe\scaused\sby\sthe\sTclStackAlloc-ated\sspace\sfor\sthe\smethod\sframe\ssomehow\soverlapping\swith\sthe\sTclStackAlloc-ated\sspace\sfor\sthe\sCmdFrame\sthat\sis\sallocated\sinside\sof\sTclInfoFrame.\sNo\sidea\show\sthat\scomes\sto\spass!\n\nIf\sI\schange\sTclInfoFrame\sto\suse\sa\slocal\svariable\s(should\sbe\sOK\sfor\s48\sbytes\sthat\sdon't\spersist)\sthen\severything\sworks.\n\nThe\sfollowing\scode\sis\sthe\stest\scase\s(and\sisn't\sfar\soff\sminimal):\n\n\s\soo::class\screate\sTuple\s{\n\s\s\s\smethod\sfixup\s{x}\s{\n\s\s\s\s\s\sif\s{$x\seq\s"conversion"}\s{my\sNew\stype}\n\s\s\s\s}\n\s\s\s\smethod\sNew\s{x}\s{\n\s\s\s\s\s\smy\sfixup\s$x\n\s\s\s\s\s\sputs\s>[info\sframe\s-1]\n\s\s\s\s}\n\s\s\s\sconstructor\s{args}\s{my\sNew\sconversion}\n\s\s}\n\s\sset\sts\s[Tuple\snew]\n\n
J login dkf
J mimetype text/plain
J username dkf
K 3001438fffffffffffffffffffffffffffffffff
U dkf
Z acc33fcac5f560e2b20f6c83da19fc1c