Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2013 18:24:54 -0400
From:      Jan Beich <jbeich@tormail.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        gecko@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: firefox 19.0,2 crashing under FreeBSD 8
Message-ID:  <1UNsb3-000IEE-LH@internal.tormail.org>
In-Reply-To: <CAG=rPVdS95sKvgYdsm1drLYd-h7Byw=8GPH%2BWWVTcNnBsjkrAA@mail.gmail.com> (Craig Rodrigues's message of "Wed, 3 Apr 2013 11:57:17 -0700")
References:  <CAG=rPVdS95sKvgYdsm1drLYd-h7Byw=8GPH%2BWWVTcNnBsjkrAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Craig Rodrigues <rodrigc@FreeBSD.org> writes:

> Stacktrace 2:
>
> (gdb) where
> #0  0x282e95f2 in flockfile () from /lib/libc.so.7
> #1  0x282defb0 in vfprintf () from /lib/libc.so.7
> #2  0x282cfd3e in fprintf () from /lib/libc.so.7
> #3  0x282ec43a in .cerror () from /lib/libc.so.7
> #4  0x283289a8 in __JCR_LIST__ () from /usr/local/lib/libffi.so.6
> #5  0x28326fb7 in ffi_call_SYSV () from /usr/local/lib/libffi.so.6
> #6  0x28326dee in ffi_call () from /usr/local/lib/libffi.so.6
> #7  0x2a37c3dd in JS_SetCTypesCallbacks ()
>    from /usr/local/lib/firefox/libxul.so
> #8  0x333e1740 in ?? ()
> #9  0x338b0ed4 in issetugid () from /usr/local/lib/compat/libc.so.6

Can you show what's linked against libc.so.6 from misc/compat6x ?
For example,

  $ ldd -a /usr/local/lib/firefox/libxul.so

> #10 0x33341ae0 in ?? ()
> #11 0xbedf1ca0 in ?? ()
> #12 0xbedf1ce0 in ?? ()
> #13 0x3fe6a09e in ?? ()
> #14 0x39618fd0 in ?? ()
> #15 0x2a134cf1 in js_GetScriptLineExtent ()
>    from /usr/local/lib/firefox/libxul.so
> Previous frame inner to this frame (corrupt stack?)
> =========================================================
>
> I saw in this thread:
>
> http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081567.html
>
> That patching clang helped fix some stack issues with Firefox.
>
> Is this solution applicable to FreeBSD 8?
> On FreeBSD 8, the firefox port is built with g++46, not clang.

At this time only base clang is considered but during firefox 19
lang/clang* could be picked up by default.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1UNsb3-000IEE-LH>