Re: open-isns porting question: sudden SIGLOST
On Tue, 2016-07-26 at 23:21 +0200, Christian Seiler wrote:
>
> > SCM_CREDS is supported and should work. Probably there is still
> > something missing or not working as the kFreeBSD version does.
>
> Then, coming back to my original question: any pointers on how
> to debug that? Is there any documentation explaining what
> component in Hurd implements AF_LOCAL sockets and how it all
> works? Are there any tracing / debugging options one can apply
> here (apart from rpctrace, which doesn't appear to tell me
> much in this case)?
>
> (Also, I'm unsure my problem is actually related to SCM_CREDS,
> that's just the only special thing that's done here, which is
> why I mentioned it.)
>
This is what I get when running isnsadm with gdb:
(I also have an rpctrace available if you are interested)
Any ideas where to set breakpoints in gdb?
gdb /usr/sbin/isnsadm
(gdb) run --local --list nodes
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effe8
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effe8
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effe8
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effe8
/etc/iscsi/initiatorname.iscsi: No such file or directory
[New Thread 6216.3]
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effe8
Cannot access memory at address 0x17effec
Cannot access memory at address 0x17effe8
socket disconnect, retrying in 10 sec
socket disconnect, killing socket
Warning: Timed out while waiting for reply
Warning: GetNext call failed: Internal error
[Inferior 1 (bogus thread id 0) exited with code 01]
Reply to: