[Debichem-devel] Bug#531419: Bug#531522: Bug#531419: mpicc segfaults when called by fakeroot

Jeff Squyres jsquyres at cisco.com
Fri Jun 12 21:10:11 UTC 2009


Agreed.  We thought that stat() was safe to call in the malloc init  
hook -- it seems to be in most other places, at least.

If there's some other safe way to check that stat() is *not* safe,  
that would be great.


On Jun 12, 2009, at 1:44 AM, Steve M. Robbins wrote:

> On Wed, Jun 10, 2009 at 01:59:41PM +0200, Manuel Prinz wrote:
>> Checked again, the bug is somewhere in Open MPI. While testing on  
>> Lenny,
>> I had some cruft left over. A fresh 1.3.2 installation shows the same
>> behaviour.
>
> OK, so where do we go from here?
>
> It seems to me that OpenMPI is at fault for doing crafty things like
> "stat()" in the __malloc_initialize_hook().  If that is the accepted
> view, then having a way to suppress this behaviour, say with an
> environment variable as suggested by Jeff Squyres, seems appropriate.
> That would let me solve my problem by setting the variable in
> debian/rules.  Or we could solve it Debian-wide by having
> the variable set by fakeroot.
>
> Thoughts?
>
> -Steve


-- 
Jeff Squyres
Cisco Systems






More information about the Debichem-devel mailing list