This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: eh_frame table too big
On Mon, 18 Feb 2013 18:09:27 -0800
Josh Stone <jistone@redhat.com> wrote:
> On 02/18/2013 03:38 PM, Dave Cameron wrote:
> > I'm trying to run a systemtap script on Firefox, but I get the
> > following warning when I invoke systemtap like:
> >
> > stap firefox.stap -d /lib64/libpthread-2.15.so \
> > -d /usr/lib64/firefox/libmozsqlite3.so \
> > -d /usr/lib64/firefox/libxul.so
> > -d /usr/lib64/firefox/firefox \ -x `pidof firefox`
> >
> > WARNING: skipping module /usr/lib64/firefox/libxul.so eh_frame
> > table (too big: 6812836 > 6291456
> >
> > -
> >
> > Also after this probe compiled and loaded, I got a kpanic,
> > which I was unable to capture, but I will try to reproduce.
>
> We definitely need to address that! I think I found a place where the
> unwind table is not completely skipped, possibly leading to bad memory
> references. I'd appreciate if you could try the attached patch (while
> the max is still set too low for you).
>
> > How can I bump this limit?
>
> This is MAX_UNWIND_TABLE_SIZE in translate.cxx, currently set to 6MB.
> We have bumped this before for libxul.so, and can do so again.
>
> Josh
>
Your patch fixed it.
Thanks,
Dave