Dbx can crash with g++ symbols
By Chris Quenelle on Oct 05, 2006
Sun Studio 11 dbx (and the one in latest express release) has a bug that can make dbx crash when it reads g++ information. (The problem is in the g++ demangler library that dbx uses) The bug was fixed recently, but so far it is not patched in Sun Studio 11. Nobody with a support contract seems to have run into the problem yet. It should be fixed in the next express release, but that is probably a month or two away.
If dbx crashes on a program that has g++ code in it, look at the stack trace from the dbx core file, and if it crashed inside some functions like:
then you're probably hitting this bug. There are two bugids associated with the same problem. 6457910 and 6390216. Remember, if you have a service contract, and you run into these bugs, you can request a patch. Unfortunately the rest of our users have to wait for the next express release. I'm trying to push for a Sun Studio 11 patch, but so far it hasn't happened.