Re: Shark failing to get entire stack

Mike Shaver <[email protected]> Sat, 13 Nov 2010 13:47:42 -0800
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
On Sat, Nov 13, 2010 at 1:47 PM, Jonathan Watt <[email protected]> wrote:
> Could they not potentially store some information and figure out this stuff
> during the sample analysis after the profile run? Maybe I'm just showing my
> ignorance of how things work under the hood here. :)

They could do that, in theory, but in practice unless you do the
analysis based on the debug info the "some information" they need is
"the entire stack", which is impractical to copy and store N times per
second.

> Yeah, I was hoping to avoid using gdb. Last time I did, gdb itself crashed and
> took down the attached app, after which I couldn't reproduce the problem. If
> there are no other options then that's what I'll do though.

You might try building a newer gdb from source, if you're using
Apple's stock one.

Mike