Maxim Sobolev wrote:
>
> I've just upgraded my production server to the 4.0-RELEASE and found that
> squid23 when compiled with -Os option dying with signal 11 on each attempt to
> load page. When I recompiled it with -O fault disappeared. After some digging
> into the sources with gdb I found that fault came from dereferencing NULL
> pointer somewhere in the DNS query procedures. I've tracked the source of this
> pointer and found that the function rfc1035QuestionPack (rfc1035.c) called from
> rfc1035BuildAQuery receives NULL pointer instead of the supplied hostname as a
> 3rd argument. Following is two debugging sessions with squid compiled with -Os
> and -O (faulty call is in the end of the output):
Well... where is "name" being set? That would help.
--
Daniel C. Sobral (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message