Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] error on malloc
From: Jai Dayal (dayalsoap_at_[hidden])
Date: 2011-09-05 03:48:53

Hi all,
  I've been beating my head on this for quite a while now. I don't have
this problem when running with 1,2, or 3 procs, however, once I get to 4 or
beyond, I have a problem.

When I call malloc, I get this error:

txserver:11055 terminated with signal 11 at PC=2b46886bc18a
SP=7fff20f51030. Backtrace:

However, only rank 0 calls this function. Which is strange. I can just put
a dummy malloc in there (int * dummy = (int *)malloc(10);) for example, and
it will still crash.

Again, this does not happen with n < 4 procs. The crash happens on rank 0,
as it's the only rank that calls this code...

I'm perplexed.

Thanks a lot,