Bug#531419: mpicc segfaults when called by fakeroot

2009-06-22 Thread Jeff Squyres
These patches were accepted into OMPI v1.3.3: https://svn.open-mpi.org/trac/ompi/changeset/21493 Exact release date is unknown, but hopefully "soon". On Jun 20, 2009, at 7:23 AM, Jeff Squyres wrote: Done. The two patches you need are here: https://svn.open-mpi.org/trac/ompi/changes

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-19 Thread Jeff Squyres
On Jun 18, 2009, at 10:24 PM, Steve M. Robbins wrote: I uploaded this change to Debian's openmpi packages yesterday, patch below. Jeff: will you commit this upstream? Fakeroot maintainer: will you set OMPI_MCA_disable_memory_allocator to 1 in the fakeroot environment? Perhaps it would be

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-18 Thread Clint Adams
On Thu, Jun 18, 2009 at 08:59:29PM -0500, Steve M. Robbins wrote: > I uploaded this change to Debian's openmpi packages yesterday, patch below. > Jeff: will you commit this upstream? > > Fakeroot maintainer: will you set OMPI_MCA_disable_memory_allocator to 1 > in the fakeroot environment? Perhap

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-18 Thread Steve M. Robbins
Hi all, On Mon, Jun 08, 2009 at 08:09:43AM -0400, Jeff Squyres wrote: > In short: perhaps you could setenv OMPI_MCA_disable_memory_allocator to > 1, or somesuch. I can easily provide you with a patch (that we'd then > also commit upstream, but you'll need the patch until we include this > fea

Bug#531522: [Pkg-openmpi-maintainers] Bug#531522: Bug#531419: mpicc segfaults when called by fakeroot

2009-06-15 Thread Sylvestre Ledru
Hello guys, Le dimanche 14 juin 2009 à 11:19 -0500, Steve M. Robbins a écrit : > On Sun, Jun 14, 2009 at 05:10:46PM +0200, Manuel Prinz wrote: > > Hi everyone! > > > > On Fri, June 12, 2009 11:10 pm, Jeff Squyres wrote: > > > Agreed. We thought that stat() was safe to call in the malloc init > >

Bug#531522: [Pkg-openmpi-maintainers] Bug#531522: Bug#531419: mpicc segfaults when called by fakeroot

2009-06-14 Thread Steve M. Robbins
On Sun, Jun 14, 2009 at 05:10:46PM +0200, Manuel Prinz wrote: > Hi everyone! > > On Fri, June 12, 2009 11:10 pm, Jeff Squyres 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 expe

Bug#531522: [Pkg-openmpi-maintainers] Bug#531522: Bug#531419: mpicc segfaults when called by fakeroot

2009-06-14 Thread Manuel Prinz
Hi everyone! On Fri, June 12, 2009 11:10 pm, Jeff Squyres 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. > > If there's some other safe way to check that stat() is *not* safe, > that would be great. Unfortunate

Bug#531419: Bug#531522: Bug#531419: mpicc segfaults when called by fakeroot

2009-06-12 Thread Jeff Squyres
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

Bug#531522: Bug#531419: mpicc segfaults when called by fakeroot

2009-06-12 Thread Steve M. Robbins
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 fo

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-10 Thread Manuel Prinz
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. Best regards Manuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contac

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-09 Thread Manuel Prinz
Hi Jeff! Am Montag, den 08.06.2009, 21:08 -0700 schrieb Jeff Squyres: > Agreed; fixing the root problem is a better bet. > > Manuel -- can you ping the fakeroot people? It would be preferable to > the method described in that URL. The fakeroot maintainers are in CC, they should have gotten th

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-08 Thread Jeff Squyres
Further thought: if it's not possible to run-time detect that we're running in fakeroot, perhaps an environment variable could be set before OMPI's mpicc is launched in the fakeroot so that we can see in the malloc hook init that that variable exists and therefore dump out before the stat's

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-08 Thread Clint Adams
On Mon, Jun 08, 2009 at 06:13:56AM -0400, Jeff Squyres (jsquyres) wrote: > Is there a run-time way to tell if we're running under fakeroot? We can > certainly just disable the malloc init hook if it detects that its under > fakeroot. You can use an undocumented API feature to detect/disable fa

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-05 Thread Jeff Squyres
On Jun 5, 2009, at 2:39 PM, Jeff Squyres wrote: FWIW, debugging OMPI is easier if you tell OMPI to slurp all the plugins into its libraries -- so there's no dlopen's and all the plugins are physically located in libmpi.so (and friends). You can get better call stacks this way from corefile

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-05 Thread Jeff Squyres
On Jun 2, 2009, at 4:25 PM, Manuel Prinz wrote: I'm putting you in the loop since I'm quite lost here... It would be great if you could throw in your thoughts! Sorry for the delay in replying; this week has been crazier than most. mpicc segfaults when it's called via fakeroot. What is fake

Bug#531419: mpicc segfaults when called by fakeroot

2009-06-02 Thread Manuel Prinz
tags 531419 + confirmed thanks Hi Jeff, I'm putting you in the loop since I'm quite lost here... It would be great if you could throw in your thoughts! mpicc segfaults when it's called via fakeroot. Since this tool is needed in the build process of Debian packages, packages depending on Open MPI