NetBSD Problem Report #59422

From martin@duskware.de  Thu May 15 09:57:54 2025
Return-Path: <martin@duskware.de>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5058D1A923E
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 15 May 2025 09:57:54 +0000 (UTC)
Message-Id: <20250515095751.4D8A8A7DC8@mail.duskware.de>
Date: Thu, 15 May 2025 11:57:46 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gdb "randomly" fails on evbmipsn64-eb
X-Send-Pr-Version: 3.95

>Number:         59422
>Category:       toolchain
>Synopsis:       gdb "randomly" fails on evbmipsn64-eb
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 15 10:00:00 +0000 2025
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD supremacy.duskware.de 10.99.14 NetBSD 10.99.14 (OCTEON) #29: Thu May 15 10:15:31 CEST 2025 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/evbmips/compile/OCTEON evbmips
Architecture: mipsn64eb
Machine: evbmips
>Description:

I see spurious nonreproducable failures of gdb on an ERLITE3 running 64bit
userland:

 > gdb file
GNU gdb (GDB) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "mipsn64eb--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from file...
Reading symbols from /usr/libdata/debug//usr/bin/file.debug...
(gdb) terminate called after throwing an instance of 'std::future_error'
  what():  std::future_error: Promise already satisfied


Fatal signal: Abort trap
----- Backtrace -----
0x3c22a3 ???
0x3bf307 ???
0xfff7ee9cc3 ???
0xfff7ee9c08 _lwp_kill
---------------------
A fatal error internal to GDB has been detected, further
debugging is not possible.  GDB will now terminate.
[..]
Abort (core dumped)
 > gdb gdb gdb.core
[..]
Reading symbols from gdb...
Reading symbols from /usr/libdata/debug//usr/bin/gdb.debug...
[New process 974]
[New process 935]
[New process 970]

warning: Error reading shared library list entry at 0x92e20018dfc40020
Core was generated by `gdb'.
Program terminated with signal SIGABRT, Aborted.
#0  0x000000fff7ee9c08 in ?? ()


>How-To-Repeat:
can't repeat it myself

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.