Debugging
Hi,
I am working on a program in C++ on solaris 10, i was able to compile the source codes in netbeans and did debugging using gdb 6.5.
Later i moved in to sun studio 11 and tried using dbx to do debugging but the dbx debugger crashed out.
stating
dbx: internal error: signal SIGSEGV (no mapping at default address)
please advice. Thanks!!
Regards
[392 byte] By [
chandona] at [2007-11-26 12:52:18]

# 1
Most probably the problem is in DWARF debug info processing (I presume you've compiled the program with g++). There were lots of improvements in this area since Sun Studio 11 dbx (version 7.5), so you might want to either recompile your app with Sun Studio compilers and stabs debug info (the default) or download Sun Studio Express release and try dbx 7.6. It can be downloaded here: http://developers.sun.com/sunstudio/downloads/express.jsp
In case if nothing of above helps, we're going to need more information like
- your platform (OS, architecture)
- what compilers did you use
- what type of debugger information those compilers have emitted (see this article for more information http://developers.sun.com/sunstudio/articles/dbxerr.html)
- stack trace of dbx at the moment of crash (can be obtained with either dbx itself or pstack on Solaris)