1
1
openmpi/orte
Josh Hursey 58110f9fc9 Fixes Ticket #125 for both the trunk and v1.1 branch.
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.
2006-06-15 22:14:07 +00:00
..
class Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
dss Fix a bunch of warnings the Sun compilers find: 2006-04-20 15:35:58 +00:00
etc Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
include Add some finer error checking that should help debug some recent problems with dynamic spawns. 2006-03-23 15:31:43 +00:00
mca Fixes Ticket #125 for both the trunk and v1.1 branch. 2006-06-15 22:14:07 +00:00
runtime I'm confused ... Error string as well as the goto label had the same name ... 2006-02-14 17:49:14 +00:00
test/system Add ability to trap and propagate SIGUSR1/2 to remote processes. There are a number of small changes that hit a bunch of files: 2006-06-08 18:27:17 +00:00
tools Fix for ticket #91 2006-06-09 17:21:23 +00:00
util Add some finer error checking that should help debug some recent problems with dynamic spawns. 2006-03-23 15:31:43 +00:00
Doxyfile Fix the broken Doxyfile so people can generate what little code base documentation we have :-) 2006-04-13 12:52:17 +00:00
Makefile.am * Fix a small bug George noticed - if you change the prefix (or any of the 2006-03-12 04:35:01 +00:00