From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 19:14:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E501D106568B for ; Wed, 7 Oct 2009 19:14:52 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mx01.netsrc.de (mx01.netsrc.de [89.107.71.100]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8118FC22 for ; Wed, 7 Oct 2009 19:14:52 +0000 (UTC) Received: from jessie.localnet (p54B4FDE6.dip.t-dialin.net [84.180.253.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.netsrc.de (Postfix) with ESMTP id 0385A192FD9; Wed, 7 Oct 2009 20:53:59 +0200 (CEST) From: Bernhard Schmidt To: freebsd-stable@freebsd.org Date: Wed, 7 Oct 2009 20:53:33 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.1; i686; ; ) References: <20091007200959.3c93904f.lehmann@ans-netz.de> In-Reply-To: <20091007200959.3c93904f.lehmann@ans-netz.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200910072053.34044.bschmidt@techwires.net> Cc: Oliver Lehmann Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 19:14:53 -0000 On Wednesday 07 October 2009 20:09:59 Oliver Lehmann wrote: > Hi, > > I wonder what may have caused this and how should I debug it to find the > source? I Installed samba 3.3.7 on a clean 8.0-RC1 and I upgraded then my > system to the latest RELENG_8. > Since I've not the time searching much longer for the error I'll just go > to upgrade to 3.3.8 (recompile it...) tomorrow but I'm curious what it > may have caused and how I would have been able to find the cause.... Is by any chance security.bsd.map_at_zero set to 0? If it is http://lists.freebsd.org/pipermail/freebsd-stable/2009-October/052235.html has a solution. > > > root@nudel samba33> /usr/local/sbin/smbd > Abort > Exit 134 > > > root@nudel samba33> gdb > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > (gdb) exec /usr/local/sbin/smbd > (gdb) run > Starting program: /usr/local/sbin/smbd > > Program terminated with signal SIGABRT, Aborted. > The program no longer exists. > You can't do that without a process to debug. > (gdb) q > root@nudel samba33> ktrace /usr/local/sbin/smbd > Abort > Exit 134 > root@nudel samba33> kdump > 2605 ktrace RET ktrace 0 > 2605 ktrace CALL execve(0xbfbfed83,0xbfbfec50,0xbfbfec58) > 2605 ktrace NAMI "/usr/local/sbin/smbd" > root@nudel samba33> mount -t procfs /dev/null /proc > root@nudel samba33> truss -fad /usr/local/sbin/smbd > truss: can not get etype: No such process > Exit 2 > root@nudel samba33> dmesg | tail -1 > fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 > root@nudel samba33> ldd /usr/local/sbin/smbd > /usr/local/sbin/smbd: > libcrypt.so.5 => /lib/libcrypt.so.5 (0x281aa000) > libpam.so.5 => /usr/lib/libpam.so.5 (0x281c3000) > libexecinfo.so.1 => /usr/local/lib/libexecinfo.so.1 (0x281cb000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x288d2000) > libpopt.so.0 => /usr/local/lib/libpopt.so.0 (0x281d6000) > libc.so.7 => /lib/libc.so.7 (0x28091000) > libm.so.5 => /lib/libm.so.5 (0x281df000) > libintl.so.8 => /usr/local/lib/libintl.so.8 (0x289d1000) > root@nudel samba33> ls -l /lib/libcrypt.so.5 /usr/lib/libpam.so.5 > /usr/local/lib/libexecinfo.so.1 /usr/local/lib/libiconv.so.3 > /usr/local/lib/libpopt.so.0 /lib/libc.so.7 /lib/libm.so.5 > /usr/local/lib/libintl.so.8 -r--r--r-- 1 root wheel 1144500 Oct 5 > 16:40 /lib/libc.so.7 > -r--r--r-- 1 root wheel 32060 Oct 5 16:41 /lib/libcrypt.so.5 > -r--r--r-- 1 root wheel 119372 Oct 5 16:41 /lib/libm.so.5 > -r--r--r-- 1 root wheel 28424 Oct 5 16:42 /usr/lib/libpam.so.5 > -r--r--r-- 1 root wheel 40636 Oct 4 19:59 > /usr/local/lib/libexecinfo.so.1 -r--r--r-- 1 root wheel 1050349 Oct 4 > 19:41 /usr/local/lib/libiconv.so.3 -r--r--r-- 1 root wheel 39876 Oct > 4 19:52 /usr/local/lib/libintl.so.8 -rwxr-xr-x 1 root wheel 39623 Oct > 4 20:00 /usr/local/lib/libpopt.so.0* root@nudel samba33> ls -l > /usr/local/sbin/smbd > -rwxr-xr-x 1 root wheel 6698391 Oct 4 20:30 /usr/local/sbin/smbd* > root@nudel samba33> file /usr/local/sbin/smbd > /usr/local/sbin/smbd: ELF 32-bit LSB shared object, Intel 80386, version 1 > (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 > (800107), not stripped root@nudel samba33> > -- Bernhard