hi, while i was playing with venti archive, i found something interesting.
i used dumpvacroots.new (from contrib) and for some reason, awk bailed out with floating point error whenever it saw a line with a specific root score. here are the two sample lines (i used customized printarena.c which prints the date for me at the end): 11260359 d05544897ff642ca36e58174bc753b0f3382b793 0 8192 Jan 9 18:09 11258672 5946903e318d3596c21e35b42a13c1dea5fd32cc 0 8192 Jan 9 18:09 awk seems to be okay with the first line but not the second line. here is the output when i use awk: mill# awk ' { print $0; print NF}' /tmp/out1.dat 11260359 d05544897ff642ca36e58174bc753b0f3382b793 0 8192 Jan 9 18:09 7 11258672 5946903e318d3596c21e35b42a13c1dea5fd32cc 0 8192 Jan 9 18:09 awk: floating point exception 6 input record /tmp/out1.dat:2 source line 1 i figured that: - awk runs fine if i dont print NF. (so, it parses the line on-demand and parsing fails?) - awk doesnt seem to like the score 5946....32cc. If I change that score to something else and rerun, it seems to be fine. to confirm that this is a plan9 specific awk issue, i tried the same with my Mac machine. it seems to be okay: $ awk ' { print $0; print NF }' out1.dat 11260359 d05544897ff642ca36e58174bc753b0f3382b793 0 8192 Jan 9 18:09 7 11258672 5946903e318d3596c21e35b42a13c1dea5fd32cc 0 8192 Jan 9 18:09 7 what could be the issue? any clues? i initially thought my venti data got corrupted but i am now convinced that this is something else, since i was also able to reliably archive data. thanks dharani