On Thu, Feb 07, 2008, Amos Jeffries wrote:
> > Amos, could you please poke the leak in IPAddress:GetAddrInfo a little?
>
> I'll give it another try. But don't hold your breath too long on that one.
>
> Did you see my note on it?
> I tracked that leak backwards from two segfaults to the connect() system
> call. Then I tracked the allocation from my init forwards to the connect()
> call.
>
> As far as I can tell when connect() returns OK, things work. But if
> connect() fails in any way the addrinfo pointer is immediately pointing
> somewhere in the system read-only memory with a leak lost. Kernel
> segfaults squid when it attempt to cleanup anywhere in the read-only
> areas.
Come on IRC and we'll talk through it? I can't imagine its going to take
long to fix.
Adrian
Received on Wed Feb 06 2008 - 19:32:32 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST