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

Previous Next

Package: sed;

Reported by: Martin Liška <mliska <at> suse.cz>

Date: Tue, 19 Nov 2019 18:53:01 UTC

Severity: normal

To reply to this bug, email your comments to 38280 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#38280; Package sed. (Tue, 19 Nov 2019 18:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Liška <mliska <at> suse.cz>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Tue, 19 Nov 2019 18:53:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Liška <mliska <at> suse.cz>
To: bug-sed <at> gnu.org
Subject: FAIL: test-canonicalize-lgpl with GCC 10
Date: Tue, 19 Nov 2019 19:52:24 +0100
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




Information forwarded to bug-sed <at> gnu.org:
bug#38280; Package sed. (Sat, 31 Dec 2022 22:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 38280 <at> debbugs.gnu.org (full text, mbox):

From: Sam James <sam <at> gentoo.org>
To: 38280 <at> debbugs.gnu.org
Subject: Bug 38280
Date: Sat, 31 Dec 2022 22:25:25 +0000
[Message part 1 (text/plain, inline)]
I suspect this was related to the gnulib bug https://lists.gnu.org/archive/html/bug-gnulib/2020-01/msg00040.html
and fixed in https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=b7d7afe10ddf599452bd80b8a840c830cd474b09

This should be present in the latest sed releases. I can't reproduce it, so it was either that,
or a subsequent commit (of which there's been quite a few: https://git.savannah.gnu.org/cgit/gnulib.git/log/?qt=grep&q=canonic).
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 2 years and 227 days ago.

Previous Next


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