Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 20:17:44 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Pete French <petefrench@ingresso.co.uk>
Cc:        Mark.Martinec+freebsd@ijs.si, freebsd-stable@freebsd.org
Subject:   Re: Latest stable (r287104) bash leaves zombies on exit
Message-ID:  <20150827171744.GL2072@kib.kiev.ua>
In-Reply-To: <E1ZV0d8-0000fn-18@dilbert.ingresso.co.uk>
References:  <20150827162602.GJ2072@kib.kiev.ua> <E1ZV0d8-0000fn-18@dilbert.ingresso.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 27, 2015 at 06:06:26PM +0100, Pete French wrote:
> > Try to obtain the backtrace from the hung xterm. Ideally, you would
> > rebuild xterm and the system libraries (rtld+libc+libthr) with debug
> > symbols and get the backtraces after that.
> 
> I can try this tomorrow - what do I need to set in src.conf to add
> debug symbols in when I do a buidlworld (thats what I would end
> up doing) ? never played with this bit - am hoping
> its as simple as 'DEBUG=yes' for both porst and world though!

For ports, it is probably WITH_DEBUG=yes, but check it.

For src, do
cd /usr/src
(cd lib/libc && make DEBUG_FLAGS=-g all install)
(cd lib/libthr && make DEBUG_FLAGS=-g all install)
(cd libexec/rtld-elf && make DEBUG_FLAGS=-g all install)



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