58110f9fc9
This commit will apply cleanly to the v1.1 branch, and should be moved over once I get someone to verify it. The problem is outlined in the bug. The fix was to move the setting of the app context index (idx) before we put it in the GPR so that it is propogated to the gpr. The reason this hasn't bitten us before is because we init app->idx to 0, which is true most of the time. Except that is when MPI_Comm_spawn_multiple in which we put in more than one app context, thus care about correct indexing. This was causing down the line memory corruption by overrunning the mapping array. This commit also puts in a check to make sure that we error out if we ever try to do that again. This commit was SVN r10380. |
||
---|---|---|
.. | ||
class | ||
dss | ||
etc | ||
include | ||
mca | ||
runtime | ||
test/system | ||
tools | ||
util | ||
Doxyfile | ||
Makefile.am |