[OpenAFS-devel] Tracing NameToId

Barry Fawthrop barry@isscp.com
Mon, 06 Apr 2009 10:31:21 -0400


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


Thanks in advance