Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 15:33:53 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Karl Pielorz <kpielorz_lst@tdx.co.uk>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: Stuck CLOSED sockets / sshd / zombies...
Message-ID:  <201404081533.53990.jhb@freebsd.org>
In-Reply-To: <277FA3F7B4E7A98921F4D631@study64.tdx.co.uk>
References:  <3FE645E9723756F22EF901AE@Mail-PC.tdx.co.uk> <20140408164353.GB21331@kib.kiev.ua> <277FA3F7B4E7A98921F4D631@study64.tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, April 08, 2014 3:18:44 pm Karl Pielorz wrote:
> 
> --On 8 April 2014 19:43:53 +0300 Konstantin Belousov <kostikbel@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404081533.53990.jhb>