From owner-freebsd-ports@freebsd.org Wed May 8 10:25:12 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C874115A3FCE for ; Wed, 8 May 2019 10:25:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10BB6952A2; Wed, 8 May 2019 10:25:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x48AP4FS094353 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 8 May 2019 13:25:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x48AP4FS094353 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x48AP4D1094352; Wed, 8 May 2019 13:25:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 8 May 2019 13:25:04 +0300 From: Konstantin Belousov To: Andrea Venturoli Cc: freebsd-ports@freebsd.org, timur@FreeBSD.org Subject: Re: Samba dump (useless) core Message-ID: <20190508102504.GY2748@kib.kiev.ua> References: <169305b9-64ea-6305-8ef2-9c11b8c9baf3@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <169305b9-64ea-6305-8ef2-9c11b8c9baf3@netfence.it> User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2019 10:25:12 -0000 On Wed, May 08, 2019 at 12:03:34PM +0200, Andrea Venturoli wrote: > Hello. > > I've got a few servers where I run Samba 4.8 in a jail as an AD DC. > > Lately, on a couple of them, it started dumping core: on one server, > apparently everything works fine after that; on another one I have > intermittent DNS issues, but I'm not sure they are related to this core. > > I tried examining the core, but this is what I get: > > > # gdb /usr/local/sbin/samba samba.core > > 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 "amd64-marcel-freebsd"... > > Core was generated by `samba: conn[rpc] c[ipv4:192.168.xxx.4:31803] s[ipv4:192.168.134.3:49153] server_'. > > Program terminated with signal 6, Aborted. > > #0 0x0000000803e0d98a in ?? () > > (gdb) info thr > > * 1 process 101460 0x0000000803e0d98a in ?? () > > (gdb) bt > > #0 0x0000000803e0d98a in ?? () > > #1 0x0000000803e0d940 in ?? () > > #2 0xffffffffffffffdf in ?? () > > #3 0xffffffffffffffff in ?? () > > #4 0x0000000000000000 in ?? () > > (gdb) > > The only relevant line, unfortunately is "Core was generated by...", but > it doesn't help much. > > Samba is compiled (via Pudriere) with DEBUG, so I thought the above > would be more useful. > > Any hint? Signal 6 is SIGABRT, which means most likely that some assert was triggered. You should look into your logs. Also it is possible that DEBUG turns on asserts.