rmottola / Arctic-Fox

Web Browser for Mac OS X 10.6+, Linux (PowerPC, x86, amd64, ARM, MIPS), NetBSD, OpenBSD, and Windows XP.
Other
305 stars 36 forks source link

on Linux/PPC failure to start due to JS init #210

Open rmottola opened 1 month ago

rmottola commented 1 month ago

[29129] ###!!! ABORT: JS_InitWithFailureDiagnostic: u_init() failed: file /home/multix/code/Arctic-Fox/xpcom/build/XPCOMInit.cpp, line 709

I can't get smarter from this error and reason

things are working on Intel but also on NetBSD/PPC, so it is specific to Linux/PPC.

techflashYT commented 1 month ago

Any chance you're in need of testing for this issue? I have 2 different 32-bit PPC machines that I could test this on:

rmottola commented 1 month ago

@techflashYT thanks for you ... the issue is not 32bit or 64 bit specific, but seems to be Linux/PPC specific. Linux/x86 works, NetBSD/ppc works! What kind of testing do you thought to perform? The only way I would see here is either understanding the error or doing compiler bisection and getting the breaking commit and trying to understand.

On my PowerBook G4 (1.66Ghz, 2GB of ram) it takes 441 minutes to compile, so not the best tool to do a series of bisecting compilations! You could try on yours if they run cool, but the issue is RAM? 1.2GB bare minimum to build with plenty of swap and wear on HDD, 1.5GB starts to be usable. 2GB recommended. Running it is of course less heavy and depends on the sites.

techflashYT commented 1 month ago

I typically opt to cross compile software for my PPC machines. I also unfortunately lack any 64-bit PPC Hardware. I was thinking I would try to compile Arctic Fox targetting different distros (with differnet libraries), and try multiple configurations, maybe try a few different versions, and just general poking at it, to see if it makes any changes.

rmottola commented 1 month ago

If you have a working cross-compile which produces a working binary, you can try compiling and testing if you can reproduce the error, then from there go back and try to find the offending commit, with some bisection. That would be useful.

rmottola commented 5 days ago

Known good commit:

commit 77ef52ac2a1287def2f45b40e7f41ac67dc23b19 (HEAD)
Author: Riccardo Mottola <rm@gnu.org>
Date:   Mon Feb 19 09:05:38 2024 +0100

    Bug 1251897 - DocAccessible constructor doesn't have to take root element as an argument, r=davidb

This is before configure refactor.

rmottola commented 5 days ago

Still good, after configure refactor:

commit f7a5f63a0c1882bd6c57c9a324b96d38e0a02e58 (HEAD)
Author: Riccardo Mottola <rm@gnu.org>
Date:   Mon Apr 15 14:21:16 2024 +0200

    Bug 1259382 - Remove support for Intel C/C++ compiler. r=ted
rmottola commented 4 days ago

Already broken:

commit 3becdb439375136029f5991133f47f3f398a0674 (HEAD)
Author: Riccardo Mottola <rm@gnu.org>
Date:   Mon Apr 29 20:55:02 2024 +0200

    bug 1239083 - use moz.build files to build ICU. r=glandium,waldo