<i>core dump on Linux while [read]ing file</i> status still Open with 4 other changes
by
.
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