Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firefox52 broken on NetBSD9.3 / pkgsrc-2022Q4



On Wed, Jan 25, 2023 at 08:30:10PM +0100, Connor McLaughlan wrote:
> Thread 1 "" received signal SIGSEGV, Segmentation fault.
> 0x000000004cb09ec4 in CallQueryInterface<nsISupports, nsWrapperCache>
> (aDestination=0xffffffffffff9e98, aSource=0>

Having aSource nullptr here is a clear no-go.

But:

> (gdb) bt
> #0  0x000000004cb09ec4 in CallQueryInterface<nsISupports,
> nsWrapperCache> (aDestination=0xffffffffffff9e98, aSour>
>     at /usr/pkgsrc/www/firefox52/work/build/dist/include/nsISupportsUtils.h:135
> #1  xpcObjectHelper::xpcObjectHelper (this=0xffffffffffff9e80,
> aObject=0x410ed748 <__stack_chk_guard>, aCache=0x0)
>     at /usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/js/xpconnect/src/xpcObjectHelper.h:35

.. I don't understand how it can happen with aObject=0x410ed748 and the
only way to invoke CallQueryInterface being:

            if (aObject)
                CallQueryInterface(aObject, &mCache);

(and &mCache looks ok as aDestination=0xffffffffffff9e98 in frame #0
with this=0xffffffffffff9e80 in frame #1).

So: no idea what is happening here.

Martin


Home | Main Index | Thread Index | Old Index