Plan 9 from Bell Labs’s /usr/web/sources/contrib/john/acid-fmtindex

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


acid -ltruss /bin/venti/fmtindex
/bin/venti/fmtindex:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
/sys/lib/acid/truss
acid: progargs="/usr/glenda/venti.conf"
acid: new()
acid: truss()
rfork(0x00002000)
	return value: 0
notify(0x000202e6)
	return value: 0
brk_(0x00034df0)
	return value: 0
brk_(0x00036e58)
	return value: 0
brk_(0x00037e80)
	return value: 0
open("#c/pid", 0)
	return value: 3
pread(3, 0xdfffeed8, 20, 4294967295)
	return value: 12
	data: "        615 "
close(3)
	return value: 0
brk_(0x01840468)
	return value: 0
brk_(0x01841490)
	return value: 0
brk_(0x018814f8)
	return value: 0
rfork(0x00000070)
	return value: 617
brk_(0x01882520)
	return value: 0
open("/usr/glenda/venti.conf", 0)
	return value: 4
fstat(4, 0x01881684, 115)
	return value: 77
brk_(0x018845e8)
	return value: 0
open("/usr/glenda/venti.conf", 0)
	return value: 5
fstat(5, 0x018817a4, 115)
	return value: 77
pread(5, 0x01881780, 59, 0)
	return value: 59
	data: "index main
isect /dev/sdC0/isect0
arenas /dev/sdC0/arenas0
"
close(5)
	return value: 0
close(4)
	return value: 0
open("/dev/sdC0/isect0", 2)
	return value: 4
fstat(4, 0x018818e4, 115)
	return value: 73
pread(4, 0x018818c0, 512, 262144)
	return value: 512
	data: "..."
pread(3, 0x00036410, 8, 0)
	return value: 8
	data: 0x00036410, 8
open("/env/timezone", 0)
	return value: 5
pread(5, 0x00035d94, 1680, 4294967295)
	return value: 1518
	data: "EST -18000 EDT -14400
   9943200   25664400   41392800   57718800   73447200   89168400
 104896800  ..."
close(5)
	return value: 0
pwrite(2, "2008/0703 18:59:02 err 2: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c...", 106, 4294967295)
2008/0703 18:59:02 err 2: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec7)
	return value: 106
errstr(0x00036614, 128, 128)
	return value: 0
	data: "fd out of range or not open"
errstr(0x000364ec, 128, 128)
	return value: 0
	data: "index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec7)"
errstr(0x000364ec, 128, 128)
	return value: 0
	data: "(null)"
pread(3, 0x0003644c, 8, 0)
	return value: 8
	data: 0x0003644c, 8
pwrite(2, "2008/0703 18:59:04 err 2: corrupted index section header: index section has wrong magic number: 0x00...", 138, 4294967295)
2008/0703 18:59:04 err 2: corrupted index section header: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec7)
	return value: 138
errstr(0x00036650, 128, 128)
	return value: 0
	data: "index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec7)"
errstr(0x000364c0, 128, 128)
	return value: 0
	data: "corrupted index section header: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec7)"
errstr(0x000364c0, 128, 128)
	return value: 0
	data: "(null)"
errstr("/dev/sdC0/isect0: corrupted index section header: index section has wrong magic number: 0x000000 exp...", 128)
	return value: 0
	data: "corrupted index section header: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec7)"
errstr(" 1459648800 1477789200 1491098400 1509238800
1522548000 1540688400 1554602400 1572138000 1586052000...", 128)
	return value: 0
	data: "/dev/sdC0/isect0: corrupted index section header: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec"
errstr("/dev/sdC0/isect0: corrupted index section header: index section has wrong magic number: 0x000000 exp...", 128)
	return value: 0
	data: "(null)"
pwrite(2, "/bin/venti/fmtindex: can't initialize config /usr/glenda/venti.conf: /dev/sdC0/isect0: corrupted ind...", 197, 4294967295)
/bin/venti/fmtindex: can't initialize config /usr/glenda/venti.conf: /dev/sdC0/isect0: corrupted index section header: index section has wrong magic number: 0x000000 expected ISectMagic (0xd15c5ec
	return value: 197
open("#c/pid", 0)
	return value: 5
pread(5, 0x00036220, 20, 4294967295)
	return value: 12
	data: "        615 "
close(5)
	return value: 0
open("/proc/617/note", 1)
	return value: 5
pwrite(5, "threadint", 9, 4294967295)
	return value: 9
close(5)
	return value: 0
open("#c/pid", 0)
	return value: 5
pread(5, 0x00036204, 20, 4294967295)
	return value: 12
	data: "        615 "
close(5)
	return value: 0
615: breakpoint	_exits+0x5	INTB	$0x40
acid: 

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.