Skip to content
Tcl Source Code Artifact [01f7bd1b90]
Login

Artifact [01f7bd1b90]

Artifact 01f7bd1b90232f9c4b47798c9561620fb7ae0335:

Ticket change [01f7bd1b90] - New ticket [82521bfb6734f891|82521bfb67] <i>Segfault from commit af06c0fbf8 onwards</i>. by anonymous on 2014-09-26 16:19:08.
D 2014-09-26T16:19:08.057
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I\shaven't\sbeen\sable\sto\sreduce\sthis\sto\sa\sminimal\stest\scase,\sbut\sit\sis\sreliably\sreproducible\son\sour\ssystems.\s\sPrior\sto\scommit\s[af06c0fbf8]\sthe\scode\sworks,\safter\sthat\sit\ssegfaults\s(most\sof\sthe\stime)\sor\sthrows\san\serror\sof\sthe\sform\s"can't\sset\s"set�Rl":\supvar\srefers\sto\svariable\sin\sdeleted\snamespace".\s\sThe\sreported\svariable\sname\sdiffers\sand\sappears\sto\sbe\sthe\sresult\sof\srandom\smemory\scorruption.\s\sSometimes\sthe\serror\smessage\srefers\sto\sa\sdeleted\sarray\srather\sthan\snamespace.\s\sThe\serror\salways\sseems\sto\sbe\sthrown\sat\sthe\ssame\sline,\swhich\sdoesn't\sset\sany\svariables:\r\n\r\nif\s{[string\scompare\s$dateopened\s""]\s!=\s0\s||\s$openrequest}\s{\r\n\r\nThe\scode\sruns\sin\sNaviServer\s(4.99.6)\sand\sis\spart\sof\sa\s200k\sline\scodebase,\sand\ssince\sit\sappears\sto\sbe\sfailing\sas\sa\sresult\sof\sprior\sstate\scorruption\sit\sis\sproving\sdifficult\sto\sreduce\sto\sa\sminimal\stest\scase.\s\sThe\score\sdumps\sdon't\spaint\sa\svery\sconsistent\spicture,\sbut\soften\sit\sappears\sto\sbe\sin\sTEBCresume,\sunder\sthe\sdoStoreVarDirect\slabel,\sthe\sline\sTcl_DecrRefCount(valuePtr).\s\svaluePtr\sis\soften\s0x600000002,\swhich\sis\sinvalid.\r\n\r\nI\sbisected\sthe\scommit\shistory\sbetween\s8.6.2\s(bad)\sand\s8.6.1\s(good).\s\sCommit\s[eabc1b8699]\sdoesn't\sproduce\sthe\ssegfault\sor\serrors,\s[af06c0fbf8]\sdoes.\r\n\r\nRunning\son\sUbuntu\s12.04\s64\sbit,\sTcl\sand\sNaviServer\sboth\s64\sbit.
J foundin 8.6.2
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 54152f94cb1628c0c148b4b5708ace53216227b0
J resolution None
J severity Critical
J status Open
J submitter anonymous
J subsystem 47.\sBytecode\sCompiler
J title Segfault\sfrom\scommit\saf06c0fbf8\sonwards
J type Bug
K 82521bfb6734f891ddecc26b4b4b3388fdc3eb1c
U anonymous
Z 4bc1cafd3a39b2320cd45da66a623790