Re: Crashing a lot when running with jprof

"L. David Baron" <[email protected]> Wed, 27 Feb 2008 14:16:31 -0800
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
On Wednesday 2008-02-27 16:15 -0500, dolphinling wrote:
> ...and gcc 4.1.2 on Gentoo.

i686 or x86_64?

> http://developer.mozilla.org/en/docs/Building_on_Fedora_Core_5 says to try
> ac_add_options --enable-optimize="-O2 -fno-omit-frame-pointer"
> I did, it didn't help.

It doesn't help if your system libraries are compiled with
-fomit-frame-pointer, which I think is likely to be the case on
x86_64.  (Although with gentoo maybe it's used everywhere.  Can you
check?)

And the glibc backtrace() stack walking code didn't work across
signal handlers, last I tried, so that wouldn't help here either.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/