Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 21:48:55 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Karl Pielorz <kpielorz_lst@tdx.co.uk>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Stuck CLOSED sockets / sshd / zombies...
Message-ID:  <20140410184855.GP21331@kib.kiev.ua>
In-Reply-To: <851413886E3982D2CCFEA9D9@Mail-PC.tdx.co.uk>
References:  <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> <851413886E3982D2CCFEA9D9@Mail-PC.tdx.co.uk>

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

--YQQMu+1WUtOZ6W1X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 09, 2014 at 03:30:44PM +0100, Karl Pielorz wrote:
>=20
>=20
> --On 09 April 2014 14:19 +0300 Konstantin Belousov <kostikbel@gmail.com>=
=20
> wrote:
>=20
> > 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=3D-g and patch
> > applied and install (again with DEBUG_FLAGS=3D-g).
> >
> > Second, the debugging information in your libthr.so.3 is partial.
> > Could you, please rebuild it and install with DEBUG_FLAGS=3D-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 mor=
e.
> > Sorry, but the current backtrace is not useful.
>=20
> Ok, I tried all the above - I now get a minimal backtrace :(
I just rechecked with in-tree gdb and stock build of gdb 7.6,
I can see frames after _rtld_bind_start() properly.

>=20
> I have an identical 'clone' of this system (with the same issue) - is the=
re=20
> something I can put in '/etc/make.conf' and rebuild the world [with your=
=20
> patch] with debug stuff enabled everywhere, on that clone?
You should put DEBUG_FLAGS=3D-g either in make.conf or src.conf,
I am not sure which one is correct.

>=20
> It may be easier to rebuild with debug on everything, install it all, and=
=20
> reproduce the issue (knowing debug is on everywhere). I can do that leavi=
ng=20
> the other copy of this machine 'as-is'.
>=20
> Also, if we're doing that is it worth turning off optimisation's? (If so,=
=20
> how?)
No.

--YQQMu+1WUtOZ6W1X
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBAgAGBQJTRueXAAoJEJDCuSvBvK1BFNoP/Rrly4uYOzOmu/WuR23pMwId
pWthwPinASv6HiMOtoTroRDfWwaPF0YJIBAkF6ensd3d6pZGd5FUzEHAnLHjciav
KG+CPazZ7q8xuh4yWxbdXqnzC421n4BtxhvzAkStt1whdYWWXroOrK1lXNqnLU2D
bDcceHW9Lyf6b4LYmiBKUMrEQVy1xuVYXPzKOTNdQeS7MfMSkuD+Z/jmiB6MJ7R1
f9JpOQk1yEKlZpI49ozn+Uw9nzZbzqOpoBQab1rJ306JtgJiRBfwaTNwzNoCMj3B
Y6MOTzEBnNz8Xxww+giwhw9S6Tr74DbZ2BB+evHop6nGQ/2i9amL+fAEbOshdaPV
D04UnodiQ4aH1CwPWmL8HbLDJfxfSkY5Xby+SJjMKIzuLl5sMJ0iGCwsPf9dewtT
MnBYqshmWEfUWOD4kkpWMR1RyC+PhUnFzH8NK7wD69QZ04HeGMrJP2W0qzCaQZwL
nszqI4jAfdF/EBjVjLmmOlkWM3LdMM+lKkg7KaK1k9vLTMeeGc4wlHjKnI0Y5BO1
fPk65oMzLLuhtxZ11LXet7xDzFBEAExw6hQItEcU4EqJE2NgIoM0+hcPUi1Pq4Mc
K0sE2qJTm9lbOGvLAlysiUndwNl6WG/UwdYeD0J21bzKndmeZQzKoqV0fsSDsP11
YOg16KRPqwpPfM65vSBa
=94ct
-----END PGP SIGNATURE-----

--YQQMu+1WUtOZ6W1X--



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