GNU bug report logs - #38280
FAIL: test-canonicalize-lgpl with GCC 10

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: sed; Reported by: Martin Liška <mliska@HIDDEN>; dated Tue, 19 Nov 2019 18:53:01 UTC; Maintainer for sed is bug-sed@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 18:52:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 19 13:52:33 2019
Received: from localhost ([127.0.0.1]:48529 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iX8c4-0005yl-Qg
	for submit <at> debbugs.gnu.org; Tue, 19 Nov 2019 13:52:33 -0500
Received: from lists.gnu.org ([209.51.188.17]:48051)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mliska@HIDDEN>) id 1iX8c2-0005yd-3Q
 for submit <at> debbugs.gnu.org; Tue, 19 Nov 2019 13:52:30 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40896)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mliska@HIDDEN>) id 1iX8c0-00060V-Vy
 for bug-sed@HIDDEN; Tue, 19 Nov 2019 13:52:29 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_MED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mliska@HIDDEN>) id 1iX8bz-0003CV-Jf
 for bug-sed@HIDDEN; Tue, 19 Nov 2019 13:52:28 -0500
Received: from mx2.suse.de ([195.135.220.15]:52274 helo=mx1.suse.de)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mliska@HIDDEN>) id 1iX8bz-0003CI-DG
 for bug-sed@HIDDEN; Tue, 19 Nov 2019 13:52:27 -0500
X-Virus-Scanned: by amavisd-new at test-mx.suse.de
Received: from relay2.suse.de (unknown [195.135.220.254])
 by mx1.suse.de (Postfix) with ESMTP id 551E8C255
 for <bug-sed@HIDDEN>; Tue, 19 Nov 2019 18:52:25 +0000 (UTC)
To: bug-sed@HIDDEN
From: =?UTF-8?Q?Martin_Li=c5=a1ka?= <mliska@HIDDEN>
Subject: FAIL: test-canonicalize-lgpl with GCC 10
Message-ID: <5c1c11f3-5130-1a31-9264-9b854f044da7@HIDDEN>
Date: Tue, 19 Nov 2019 19:52:24 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic] [fuzzy]
X-Received-From: 195.135.220.15
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

The test fails due to:

./gnulib-tests/test-canonicalize-lgpl
test-canonicalize-lgpl.c:74:14: runtime error: null pointer passed as argument 1, which is declared to never be null
     #0 0x40169c in main (/home/marxin/Programming/sed/gnulib-tests/test-canonicalize-lgpl+0x40169c)
     #1 0x7f76821e8e0a in __libc_start_main ../csu/libc-start.c:308
     #2 0x4011f9 in _start (/home/marxin/Programming/sed/gnulib-tests/test-canonicalize-lgpl+0x4011f9

-fsanitize=undefined is used. Problem is that the function has nonnull(1) attribute.

One another issue I see with UBSAN:

$ cat testsuite/debug.log
...
debug.pl: test c10_: stderr mismatch, comparing c10_.3 (expected) and c10_.E (actual)
*** c10_.3	Tue Nov 19 19:42:55 2019
--- c10_.E	Tue Nov 19 19:42:55 2019
***************
*** 0 ****
--- 1 ----
+ sed/debug.c:322:7: runtime error: null pointer passed as argument 1, which is declared to never be null
c11_...
c12...

Thank you,
Martin




Acknowledgement sent to Martin Liška <mliska@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-sed@HIDDEN. Full text available.
Report forwarded to bug-sed@HIDDEN:
bug#38280; Package sed. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.