NetBSD Problem Report #56039

From  Thu Mar  4 22:36:13 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 080FA1A921F
	for <>; Thu,  4 Mar 2021 22:36:13 +0000 (UTC)
Message-Id: <>
Date: Thu,  4 Mar 2021 22:36:11 +0000 (UTC)
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
k1 sistemas
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
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
build the system using fresh tarballs from

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
Config file: /etc/dhcpd.conf
Database file: /var/db/dhcpd.leases
PID file: /var/run/
Wrote 11 leases to leases file.
Listening on BPF/wm1/04:7d:7b:61:9a:8b/
Sending on   BPF/wm1/04:7d:7b:61:9a:8b/
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)


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:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.