Re: Trying to crack the Firefox crashing issue

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <d3ea866a9615e36e7a72ab70efe34ce3e575ee23.camel@physik.fu-berlin.de>
Hi Reimar,

On Fri, 2025-05-09 at 16:28 +0700, Reimar Döffinger wrote:
> I don't think you are quite on the right track. 
> w2c_rlbox_streqci has 3 arguments, not 2 like the source you quote,
> so that will make it real hard to match those up. 
> The nops are almost certainly there to align the loop start with the
> icache line size (making it start at +16).
> The strange r4 r5 sub is probably to have a single loop increment
> variable, but I expect that will be really hard to understand without
> finding the exact matching code and what that 3rd argument is about. 
> That is besides that the bug could be very, very far away from the crash
> location, so not sure you are anywhere close to the issue (but I don't
> have any better suggestion).

There are still two bugs open related to big-endian in Bugzilla:

https://bugzilla.mozilla.org/show_bug.cgi?id=1244398
https://bugzilla.mozilla.org/show_bug.cgi?id=1718880

Plus, I'd be looking into the patches that Oracle is maintaining for Firefox
on Solaris for SPARC which does actually carry fixes related to big-endian
systems if I remember correctly:

https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/patches

There is a very high possibility that there is a proper fix among these patches.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.