From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 8 19:18:46 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1E98612; Tue, 8 Apr 2014 19:18:46 +0000 (UTC) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 856CD184D; Tue, 8 Apr 2014 19:18:46 +0000 (UTC) Received: from study64.tdx.co.uk (study64.tdx.co.uk [62.13.130.231]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id s38JIim0077922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2014 20:18:44 +0100 (BST) Date: Tue, 08 Apr 2014 20:18:44 +0100 From: Karl Pielorz To: Konstantin Belousov Subject: Re: Stuck CLOSED sockets / sshd / zombies... Message-ID: <277FA3F7B4E7A98921F4D631@study64.tdx.co.uk> In-Reply-To: <20140408164353.GB21331@kib.kiev.ua> References: <3FE645E9723756F22EF901AE@Mail-PC.tdx.co.uk> <201404071148.10157.jhb@freebsd.org> <9647C5438B5CD4A3058AB1A2@Mail-PC.tdx.co.uk> <201404080936.30651.jhb@freebsd.org> <63EFBCBD259A410BB4D71742@Mail-PC.tdx.co.uk> <20140408164353.GB21331@kib.kiev.ua> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 19:18:46 -0000 --On 8 April 2014 19:43:53 +0300 Konstantin Belousov 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 :) -Karl