NetBSD Problem Report #61064

From www@netbsd.org  Tue Nov 24 16:18:32 2026
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)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id DF2E31A923B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Nov 2026 16:18:31 +0000 (UTC)
Message-Id: <20261124161830.E889B1A923D@mollari.NetBSD.org>
Date: Tue, 24 Nov 2026 16:18:30 +0000 (UTC)
From: nervoso@k1.com.br
Reply-To: nervoso@k1.com.br
To: gnats-bugs@NetBSD.org
Subject: libc dumps core because yp nis not thread safe
X-Send-Pr-Version: www-1.0
X-From4GNATS: "nervoso@k1.com.br via gnats" <gnats-admin@NetBSD.org>

>Number:         61064
>Category:       lib
>Synopsis:       libc dumps core because yp nis not thread safe
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 24 16:20:00 +0000 2026
>Closed-Date:    
>Last-Modified:  Thu Nov 26 17:34:38 +0000 2026
>Originator:     sergio lenzi
>Release:        10.2
>Organization:
k1 sistemas
>Environment:
NetBSD desktop2.lenzicasa 10.2_STABLE NetBSD 10.2_STABLE (LZT_2048_USERS)
>Description:
firefox dump core SOMETIMES because yp is not thread safe


I have a full description of the problem but is AI generated... 
>How-To-Repeat:
use nis + ldap in nsswitch.conf  so fireffox and mate-panel dumps core
in libc
>Fix:
the problem is fixed by an  AI PATCH...  very well documented in 411 lines of code...  but seems not accepted here....


for me it is working about one week now...

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jakllsch@NetBSD.org
State-Changed-When: Tue, 24 Nov 2026 16:57:49 +0000
State-Changed-Why:
Backtraces?  Concise, accurate, human-written description of the actual problem or solution?


From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: lib-bug-people@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: lib/61064: libc dumps core because yp nis not thread safe
Date: Tue, 24 Nov 2026 12:08:12 -0500

 Just send us the AI generated description of the problem?

 christos

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org
Cc: lib-bug-people@netbsd.org, gnats-admin@netbsd.org
Subject: Re: lib/61064: libc dumps core because yp nis not thread safe
Date: Tue, 24 Nov 2026 18:20:23 +0100

 On Tue, 24 Nov 2026 16:20:01 +0000 (UTC), "nervoso@k1.com.br via gnats"=20
 wrote:
 > use nis + ldap in nsswitch.conf  so fireffox and mate-panel dumps core
 > in libc

 I am mildly puzzled - I have been using Firefox on a NIS client for ~20=20
 years without - well, not without crashes, but without anything=20
 pointing at NIS.

 How is the 'nis + ldap' set up, and which of the two does what?

 Cheerio,
 Hauke

 --=20
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut f=FCr Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-21344

Responsible-Changed-From-To: lib-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Thu, 26 Nov 2026 17:34:38 +0000
Responsible-Changed-Why:
We would really rather have a description of your symptoms, like a
stack trace from gdb, than a content-free remark that an AI PATCH fixes
things for you.  But it is clear that the yp code is not thread-safe,
so I will take a look at adapting it.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.