Skip to content
Tcl Source Code Artifact [263077d67c]
Login

Artifact [263077d67c]

Artifact 263077d67cc9a384af2ee1387e5de80e038a7ea6:

Ticket change [263077d67c] - Ticket [1462248fffffffff|1462248fff] <i>core dump on Linux while [read]ing file</i> status still Open with 4 other changes by andreas_kupries on 2006-04-04 00:43:31.
D 2006-04-04T00:43:31
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nOk,\sthere\sis\ssomething\sodd\sgoing\son\shere.\sI\scan\srepro\sthe\ncrash\sonly\swhen\susing\sthe\sscript\sinteractively.\sThe\smoment\sI\ngo\snon-interactive\sthings\sare\sOK.\sAnd\sreplacing\sthe\nwhile-loop\swith\sa\slarge\sread\sof\sthe\swhole\sfile\smakes\sit\sgo\naway\sas\swell.\s\n\nThis\sgeneral\selusivity,\si.e.\svanishing\sat\sthe\sslighest\nchange,\spoints\sto\sa\smemory-smash\ssomewhere.\s:(\n\nYep,\svery\slikely.\sChanging\sthe\ssize\sof\sblocks\sread\sby\seven\none\scharacter,\sup\sor\sdown,\scauses\sthe\scrash\sto\svanish\sas\nwell\s...\schanging\sthe\s-buffersize\sin\standem\swith\sthe\s#chars\nread\sis\snot\seffective,\sthe\scrash\svanishes.\sChanging\sthe\nbuffersize\salone\smakes\sit\svanish\sas\swell.\sAh,\sone\scase\sis\ndifferent:\s-buffer\s4095,\sread\s4096\sblocks\s...\sThis\sseems\sto\nhang\sthe\stclsh\sinstead\sof\scrashing\sit.\n\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 1462248fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 3f4832075ddcd460b1369541bdea1cae