Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2016 13:01:01 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Daniel Engberg <daniel.engberg.lists@pyret.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Samba 4.3 and 4.4 crashes on FreeBSD 11-ALPHA4
Message-ID:  <20160620100101.GU38613@kib.kiev.ua>
In-Reply-To: <cc15e7a3-0026-a9c8-417b-513892b0f6f0@pyret.net>
References:  <0092113e-6ad6-575c-2127-f211ba9aef50@pyret.net> <20160619080644.GL38613@kib.kiev.ua> <d5cc4661-dcba-aa19-8445-34786ba18ff2@pyret.net> <20160619091718.GM38613@kib.kiev.ua> <cc15e7a3-0026-a9c8-417b-513892b0f6f0@pyret.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 20, 2016 at 11:30:38AM +0200, Daniel Engberg wrote:
> On 2016-06-19 11:17, Konstantin Belousov wrote:
> > On Sun, Jun 19, 2016 at 11:09:02AM +0200, Daniel Engberg wrote:
> >> I have the following in /etc/src.conf
> >>
> >> MALLOC_PRODUCTION=yes
> >> WITHOUT_DEBUG_FILES=1
> > 
> > Most important is to remove WITHOUT_DEBUG_FILES and recompile the world.
> > 
> 
> Hi,
> 
> My laptop is showing it's age (compiling takes ages), anyhow.... Apparently the ALPHA4 snapshot doesn't contain userland debugging so I'm currently rebuilding
> which probably will be done tonight. If you want to try it out yourself building Samba 4.4 and running "pdbedit -a -u <validusername>" also produces a similar
> crash (no config needed).

It is enough to rebuild libthr/libc/libthr.
cd /usr/src
(cd lib/libc && make all install clean DEBUG_FLAGS=-g)
(cd lib/libthr && make all install clean DEBUG_FLAGS=-g)
(cd libexec/rtld-elf && make all install clean DEBUG_FLAGS=-g)



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