GNU bug report logs - #29886
tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

Previous Next

Package: coreutils;

Reported by: Thomas Deutschmann <whissi <at> gentoo.org>

Date: Fri, 29 Dec 2017 02:41:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Thomas Deutschmann <whissi <at> gentoo.org>, 29886 <at> debbugs.gnu.org
Subject: Re: bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on
 Gentoo sparc
Date: Wed, 11 Jul 2018 10:05:59 -0700
[Message part 1 (text/plain, inline)]
Thomas Deutschmann wrote:

> Not sure if this is a kernel problem. Isn't test suite using
> LD_PRELOAD to pull in additional libraries which could cause
> such a breakage?

You're right, it could be a library problem. The test suite's LD_PRELOAD library 
just returns what the C library gives it, though. Perhaps LD_PRELOAD usage is 
messing up malloc on your platform, so that it returns improperly-aligned 
pointers? You might try something like the attached patch to see whether the C 
library is doing that.

> And wouldn't "rm" show any failure during normal use?

Yes, one would think so.

In any case, this is not sounding like a bug in coreutils itself.
[diff (text/plain, attachment)]

This bug report was last modified 7 years and 6 days ago.

Previous Next


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