tdx-util malloc sanity
Jeffrey M. Vinocur
jeff at litech.org
Sun Oct 27 20:57:24 UTC 2002
On Sun, 27 Oct 2002, Jeffrey M. Vinocur wrote:
> We had a power failure. With the usual results.
Ooo, and I made tdx-util segfault. Probably the same thing:
[...]
tdx-util: tradindexed: count incorrect for rec.autos.driving: 1023 != 1005
tdx-util: tradindexed: count incorrect for rec.autos.makers.chrysler: 469 != 449
tdx-util: tradindexed: count incorrect for rec.autos.makers.ford.explorer: 334 != 333
Program received signal SIGSEGV, Segmentation fault.
0x400a64bf in memcpy () at memcpy:-1
-1 memcpy: No such file or directory.
in memcpy
(gdb) bt
#0 0x400a64bf in memcpy () at memcpy:-1
#1 0x37706b6b in ?? ()
#2 0x08051e9e in overview_check (
data=0xb14aa234 <Address 0xb14aa234 out of bounds>, length=930114410,
article=8512) at overdata.c:241
#3 0x0804bc8e in entry_audit (data=0x807d5e0, entry=0x401a6018,
group=0x809d878 "rec.autos.makers.ford.mustang", article=8512, fix=false)
at tdx-data.c:880
#4 0x0804be6a in tdx_data_audit (
group=0x809d878 "rec.autos.makers.ford.mustang", index=0x401848c8,
fix=false) at tdx-data.c:956
#5 0x0804d7b7 in index_audit_group (index=0x807ceb0, entry=0x401848c8,
hashmap=0x807e5e8, fix=false) at tdx-group.c:1269
#6 0x0804d925 in tdx_index_audit (fix=false) at tdx-group.c:1328
#7 0x0804a762 in main (argc=2, argv=0xbffff654) at tdx-util.c:427
#8 0x40039657 in __libc_start_main (main=0x804a570 <main>, argc=2,
ubp_av=0xbffff654, init=0x8049508 <_init>, fini=0x8069ee0 <_fini>,
rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff64c)
at ../sysdeps/generic/libc-start.c:129
(gdb) frame 3
#3 0x0804bc8e in entry_audit (
data=0x807d5e0,
entry=0x401a6018,
group=0x809d878 "rec.autos.makers.ford.mustang",
article=8512,
fix=false)
at tdx-data.c:880
880 if (!overview_check(data->data + entry->offset, entry->length, article)) {
(gdb) print *data
$1 = {
path = 0x807d618 "/var/spool/news/overview/r/a/m/f/m/rec.autos.makers.ford.mustang",
writable = true,
high = 0,
base = 0,
indexfd = 7,
datafd = 8,
index = 0x4019a000,
data = 0x401a7000 "7274\tRe: throttle body on 5.0\t\"JS\" <notavalidaddress at nospam.com>\tSun, 20 Oct 2002 14:16:39 GMT\t<bVys9.6742$2w2.1976 at nwrddc03.gnilink.net>\t<YBps9.12032$dH4.422581 at wagner.videotron.net>\t1310\t15\tXref: ne"...,
indexlen = 49212,
datalen = 442913,
indexinode = 34025,
refcount = 0}
(gdb) print *entry
$2 = {offset = 1898983988,
length = 930114410,
arrived = 1818521953,
expires = 1953380210,
token = {type = 55 '7', class = 64 '@', token = "4ax.com> <r0q9ru"}}
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list