Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Segfault after malloc()?
From: Paul van der Walt (paul_at_[hidden])
Date: 2011-05-18 08:49:48

Hi Jeff,

Thanks for the response.

On 18 May 2011 13:30, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> *Usually* when we see segv's in calls to alloc, it means that there was previously some kind of memory bug, such as an array overflow or something like that (i.e., something that stomped on the memory allocation tables, causing the next alloc to fail).
> Have you tried running your code through a memory-checking debugger?

I sort-of tried with valgrind, but I'm not really sure how to
interpret the output (I'm not such a C-wizard). I'll have another look
a little later then and report back. I suppose I should RTFM on how to
properly invoke valgrind so it makes sense with an MPI program?


O< ascii ribbon campaign - stop html mail -