Purifies c++ binary fails to start up
<p>I am trying to use Rational Purify 7 to profile one of our C++ applications and I have been encountering issues running the binary. To narrow down the issue I tried profiling a very simple C++ program and I see the same error. I have pasted the code and the output that I am getting when running using Purify: </p>

<pre><code>// purify.cc
#include &lt;iostream&gt;

int main()
{
    int *i = new int[10];
    return 0;
}
</code></pre>

<pre>
[12:15 AM]~/testPrograms$ purify -recursion-depth-limit=0 --best-effort --cache-dir=/home/deepakde/testPrograms g++ purify.cc


[12:17 AM]~/testPrograms$ ./a.out
Purify: Warning: Cannot open file  to read program header info
****  Purify instrumented ./a.out (pid 10897 at Mon Apr 22 00:17:37 2013)
  * Purify 7.0.0.0-010 080125 Linux (64-bit) (C) Copyright IBM Corporation. 1992, 2008 All Rights Reserved.
  * For contact information type: "purify -help"
  * For Purify Viewer output, set the DISPLAY environment variable.
  * Options settings: -g++=yes -purify -recursion-depth-limit=0 --best-effort \
    --cache-dir=/home/deepakde/testPrograms \
    -purify-home=/opt/purifyplus/7_fixpack3/releases/purify.i386_linux2.7.0.0.0-010 \
    -gcc3_path=/usr/bin/g++ -cache-dir=/home/deepakde/testPrograms
Purify: Warning: Cannot open file  to read program header info
Purify: Warning: Cannot open file  to read program header info
Purify: Warning: Cannot open file  to read program header info

****  Purify instrumented ./a.out (pid 10897)  ****
MSE: Memory segment error:
  * This is occurring while in thread 10897:
        *unknown func* [pc=0x2ba62329f4d0]
        *unknown func* [pc=0x3d2b20d3fa]
  * Accessing a memory range that crosses a memory segment boundary.
    Addressing 0x2ba6236806a8 for 8 bytes ending at 0x2ba6236806b0,
    which is neither in the heap nor the main stack.

****  Purify instrumented ./a.out (pid 10897)  ****
MSE: Memory segment error:
  * This is occurring while in thread 10897:
        *unknown func* [pc=0x2ba62329f4fd]
        *unknown func* [pc=0x3d2b20d3fa]
  * Accessing a memory range that crosses a memory segment boundary.
    Addressing 0x2ba6236806c0 for 8 bytes ending at 0x2ba6236806c8,
    which is neither in the heap nor the main stack.
</pre>

<p>Can someone help me with this error message that I am getting while running with Purify? The program fails to even start and just errors out with this message.</p>

<p>I am using Purify 7 Fixpack 3 on RedHat Linux 2.6 64-bit.</p>
