[Debichem-devel] Bug#531419: [Pkg-openmpi-maintainers] Bug#531522: Bug#531419: mpiccsegfaults when called by fakeroot

Jeff Squyres jsquyres at cisco.com
Mon Jun 15 15:31:11 UTC 2009


On Jun 14, 2009, at 12:19 PM, Steve M. Robbins wrote:

>>> Agreed.  We thought that stat() was safe to call in the malloc init
>>> hook -- it seems to be in most other places, at least.
>
> Jeff, I agree that one would expect stat() to be safe; my comment
> about "crafty things" wasn't intended as a judgement call on this
> approach.  I think the code is pretty clever, but it's a hard problem
> when you are operating with no clear rules about what is permitted in
> the init hook.  :-)

Thanks!  Just wanted to make sure we weren't unintentionally going  
afoul of some established techniques that we weren't previously aware  
of (wouldn't be the first time :-( ).

> Otherwise, I can easily convert my "#if 0" hack into a patch that
> checks for an environment variable.  Jeff previously suggested
> setting OMPI_MCA_disable_memory_allocator; is that the variable we
> want to use?


Note that this would be a fairly Open MPI-specific environment  
variable.  This would be fine with me, but I don't know you want a  
more generic fakeroot solution in case anyone else ever runs into this  
problem...?

-- 
Jeff Squyres
Cisco Systems






More information about the Debichem-devel mailing list