NetBSD Problem Report #54060

From gson@gson.org  Fri Mar 15 09:57:46 2019
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 952CB7A1C2
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 15 Mar 2019 09:57:46 +0000 (UTC)
Message-Id: <20190315095739.CFBA69894DA@guava.gson.org>
Date: Fri, 15 Mar 2019 11:57:39 +0200 (EET)
From: gson@gson.org
Reply-To: gson@gson.org
To: gnats-bugs@NetBSD.org
Subject: usr.bin/gdb/t_regress/threads test case now fails on amd64
X-Send-Pr-Version: 3.95

>Number:         54060
>Category:       bin
>Synopsis:       usr.bin/gdb/t_regress/threads test case now fails on amd64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kamil
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 15 10:00:00 +0000 2019
>Closed-Date:    Fri May 03 17:18:09 +0000 2019
>Last-Modified:  Fri May 03 17:18:09 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2019.03.08.23.35.01
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

The usr.bin/gdb/t_regress/threads test case started failing on amd64
about a week ago.  The problem started some time between source dates
2019.03.07.18.32.10 and 2019.03.08.23.35.01; a bisection is in
progress but may take a few days.

The test passes on i386.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/54060: usr.bin/gdb/t_regress/threads test case now fails on amd64
Date: Fri, 15 Mar 2019 12:06:43 +0200

 Log output from one failure is at:

   http://releng.netbsd.org/b5reports/amd64/2019/2019.03.08.23.35.01/test.html#usr.bin_gdb_t_regress_threads

 The corresponding console output is at

   http://releng.netbsd.org/b5reports/amd64/2019/2019.03.08.23.35.01/test.log

 and contains:

   usr.bin/gdb/t_regress (566/794): 2 test cases
       pie: [9.552284s] Passed.
       threads: [ 53437.7994301] sorry, pid 20284 was killed: orphaned traced process
   [606.395833s] Failed: Test case timed out after 300 seconds
   [616.100450s]

 The following two test cases also started failing around the same time,
 and are also failing on amd64 but not on i386:

   lib/libc/regex/t_exhaust:regcomp_too_big
   lib/libtre/t_exhaust:regcomp_too_big

 -- 
 Andreas Gustafsson, gson@gson.org

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/54060: usr.bin/gdb/t_regress/threads test case now fails on amd64
Date: Fri, 15 Mar 2019 18:17:16 +0700

     Date:        Fri, 15 Mar 2019 10:00:00 +0000 (UTC)
     From:        gson@gson.org
     Message-ID:  <20190315100000.96B2E7A280@mollari.NetBSD.org>

   | The usr.bin/gdb/t_regress/threads test case started failing on amd64

 That one didn't fail for me on my test run yesterday (amd64 XEN DomU).

   |    lib/libc/regex/t_exhaust:regcomp_too_big
   |    lib/libtre/t_exhaust:regcomp_too_big 

 Those two did however.

 kre

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: kre@NetBSD.org
Subject: Re: bin/54060: usr.bin/gdb/t_regress/threads test case now fails on amd64
Date: Fri, 15 Mar 2019 15:25:42 +0200

 The bisection has now narrowed down the interval where the
 usr.bin/gdb/t_regress/threads test started failing to the following
 commits:

   2019.03.08.20.40.05 christos src/external/bsd/blacklist/lib/Makefile 1.7
   2019.03.08.23.10.52 mrg src/distrib/sets/lists/xcomp/mi 1.203
   2019.03.08.23.32.30 kamil src/sys/kern/kern_sig.c 1.351
   2019.03.08.23.35.01 kamil src/tests/lib/libc/sys/t_ptrace_wait.c 1.100

 Also, the regcomp_too_big tests were already failing before the first
 of those commits, so they appear to be unrelated.  I will file a
 separate PR about those.
 -- 
 Andreas Gustafsson, gson@gson.org

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	gson@gson.org
Cc: 
Subject: Re: bin/54060: usr.bin/gdb/t_regress/threads test case now fails on amd64
Date: Fri, 15 Mar 2019 10:06:47 -0400

 On Mar 15,  1:30pm, gson@gson.org (Andreas Gustafsson) wrote:
 -- Subject: Re: bin/54060: usr.bin/gdb/t_regress/threads test case now fails 

 ---
 |    2019.03.08.23.32.30 kamil src/sys/kern/kern_sig.c 1.351
 ---

 Thanks Andreas, please assing the PR to kamil...

 christos

Responsible-Changed-From-To: bin-bug-people->christos
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 15 Mar 2019 14:24:23 +0000
Responsible-Changed-Why:
Over to christos on his request


Responsible-Changed-From-To: christos->kamil
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 15 Mar 2019 14:25:10 +0000
Responsible-Changed-Why:
Assign to *kamil* on christos request :)


From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/54060: usr.bin/gdb/t_regress/threads test case now fails on amd64
Date: Fri, 3 May 2019 20:12:37 +0300

 The test passes again, presumably fixed by this commit:

   2019.05.03.07.05.28 kamil src/external/gpl3/gdb/dist/gdb/infrun.c 1.2
   2019.05.03.07.05.28 kamil src/external/gpl3/gdb/dist/gdb/nbsd-nat.c 1.7

 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Fri, 03 May 2019 17:18:09 +0000
State-Changed-Why:
Fixed by kamil, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.