pcp
[Top] [All Lists]

Re: [pcp] pcp-2.7.8-20081117 sig 11 in AcceptNewClient

To: Scott Emery <emery@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [pcp] pcp-2.7.8-20081117 sig 11 in AcceptNewClient
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 02 Mar 2009 10:11:30 +1100
Cc: Scott Emery <emery@xxxxxxx>, pcp@xxxxxxxxxxx
In-reply-to: <200902271714.n1RHEPHi27678690@xxxxxxxxxxxxxxxxxxxxx>
References: <200902271714.n1RHEPHi27678690@xxxxxxxxxxxxxxxxxxxxx>
On Fri, 2009-02-27 at 11:14 -0600, Scott Emery wrote:
>       If you hand me some recipes, I might be able to use the original
> machine to help.  a verbose dump of the stack... any particular variables
> you want to look at?

First thing to check is the source line which caused SIGSEGV.
I don't understand how "client[i].fd = fd" could cause it, as
we wrote into "client[i].addr" twenty three lines above... it
seems as if that line _should_ have caused a SIGSEGV first.

Would be handy to know things like how many clients, contents
and addresses of the "client" array (and is client[i] near a
page boundary), did we just realloc this in NewClient(), etc.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>