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


View this message in rfc822 format

From: Thomas Deutschmann <whissi <at> gentoo.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>, 29886 <at> debbugs.gnu.org, Rolf Eike Beer <eike <at> sf-mail.de>
Subject: bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc
Date: Wed, 11 Jul 2018 19:30:57 +0200
[Message part 1 (text/plain, inline)]
On 2018-07-11 19:05, Paul Eggert wrote:
> 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.

Looks like we are on the right track, with your diff:

#0  0xf7e230fc in raise () from /lib/libc.so.6
#1  0xf7e25240 in abort () from /lib/libc.so.6
#2  0xf7fb4840 in readdir64 () from ./k.so


Adding Rolf (the Gentoo sparc user) to this mail conversation.


-- 
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

[signature.asc (application/pgp-signature, 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.