Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Nov 2016 12:41:45 +0000 (UTC)
From:      jbeich@freebsd.org (Jan Beich)
To:        Robert Backhaus <robbak@robbak.com>
Cc:        gecko@freebsd.org
Subject:   Re: Firefox 50.0, 1_1, on FreeBSD 9 - Regular crash with Bus error 10, probably to Javascript.
Message-ID:  <20161108124145.EA70218CA@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Robert Backhaus <robbak@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@entry=0x82d297350
> "",
>     aDataLen=aDataLen@entry=1779, aNameID=aNameID@entry=4,
> aLangID=<optimized out>, aLangID@entry=1033,
>     aPlatformID=aPlatformID@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161108124145.EA70218CA>