NetBSD Problem Report #59907

From gson@gson.org  Sun Jan 11 12:28:47 2026
Return-Path: <gson@gson.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 "R13" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A29201A9242
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Jan 2026 12:28:47 +0000 (UTC)
Message-Id: <20260111122334.A2A5525408D@guava.gson.org>
Date: Sun, 11 Jan 2026 14:23:34 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: sparc install regression
X-Send-Pr-Version: 3.95
X-From4GNATS: "Andreas Gustafsson via gnats" <gnats-admin@NetBSD.org>

>Number:         59907
>Category:       port-sparc
>Synopsis:       sparc install regression
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    skrll
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 11 12:30:00 +0000 2026
>Closed-Date:    Mon Jan 12 20:03:14 +0000 2026
>Last-Modified:  Mon Jan 12 20:03:14 +0000 2026
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2026.01.09.09.38.33
>Organization:
>Environment:
System: NetBSD
Architecture: sparc
Machine: sparc
>Description:

The sparc testbed fails at the installation stage since this recent commit:

   2026.01.09.09.38.33 skrll src/libexec/ld.elf_so/xmalloc.c 1.17

Sysinst prints "Command ended on signal" both when it runs "certctl rehash"
and when it attempts to set the root password.

For logs, see:

  https://releng.netbsd.org/b5reports/sparc/commits-2026.01.html#2026.01.09.09.38.33

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc/59907: sparc install regression
Date: Mon, 12 Jan 2026 12:39:55 +0100

 This is not sparc specific, the change also makes ld.elf_so crash on
 evbarmv5 machines:


 [ 672904.7265927] data_abort_handler: data_aborts fsr=0x1 far=0xbbee62bc
 Bus error (core dumped)

 I guess the new imalloc() version does not enforce the minimum malloc alignment
 our gcc is configured for.

 Martin

Responsible-Changed-From-To: port-sparc-maintainer->skrll
Responsible-Changed-By: skrll@NetBSD.org
Responsible-Changed-When: Mon, 12 Jan 2026 14:19:38 +0000
Responsible-Changed-Why:
my bug


State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Mon, 12 Jan 2026 20:03:14 +0000
State-Changed-Why:
Fixed with src/libexec/ld.elf_so/xmalloc.c 1.23


>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.