GNU bug report logs - #43998
8.32: test suite is failing

Previous Next

Package: coreutils;

Reported by: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>

Date: Wed, 14 Oct 2020 21:44:01 UTC

Severity: normal

Found in version 8.32

Full log


View this message in rfc822 format

From: Kamil Dudka <kdudka <at> redhat.com>
To: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>
Cc: 43998 <at> debbugs.gnu.org
Subject: bug#43998: 8.32: test suite is failing
Date: Thu, 15 Oct 2020 08:25:29 +0200
On Wednesday, October 14, 2020 11:43:08 PM CEST Tomasz Kłoczko wrote:
> Hi,
> 
> Two units are failing in my build env:
> 
> FAIL: tests/cp/fiemap-FMR
> =========================
> 
> ==420069== Syscall param ioctl(generic) points to unaddressable byte(s)
> ==420069==    at 0x49B94AB: ioctl (in /usr/lib64/libc-2.32.9000.so)
> ==420069==    by 0x11D851: UnknownInlinedFun (copy.c:371)
> ==420069==    by 0x11D851: copy_reg (copy.c:1239)
> ==420069==    by 0x11F0CA: copy_internal.constprop.0 (copy.c:2716)
> ==420069==    by 0x122DEA: copy.constprop.0 (copy.c:3024)
> ==420069==    by 0x123172: do_copy (cp.c:780)
> ==420069==    by 0x10DAA9: main (cp.c:1232)
> ==420069==  Address 0x3 is not stack'd, malloc'd or (recently) free'd
> ==420069==
> FAIL tests/cp/fiemap-FMR.sh (exit status: 1)

This is a problem in valgrind which does not know how to handle FICLONE
ioctl.  valgrind treats the operand of FICLONE as address 0x3 while the
ioctl is taking a valid file descriptor 3 in this case.

Kamil






This bug report was last modified 4 years and 243 days ago.

Previous Next


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