Firefox 50.0, 1_1, on FreeBSD 9 - Regular crash with Bus error 10, probably to Javascript.

Jan Beich jbeich at freebsd.org
Tue Nov 8 12:41:46 UTC 2016


Robert Backhaus <robbak at robbak.com> writes:

> #0  CopySwapUTF16 (aLen=24, aOutBuf=<optimized out>, aInBuf=<optimized out>)
>     at
> gfx/thebes/gfxFontUtils.cpp:927
> #1  gfxFontUtils::DecodeFontName (aNameData=<optimized out>, aByteLen=48,
> aPlatformCode=<optimized out>,
>     aScriptCode=<optimized out>, aLangCode=<optimized out>, aName=...)
>     at
> gfx/thebes/gfxFontUtils.cpp:1447
> #2  0x0000000803d9df12 in gfxFontUtils::ReadNames
> (aNameData=aNameData at entry=0x82d297350
> "",
>     aDataLen=aDataLen at entry=1779, aNameID=aNameID at entry=4,
> aLangID=<optimized out>, aLangID at entry=1033,
>     aPlatformID=aPlatformID at entry=3, aNames=...)
>     at
> gfx/thebes/gfxFontUtils.cpp:1545
>
> CopySwapUTF16() is
>
> 922 static void
>  923 CopySwapUTF16(const uint16_t *aInBuf, uint16_t *aOutBuf, uint32_t aLen)
>  924 {
>  925     const uint16_t *end = aInBuf + aLen;
>  926     while (aInBuf < end) {
>  927         uint16_t value = *aInBuf;
>  928         *aOutBuf = (value >> 8) | (value & 0xff) << 8;
>  929         aOutBuf++;
>  930         aInBuf++;
>  931     }
>  932 }

Thanks for the report. Try updating past https://svnweb.freebsd.org/changeset/ports/425733


More information about the freebsd-gecko mailing list