[fedora-arm] Possible glibc bug manifesting only on SMP ARMv7 systems

Andrew Haley aph at redhat.com
Tue Nov 29 14:42:27 UTC 2011


On 11/29/2011 02:01 PM, Gordan Bobic wrote:
> One other thing - one of the manifestations of this bug appears to be 
> random memory corruption (strange, I know - unless I am dealing with two 
> totally unrelated problems). Specifically, I have seen the bug manifest 
> during compile jobs where, for example, linking would segfault, and 
> re-making would segfault again. But doing:
> echo 3 > /proc/sys/vm/drop_caches
> would fix the problem.
> 
> My first suspicion was duff hardware/RAM on my AC100. So I got another 
> one, and it behaves in the exact same way.

The most likely explanation is that you've got a data race somewhere.
SMP ARM, unlike x86, has a  weakly-ordered memory model.  Unless
everyone is extremely careful, problems like the one you're describing
are very likely.

Andrew.



More information about the arm mailing list