Somet times we get a problem with dbxtool/sunstudio-dbx crash.
Problem appearance:
% /home1/sdfd/bin/dbxtool process1
OR % /home1/sdfd/bin/sunstudio &
OR
% /home1/sdfd/bin/dbx process1
For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.8'
in your .dbxrc
Reading process1
Reading ld.so.1
Reading libdl.so.1
Reading librt.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libxerces-c.so.28.0
Reading libtten.so
Reading libpthread.so.1
Reading libm.so.2
Reading libgcc_s.so.1
Reading libc.so.1
Reading libaio.so.1
Reading libmd5.so.1
Reading libgen.so.1
Reading libstdc++.so.6
Reading libthread.so.1
Reading libm.so.1
dbx: warning: unknown location expression code (0x9f)
dbx: warning: unknown location expression code (0x9f)
dbx: warning: unknown location expression code (0x9f)
dbx: internal error: signal SIGSEGV (no mapping at the fault address)
dbx's coredump will appear in /tmp
I am looking for a solution, if anybody knew please leave comments here.thanks
GOT Solution ----
I'm using g++4.5 and have some older version of dbx, and moved to newer sunstudio
installation and new dbx version is 'Sun DBX Debugger 7.8 SunOS_sparc 2010/08/13'
Now bcheck and dbx are working fine.