> hello 

> here is what you suggested:
> 
> cid% venti/venti -r -L -d -s -c /dev/sdC0/arenas -a 'tcp!127.1!59999' -h 
> 'tcp!127.1!8009'
> T+0.0000 venti: conf...
> corrupt zblock: 18042e0 b->_size=8192  
>   64 65 66 67 68 69 6a 6b
>   6c 6d 6e 6f 70 71 72 73
>   74 75 76 6b 00 00 00 00
>   20 00 00 cd 22 80 01 b8
> venti 1400: suicide: sys: trap: fault read addr=0x0 pc=0x0002120d
> cid% acid 1400
> /proc/1400/text:386 plan 9 executable

found it!

that is "defghijklmnopqrstuv..." instead of the expected "1234567890abc..."

13 bytes!

b->data is incremented (and b->len decremented)13 bytes to skip the 
"venti config" magic in readifile() ifile.c:39.
and freezblock() alculates the position of the zmagic by b->data + b->_size.

maybe add a b->_data in ZBuffer or fix ifile.c?

cinap

Reply via email to