Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 19:34:11 +0200
From:      Maxim Sobolev <sobomax@altavista.net>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        sobomax@mail.ru, current@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Re: gcc -Os optimisation broken (RELENG_4)
Message-ID:  <38D26C93.A897F093@altavista.net>
References:  <38CF48CF.59A100D7@altavista.net> <38D25B2D.B442D523@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel C. Sobral" wrote:

> 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.

It is not clear what do you mean, please explain.

-Maxim



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D26C93.A897F093>