Skip to content
Tcl Source Code Artifact [55d533534c]
Login

Artifact [55d533534c]

Artifact 55d533534c624ff6cc2a3b088e47e12751e74804:

Ticket change [55d533534c] - Ticket [879a0747bee593e2|879a0747be] <i>Segfault when reading a specific file</i> status still Open with 4 other changes by ferrieux on 2015-04-20 12:52:13.
D 2015-04-20T12:52:13.217
J assignee dgp
J icomment Nothing\sobviously\ssuspect\sin\sthe\sstrace\s:/\r\nI\sget\sthe\ssame\s2\sfull\sreads\s+\s1\sshort\s+\s1\sempty\sas\syou\sdo:\r\n\r\n\sread(4,\s"JL\\32\\0\\0\\0+13717\sat\shttp://dot.kde.o"...,\s4096)\s=\s4096\r\n\sread(4,\s"rg/Lokalize\\"\srel=\\"nofollow\\">Loka"...,\s4096)\s=\s4096\r\n\sread(4,\s"class=\\"taxonomy-image-links\\"><im"...,\s4096)\s=\s2865\r\n\sread(4,\s"",\s1231)\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s=\s0\r\n\r\nTwo\sthings:\r\n\r\n\s-\splease\spost\senvironment\s(output\sfrom\s"env"),\sin\scase\ssomething\shides\sin\sone\sof\sthe\slocale-oriented\svariables\s.\sI\shave\san\s[encoding\ssystem]\salso\sequal\sto\s"utf-8",\sbut\sthe\sdevil\smay\shide\sin\sthe\sdetails.\r\n\r\n\s-\sthe\sfailing\sassertion\sis:\r\n\r\n\tassert(!GotFlag(statePtr,\sCHANNEL_EOF)\r\n\t\t||\sGotFlag(statePtr,\sCHANNEL_STICKY_EOF)\r\n\t\t||\sTcl_InputBuffered((Tcl_Channel)chanPtr)\s==\s0);\r\n\r\nAdded\sin\sthis\scommit:\r\n\r\n\s2014-11-06\s16:34\s[16bdf667aa]\sStop\sTcl\sforcing\sEOF\scondition\son\schannels\sto\sbe\s\s\s\r\n\spermanent.\sIt\smay\sbe\sfleeting,\sand\sall\sparts\sof\sTcl\schannel\secosystem\shave\sto\s\r\n\sdeal\swith\sthat.\sNew\sassertions\sand\stests\sto\skeep\sus\son\strack.(user:\sdgp,\stags:\s\r\n\strunk)\r\n\r\nSince\sit\sis\snot\simmediately\sclear\sto\sme,\sI'll\sassign\sto\sDon\sfor\scomment\son\sall\sthree\sparts\s(a\scomment\sin\sthe\scode\sitself\swould\sbe\swelcome\stoo).\r\n\r\n(I\sassume\sthat\ssince\swe've\sread\sthe\swhole\sfile,\sthe\sone\swhich\sshould\sevaluate\sto\strue\sis\sCHANNEL_STICKY_EOF,\swhich\sis\sa\srecent\saddition\sbest\smastered\sby\sDon)\r\n\r\nI\sam\sstill\s*very*\sinterested\sto\ssee\show\sthis\scan\sheisenbug\sdepending\son\slibc\sversion,\sor\senvironment,\sor\swhatever...
J login ferrieux
J mimetype text/plain
K 879a0747bee593e2cd0f531fa723f5f5d5595527
U ferrieux
Z 6100271366b7343be51a3cc7aa2b5ef1