[dtrace-discuss] Is it possible to use DTrace against core file? - Firefox bug

Andrew Gabriel agabriel at opensolaris.org
Tue Oct 27 13:34:16 PDT 2009


Tomas Bodzar wrote:
> Hi all,
> Is it possible to use DTrace against core file? -	Firefox bug
>   

No, as it's not running.

> So here I'm stuck. If I'm correct then FF crashed on this https://developer.mozilla.org/En/PR_EnumerateAddrInfo which is in this main function http://mxr.mozilla.org/firefox/source/toolkit/xre/nsAppRunner.cpp#1831 but I can't see addresses in stack output of mdb as in this post http://solaristhings.blogspot.com/2006/08/dont-be-afraid-of-mdb.html  I can see library names. So what's next? Is there a way to get more "human readable" output with DTrace for similar cases?
>   

Run the output through c++filt to demange the C++ names.

You're probably going to be better off using a debugger which is part of 
the compiler toolchain used to build it, such as dbx or gdb as appropriate.

-- 
Andrew



More information about the dtrace-discuss mailing list