Re: Shark failing to get entire stack

Jonathan Watt <[email protected]> Sat, 13 Nov 2010 21:53:28 +0000
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
On 13/11/2010 21:47, Mike Shaver wrote:
> 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.

Pity.

>> 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.

Good idea.

Thanks for the help and info.