Subject: Re: lib/25869: resolver changes make bitkeeper crash
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 06/09/2004 03:40:59
In article <email@example.com>,
YAMAMOTO Takashi <firstname.lastname@example.org> wrote:
>> | > Tried this and it works for me:
>> | >
>> | > [6:39pm] 73>objdump -x res | grep -w _res
>> | > 08049a00 g O .bss 000001bc _res
>> | > [6:39pm] 74>objdump -x /lib/libc.so.12.120 | grep -w _res
>> | > 000b5240 g O .bss 00000200 _res
>> | > [6:39pm] 75>./res
>> | coredump or not is not important.
>> | you can see what's the problem, can't you?
>> that the libc version is 512 bytes and the program's version is 444. But
>> that should not matter since the first 440 bytes are the same.
>actually it matters because __res_vinit clobbers the latter part of
But who allocates the struct? it seems that libc does if it does not get
referenced by main, but main does if it references it. This seems bad to