Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2014 15:30:44 +0100
From:      Karl Pielorz <kpielorz_lst@tdx.co.uk>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Stuck CLOSED sockets / sshd / zombies...
Message-ID:  <851413886E3982D2CCFEA9D9@Mail-PC.tdx.co.uk>
In-Reply-To: <20140409111917.GH21331@kib.kiev.ua>
References:  <3FE645E9723756F22EF901AE@Mail-PC.tdx.co.uk> <20140408164353.GB21331@kib.kiev.ua> <277FA3F7B4E7A98921F4D631@study64.tdx.co.uk> <201404081533.53990.jhb@freebsd.org> <92366925229B4C5B21B04D81@study64.tdx.co.uk> <20140408212319.GC21331@kib.kiev.ua> <D0B81EA30BF8126B37F98D18@study64.tdx.co.uk> <20140409084951.GE21331@kib.kiev.ua> <2A722BB3B12E0D80CA9FF075@Mail-PC.tdx.co.uk> <20140409111917.GH21331@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help


--On 09 April 2014 14:19 +0300 Konstantin Belousov <kostikbel@gmail.com> 
wrote:

> It is still mostly nonsensical, due to bad and missing debugging
> information.
>
> First, my patch seems to be buggy, I miscalculated the offsets of the
> saved registers.  Hopefully, improved version is at the end of the
> message. Also, I suspect that there is a mismatch between installed and
> built rtld.  Please do the clean build with DEBUG_FLAGS=-g and patch
> applied and install (again with DEBUG_FLAGS=-g).
>
> Second, the debugging information in your libthr.so.3 is partial.
> Could you, please rebuild it and install with DEBUG_FLAGS=-g from
> the clean state ?
>
> Also, please rebuild you pam installation with '-g'.
>
> After this is done, reproduce the issue and take the backtrace once more.
> Sorry, but the current backtrace is not useful.

Ok, I tried all the above - I now get a minimal backtrace :(

I have an identical 'clone' of this system (with the same issue) - is there 
something I can put in '/etc/make.conf' and rebuild the world [with your 
patch] with debug stuff enabled everywhere, on that clone?

It may be easier to rebuild with debug on everything, install it all, and 
reproduce the issue (knowing debug is on everywhere). I can do that leaving 
the other copy of this machine 'as-is'.

Also, if we're doing that is it worth turning off optimisation's? (If so, 
how?)

-Karl



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