PDB error with PhAB applications

I keep on getting a “gdb error” when trying to
debug a Photon app.
The error occurs just at it is finishing displaying the
code for main. It happens every time.
The machine has 128MB RAM.
I compile “debug release”, and static.

When I go into gdb, and do
-run until main
-nexti
gdb gives a SEGV error.

Am I missing something?