Re: Please test Firefox on ppc64

2023-09-11 Thread Johannes Brakensiek
Am Donnerstag, dem 31.08.2023 um 23:16 +0200 schrieb John Paul Adrian
Glaubitz:
> On Thu, 2023-08-31 at 23:06 +0200, John Paul Adrian Glaubitz wrote:
> > Can anyone running Debian on ppc64 please give it a try?
> 
> It might crash because of this bug:
> 
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1845669
> 
> Adrian
> 

Hi Adrian,

I was just able to test it using an upgraded Debian Sid ppc64:

It crashes because of:

Thread 1 "firefox-esr" received signal SIGSEGV, Segmentation fault.
i32_load8_u (addr=2014643200, mem=) at rlbox.wasm.c:146
146 rlbox.wasm.c: Datei oder Verzeichnis nicht gefunden.

Backtrace attached.

Regards
Johannes
Thread 1 "firefox-esr" received signal SIGSEGV, Segmentation fault.
i32_load8_u (addr=2014643200, mem=) at rlbox.wasm.c:146
146	rlbox.wasm.c: Datei oder Verzeichnis nicht gefunden.

(gdb) bt
#0  i32_load8_u (addr=2014643200, mem=) at rlbox.wasm.c:146
#1  w2c_rlbox_streqci (var_p0=var_p0@entry=262000, var_p1=2014643200, instance=) at rlbox.wasm.c:925
#2  0x7fffe96bdbe8 in w2c_rlbox_getEncodingIndex (var_p0=, instance=) at rlbox.wasm.c:66394
#3  w2c_rlbox_getEncodingIndex (var_p0=262000, instance=0x7fffd89a8000) at rlbox.wasm.c:841
#4  w2c_rlbox_MOZ_XmlInitEncodingNS_0 (instance=0x7fffd89a8000, var_p0=438772, var_p1=438768, var_p2=262000) at rlbox.wasm.c:2467
#5  0x7fffe97097dc in w2c_rlbox_initializeEncoding (instance=instance@entry=0x7fffd89a8000, var_p0=var_p0@entry=438624) at rlbox.wasm.c:48421
#6  0x7fffe97cbc38 in w2c_rlbox_prologInitProcessor (instance=0x7fffd89a8000, var_p0=438624, var_p1=445808, var_p2=511344, var_p3=262140)
at rlbox.wasm.c:45429
#7  0x7fffe97dc744 in w2c_rlbox_MOZ_XML_Parse_0 (var_p3=0, var_p2=65536, var_p1=445808, var_p0=438624, instance=0x7fffd89a8000) at rlbox.wasm.c:49444
#8  w2c_rlbox_MOZ_XML_Parse (instance=0x7fffd89a8000, var_p0=438624, var_p1=445808, var_p2=65536, var_p3=0) at rlbox.wasm.c:20953
#9  0x7fffea549d30 in rlbox::rlbox_wasm2c_sandbox::impl_invoke_with_func_ptr(XML_Status (*)(unsigned int, unsigned int, int, int), unsigned int&&, unsigned int&&, unsigned int&&, bool&&) (func_ptr=, this=0x7fffd89a8000)
at ./build-browser/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:763
#10 rlbox::rlbox_sandbox::INTERNAL_invoke_with_func_ptr&, rlbox::tainted, unsigned long, bool>(char const*, void*, rlbox::tainted&, rlbox::tainted&&, unsigned long&&, bool&&)
(func_name=, func_ptr=, this=) at ./build-browser/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:790
#11 nsExpatDriver::ParseChunk(char16_t const*, unsigned int, nsExpatDriver::ChunkOrBufferIsFinal, unsigned int*, unsigned long*)
(this=0x776ee740, aBuffer=, aLength=aLength@entry=32768, aIsFinal=aIsFinal@entry=nsExpatDriver::ChunkOrBufferIsFinal::FinalChunk, aConsumed=0x7fffc21c, aLastLineLength=0x7fffc220) at ./parser/htmlparser/nsExpatDriver.cpp:1248
#12 0x7fffea54a13c in nsExpatDriver::ChunkAndParseBuffer(char16_t const*, unsigned int, bool, unsigned int*, unsigned int*, unsigned long*)
(this=this@entry=0x776ee740, aBuffer=aBuffer@entry=0x7fffdbf60020 u"\n\n

Re: Please test Firefox on ppc64

2023-09-03 Thread Stan Johnson
Hello Carsten,

On 9/3/23 11:40 AM, Carsten Jacobi wrote:
> ... I'm reluctant
> on "just trying out the new version", I'm not sure whether I'll be able
> to get back to the still working version in case the new one doesn't 
> run and just crashes.
> ...
You could create a backup before you install Firefox, then restore from
that backup if Firefox doesn't work (that's what I ended up doing). I
use Gentoo and Debian SID on my PowerMac G5 as rescue systems for each
other.

