NetBSD Problem Report #56039

From www@netbsd.org  Thu Mar  4 22:36:13 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 080FA1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  4 Mar 2021 22:36:13 +0000 (UTC)
Message-Id: <20210304223611.618381A924E@mollari.NetBSD.org>
Date: Thu,  4 Mar 2021 22:36:11 +0000 (UTC)
From: nervoso@k1.com.br
Reply-To: nervoso@k1.com.br
To: gnats-bugs@NetBSD.org
Subject: abort on dhcpd for 9.99.80
X-Send-Pr-Version: www-1.0

>Number:         56039
>Category:       port-amd64
>Synopsis:       abort on dhcpd for 9.99.80
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 04 22:40:00 +0000 2021
>Originator:     sergio lenzi
>Release:        NetBSD 9.99.80
>Organization:
k1 sistemas
>Environment:
NetBSD server500.csabino 9.99.80 NetBSD 9.99.80 (LZT64HEAD) #0: Mon Mar  1 17:31:31 -03 2021  NetBSD@server500.sabino:/home/NetBSD/BUILD/HEAD/amd64/OBJ/sys/arch/amd64/compile/GENERIC amd64
>Description:
a fresh build of NetBSD from sources on amd64, and probably on i386 too  result in core dump and message from dhcpd.. make the system unable to offer dhcp on the network

This problem does not happen in the 9.99.75 I tested
>How-To-Repeat:
build the system using fresh tarballs from http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/source/sets

install system run system

supose your network is re0....

dhcpd -f re0  results....
===================================================================
Internet Systems Consortium DHCP Server 4.4.2
Copyright 2004-2020 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/dhcpd.conf
Database file: /var/db/dhcpd.leases
PID file: /var/run/dhcpd.pid
Wrote 11 leases to leases file.
Listening on BPF/wm1/04:7d:7b:61:9a:8b/192.168.31.0/24
Sending on   BPF/wm1/04:7d:7b:61:9a:8b/192.168.31.0/24
Sending on   Socket/fallback/fallback-net
Server starting service.
/home/NetBSD/BUILD/HEAD/usr/src/external/mpl/bind/lib/libisc/../../dist/lib/isc/unix/socket.c:3305: fatal error: RUNTIME_CHECK(((__libc_mutex_unlock(((&sock->lock))) == 0) ? 0 : 34) == 0) failed
Abort trap (core dump)

>Fix:

A workaround was use isc-dhcpd from pkgsrc  both have version 4.4.2

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.