Stuck CLOSED sockets / sshd / zombies...

John Baldwin jhb at freebsd.org
Tue Apr 8 19:34:00 UTC 2014


On Tuesday, April 08, 2014 3:18:44 pm Karl Pielorz wrote:
> 
> --On 8 April 2014 19:43:53 +0300 Konstantin Belousov <kostikbel at gmail.com> 
> wrote:
> 
> > The following patch might allow to see the backtrace beyond the binder
> > entry point.  You might also have better luck with the gdb from ports.
> >
> > diff --git a/libexec/rtld-elf/amd64/rtld_start.S
> > [snip]
> 
> If I apply that I presume I'm going to have to build / start the whole 
> thing again (i.e. restart sshd at least / possibly the system etc.) and get 
> it to hang again?
> 
> I might see how far we can get with the current stuff before I have to go 
> through that again :)

I think this patch only changes debug info, so I think you can just build
and install and re-attach gdb without having to restart sshd.  Also, this
patch should only require you to build and install libexec/rtld-elf.

-- 
John Baldwin


More information about the freebsd-hackers mailing list