Re: Crashing a lot when running with jprof
"L. David Baron" <[email protected]> Wed, 27 Feb 2008 23:34:19 -0800
| Newsgroups | gmane.comp.mozilla.performance |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 2008-02-27 22:04 -0500, dolphinling wrote: > L. David Baron wrote: > > 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?) > > They are (not by default, but it's one of the most common settings, since it's Then jprof as written now isn't going to work for you, since it depends on the frame pointer being saved in every stack frame for stack traversal. > > And the glibc backtrace() stack walking code didn't work across > > signal handlers, last I tried, so that wouldn't help here either. > > This bit is over my head--is there something I can try contained in that sentence? It's about a potential fix to jprof that I once tried but that didn't work for me. However, that fix would also seriously degrade the performance characteristics of jprof since backtrace() is much slower than jprof's frame pointer walking code. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/