You might be running into a bug in Solaris (the "hang bug") that
first hit Solaris 10.
There is more information here:
http://blogs.sun.com/quenelle/entry/two_bad_solaris_bugs_that
Try hitting ctrl-C a few times to see if the dbx prompt comes back.
I was not aware that this bug had migrated back into Solaris 9.
I'll look into it and let you know.
--chris
Does dbx come back if you ctrl-C a few times?
In Solaris 10 the problem happened because FIX1 caused
a bug that required FIX2. In Solaris 9 they put FIX1 and FIX2
in the same patch. So the problem isn't supposed to happen
on Solaris 9.
So I'm still not sure what problem you're having.
Does it happen with a C hello world program?
Does it happen if you statically link the C++ program?
Sounds exactly like the Solaris 10 problem.
Ctrl-C twice comes back with the dbx prompt and the following error
message.
"dbx: warning: wait for process 7270 failed -- Interrupted system call
dbx: dbx interrupted!"
Quiting out of the debugger shows process 7270 the hello world zombie still running w/parent process 1.
C++. c and fortran all hang - dynamic or statically linked.