bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo spa
From:
Thomas Deutschmann
Subject:
bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc
Date:
Wed, 11 Jul 2018 19:30:57 +0200
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Thunderbird/52.9.1
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 Description: OpenPGP digital signature