-Stan



Re: Please test Firefox on ppc64

2023-09-03 Thread Stan Johnson
Hello Adrian,

On 8/31/23 3:06 PM, John Paul Adrian Glaubitz wrote:
> Hi!
> 
> Thanks to the efforts of Debian's Firefox maintainer, the Firefox package
> is building again on ppc64 (big-endian) the first time in a long period.
> 
> However, we don't know whether Firefox actually works on 64-bit Big-Endian
> PowerPC.
> 
> Can anyone running Debian on ppc64 please give it a try?
> 
> Thanks,
> Adrian
> 

On a PowerMac G5 with 8 GB memory, I updated to the latest Debian SID,
then I installed firefox ("apt-get install firefox"). It had a
segmentation fault when I ran it from the command line (Firefox did not
automatically run when I clicked on the Web Browser icon in xfce4).

I wasn't able to use vmlinux-6.4.0-4-powerpc64, since that kernel
doesn't support nVidia cards (I used a custom 6.5.1 kernel that worked).

-Stan



Re: Please test Firefox on ppc64

2023-09-03 Thread Carsten Jacobi

Hello,

I'm running firefox on 64-bit Big-Endian and am till current date stuck 
on these packages:


ii  firefox  85.0.1-1    ppc64    Mozilla Firefox 
web browser
ii  firefox-esr  78.14.0esr-1+b1 ppc64    Mozilla Firefox 
web browser - Extended Support Release (ESR)


Since there was no stable update path after those packages I did 
everything possible to stay
on these versions to have a working browser available on my system. 
That's why I'm reluctant
on "just trying out the new version", I'm not sure whether I'll be able 
to get back to the still

working version in case the new one doesn't run and just crashes.

For some time there was also the "epiphany" web browser available as an 
alternative
web-browser with JavaScript support (though I hate JavaScript, but many 
Web-Pages
nowadays require it). But also here the last version I had crashed 
constantly and I can't
try out a newer version as this would break the dependency chain for the 
still working

version of firefox I still have …

Regards,

Carsten

Am 31.08.23 um 23:06 schrieb John Paul Adrian Glaubitz:

Hi!

Thanks to the efforts of Debian's Firefox maintainer, the Firefox package
is building again on ppc64 (big-endian) the first time in a long period.

However, we don't know whether Firefox actually works on 64-bit Big-Endian
PowerPC.

Can anyone running Debian on ppc64 please give it a try?

Thanks,
Adrian





Re: Please test Firefox on ppc64

2023-09-03 Thread Michael Cree
On Thu, Aug 31, 2023 at 11:16:01PM +0200, John Paul Adrian Glaubitz wrote:
> On Thu, 2023-08-31 at 23:06 +0200, John Paul Adrian Glaubitz wrote:
> > Can anyone running Debian on ppc64 please give it a try?
> 
> It might crash because of this bug:
> 
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1845669

Just installed and given firefox 117.0-1 a spin on ppc64.  It segfaults
on startup.  Not sure if that is the bug you reference.  I can try to
get a backtrace.  Hmm the debugging symbols file is massive and gdb is
already up to 85% memory and swap used. Still loading and voraciously
swapping virtual memory. Maybe another day...

Regards,
Michael.



Re: Please test Firefox on ppc64

2023-08-31 Thread John Paul Adrian Glaubitz
On Thu, 2023-08-31 at 23:06 +0200, John Paul Adrian Glaubitz wrote:
> Can anyone running Debian on ppc64 please give it a try?

It might crash because of this bug:

> https://bugzilla.mozilla.org/show_bug.cgi?id=1845669

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Please test Firefox on ppc64

2023-08-31 Thread John Paul Adrian Glaubitz
Hi!

Thanks to the efforts of Debian's Firefox maintainer, the Firefox package
is building again on ppc64 (big-endian) the first time in a long period.

However, we don't know whether Firefox actually works on 64-bit Big-Endian
PowerPC.

Can anyone running Debian on ppc64 please give it a try?

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913