Skip to content
Tcl Source Code Artifact [bfe275f212]
Login

Artifact [bfe275f212]

Artifact bfe275f212cbe87b313033f8e758e8ac7c5ecab6:

Ticket change [bfe275f212] - Ticket [82521bfb6734f891|82521bfb67] <i>Segfault from commit af06c0fbf8 onwards</i> status still Open with 3 other changes by anonymous on 2014-09-27 17:18:29.
D 2014-09-27T17:18:29.060
J icomment There\swere\ssome\sproblems\swith\sthat,\sso\sI've\srebuild\severything\sfrom\sscratch\sto\sbe\sisolated\sfrom\sthe\ssystem\snow\sand\sconfirmed\sthat\sit's\sloading\sthe\scorrect\slibs,\sscripts,\setc\s(using\sstrace\s-f\s-eopen\sand\schecking\sall\sthe\spaths).\r\n\r\nThen\sI\sbisected\sagain,\sthis\stime\swith\s-DPURIFY\sand\s--enable-symbols=mem,\sand\sreached\sa\sdifferent\scommit\s([cddbfc3081])\sthat\sreliably\ssegfaulted\sor\scrashed\s(this\stime\swith\s"trying\sto\sfree\sa\sTclObj\screated\sin\sa\sdifferent\sthread").\s\sValgrind\son\sthat\scommit\sproduced\squite\sa\slot\sof\smemory\serrors\son\sthat\sversion\sand\snothing\son\sit's\sparent.\s\sBut\sI\sget\sthe\sfeeling\sI'm\schasing\sa\sHeisenbug.\r\n\r\nI\snoticed\sthat\ssmall\schanges\sto\sthe\sproc\sthat\swas\shitting\sthe\ssegfault\swere\saffecting\sthe\soutcome,\seven\son\scode\spaths\sthat\sweren't\srun.\s\sSo\sI\stried\sdumping\s\s[tcl::unsupported::disassemble\sproc]\sjust\safter\sit\swas\sdefined.\s\sFor\sversions\sthat\ssegfaulted\swhen\srun,\sthe\sdisassemble\swould\salso\ssegfault,\sso\sI'm\strying\sto\sreduce\sthe\scode\sdown\sto\sthe\sminimum\snecessary\sto\sproduce\sthe\ssegfault\son\sdisassembly.\r\n\r\nThe\sstrange\sthing\sabout\sthis\sis\sthat,\salthough\sit\shas\sall\sthe\sclassic\ssigns\sof\sa\smemory\scorruption\sissue,\sit's\salways\sand\sonly\sthis\sproc\sthat\ssegfaults.\s\sIt's\srunning\sin\sproduction\sserving\saround\s3.5\smillion\shits\sdaily\son\s9\sservers,\sand\snearly\severy\sterrible\sthing\syou\scould\sthink\sof\sis\sbeing\sdone\sby\ssome\spart\sof\sthe\scode.
J login anonymous
J mimetype text/plain
K 82521bfb6734f891ddecc26b4b4b3388fdc3eb1c
U anonymous
Z 95a0313291306f1387c00d5d2b07ec65