[OpenAFS-devel] Tracing NameToId

Derrick Brashear shadow@gmail.com
Mon, 6 Apr 2009 10:52:43 -0400


--000e0cd40422037a870466e40d8c
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On Mon, Apr 6, 2009 at 10:31 AM, Barry Fawthrop <barry@isscp.com> wrote:

> I'm trying to trace why NameToId sends the request to the server
> but fails to receive the reply back from the server
>
> pr_SNameToId     (in ptuser)  calls ubik_PR_NameToID
> ubik_PR_NameToID (in ptint)   calls PR_NameToID
> PR_NameToID      (in ptint)   calls xdr_namelist
> PR_NameToID              then calls xdr_idlist
>
> This suddenly jumps to savecontext
>
> How does this then jump to
>          savecontext
> called by LWP_QWait
> called by IOMGR_Select
> called by rxi_ListenerProc
> called by rx_ListenerProc
>
> At this point the variables of savecontext are:
> ep                0xaaf7a
> savearea          0xb6b52f74
>    topstack      0xb6b60e0c
>    setjmp_buffer [18]
> sp                0x0
>  *sp
>
> code              2
>
>
> This continues through rxi_ListenerProc  until
> rxi_readPacket  which calls rxi_Recvmsg
> and then bombs out with
> Previous frame inner to this frame (gdb could not unwind past this frame)
> and __dyld_misaligned_stack_error
> 0x8f318c02   <+0000>  movdqa  %xmm0,0x10(%esp)
> 0x8f318c08   <+0006>  movdqa  %xmm1,0x20(%esp)
> 0x8f318c0e   <+0012>  movdqa  %xmm2,0x30(%esp)
> 0x8f318c14   <+0018>  movdqa  %xmm3,0x40(%esp)
>
> host somehow has the value 3065188196 which I think translates to
> IP 182.179.15.100  How I still don't know
>
>
what server do you expect a reply from? and what do you mean "how"?

--000e0cd40422037a870466e40d8c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Apr 6, 2009 at 10:31 AM, Barry F=
awthrop <span dir=3D"ltr">&lt;<a href=3D"mailto:barry@isscp.com">barry@issc=
p.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"b=
order-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; paddin=
g-left: 1ex;">
I&#39;m trying to trace why NameToId sends the request to the server<br>
but fails to receive the reply back from the server<br>
<br>
pr_SNameToId =A0 =A0 (in ptuser) =A0calls ubik_PR_NameToID<br>
ubik_PR_NameToID (in ptint) =A0 calls PR_NameToID<br>
PR_NameToID =A0 =A0 =A0(in ptint) =A0 calls xdr_namelist<br>
PR_NameToID =A0 =A0 =A0 =A0 =A0 =A0 =A0then calls xdr_idlist<br>
<br>
This suddenly jumps to savecontext<br>
<br>
How does this then jump to<br>
 =A0 =A0 =A0 =A0 =A0savecontext<br>
called by LWP_QWait<br>
called by IOMGR_Select<br>
called by rxi_ListenerProc<br>
called by rx_ListenerProc<br>
<br>
At this point the variables of savecontext are:<br>
ep =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00xaaf7a<br>
savearea =A0 =A0 =A0 =A0 =A00xb6b52f74<br>
 =A0 =A0topstack =A0 =A0 =A00xb6b60e0c<br>
 =A0 =A0setjmp_buffer [18]<br>
sp =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x0<br>
 =A0*sp<br>
<br>
code =A0 =A0 =A0 =A0 =A0 =A0 =A02<br>
<br>
<br>
This continues through rxi_ListenerProc =A0until<br>
rxi_readPacket =A0which calls rxi_Recvmsg<br>
and then bombs out with<br>
Previous frame inner to this frame (gdb could not unwind past this frame)<b=
r>
and __dyld_misaligned_stack_error<br>
0x8f318c02 =A0 &lt;+0000&gt; =A0movdqa =A0%xmm0,0x10(%esp)<br>
0x8f318c08 =A0 &lt;+0006&gt; =A0movdqa =A0%xmm1,0x20(%esp)<br>
0x8f318c0e =A0 &lt;+0012&gt; =A0movdqa =A0%xmm2,0x30(%esp)<br>
0x8f318c14 =A0 &lt;+0018&gt; =A0movdqa =A0%xmm3,0x40(%esp)<br>
<br>
host somehow has the value 3065188196 which I think translates to<br>
IP 182.179.15.100 =A0How I still don&#39;t know<br>
<br>
</blockquote><div><br>what server do you expect a reply from? and what do y=
ou mean &quot;how&quot;?<br><br></div></div><br>

--000e0cd40422037a870466e40d8c--