Community
Participate
Working Groups
Created attachment 116120 [details] Fix 'Bad address' error in PE proxy The PE proxy reports a 'Bad address' error 'PE@k17sf2p03: 10/24 14:06:38 T(256) Error: sdm failed to execute, status Bad address' when trying to debug a parallel application. This error occurs because the environment variable array pointer passed to the execve() function call to invoke the master SDM process was invalid. The environment variable array pointer was filled in in the child side of a previous fork to invoke the child SDM processes, so the copy in the PE proxy process was invalid. This patch moves the setup of the environment variable array into the PE proxy process so that it will be valid when it is needed to start the master SDM process.
Applied.