Hello,

On Sat, 2025-05-10 at 11:37 +0200, John Paul Adrian Glaubitz wrote:
> firefox (133.0.3-1+ppc64) unreleased; urgency=medium
> 
>   * Force building with gcc and g++
>   * Apply selected patches from Solaris:
>     - Bug1716707.patch
>     - Bug1888396.patch
>     - firefox-53-sparc-gfx-atomicops.patch
>     - SPARC-table-titles-fading.patch
> 
>  -- John Paul Adrian Glaubitz <[email protected]>  Fri, 09 May 
> 2025 11:59:36 -0700

This version still crashes for me with the following backtrace:

#0  0x00007fff8ad96d5c in ?? () from /lib/powerpc64-linux-gnu/libc.so.6
--Type <RET> for more, q to quit, c to continue without paging--
[Current thread is 1 (Thread 0x7fff8b474da0 (LWP 1421763))]
(gdb) bt
#0  0x00007fff8ad96d5c in ?? () from /lib/powerpc64-linux-gnu/libc.so.6
#1  0x00007fff8ad32834 in raise () from /lib/powerpc64-linux-gnu/libc.so.6
#2  0x00007fff80b83704 in nsProfileLock::FatalSignalHandler (signo=11, 
info=<optimized out>, context=0x7fffed50e0d0)
    at ./toolkit/profile/nsProfileLock.cpp:177
#3  <signal handler called>
#4  i32_load8_u (mem=<optimized out>, addr=2016478208) at rlbox.wasm.c:146
#5  w2c_rlbox_streqci (var_p0=var_p0@entry=262000, var_p1=2016478208, 
instance=<optimized out>) at rlbox.wasm.c:55615
#6  0x00007fff7b2e78e8 in w2c_rlbox_getEncodingIndex (instance=<optimized out>, 
var_p0=<optimized out>) at rlbox.wasm.c:55548
#7  w2c_rlbox_getEncodingIndex (instance=0x7fff6a84c000, var_p0=262000) at 
rlbox.wasm.c:55531
#8  w2c_rlbox_MOZ_XmlInitEncodingNS_0 (instance=0x7fff6a84c000, var_p0=325428, 
var_p1=325424, var_p2=262000) at rlbox.wasm.c:57164
#9  0x00007fff7b31654c in w2c_rlbox_initializeEncoding 
(instance=instance@entry=0x7fff6a84c000, var_p0=var_p0@entry=325280) at 
rlbox.wasm.c:37816
#10 0x00007fff7b4053e8 in w2c_rlbox_prologInitProcessor 
(instance=0x7fff6a84c000, var_p0=325280, var_p1=332464, var_p2=398000, 
var_p3=262140)
    at rlbox.wasm.c:34826
#11 0x00007fff7b40d4a4 in w2c_rlbox_MOZ_XML_Parse_0 (instance=0x7fff6a84c000, 
var_p0=325280, var_p1=332464, var_p2=65536, var_p3=0) at rlbox.wasm.c:38814
#12 w2c_rlbox_MOZ_XML_Parse (instance=0x7fff6a84c000, var_p0=325280, 
var_p1=332464, var_p2=65536, var_p3=0) at rlbox.wasm.c:11073
#13 0x00007fff7c23f2fc in 
rlbox::rlbox_wasm2c_sandbox::impl_invoke_with_func_ptr<XML_Status(XML_ParserStruct*,
 char const*, int, int), XML_Status(unsigned int, unsigned int, int, int), 
unsigned int,
unsigned int, unsigned int, bool> (this=0x7fff6a84c000, func_ptr=<optimized 
out>)
    at ./build-browser/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:775
#14 
rlbox::rlbox_sandbox<rlbox::rlbox_wasm2c_sandbox>::INTERNAL_invoke_with_func_ptr<XML_Status(XML_ParserStruct*,
 char const*, int, int), rlbox::tainted<XML_ParserStruct*,
rlbox::rlbox_wasm2c_sandbox>&, rlbox::tainted<char const*, 
rlbox::rlbox_wasm2c_sandbox>, unsigned long, bool> (func_name=<optimized out>, 
    this=<optimized out>, func_ptr=<optimized out>) at 
./build-browser/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:790
#15 nsExpatDriver::ParseChunk (this=0x7fff7abaa600, aBuffer=<optimized out>, 
aLength=aLength@entry=32768, 
    aIsFinal=aIsFinal@entry=nsExpatDriver::ChunkOrBufferIsFinal::FinalChunk, 
aConsumed=0x7fffed50ef8c, aLastLineLength=0x7fffed50ef90)
    at ./parser/htmlparser/nsExpatDriver.cpp:1237
#16 0x00007fff7c23f70c in nsExpatDriver::ChunkAndParseBuffer 
(this=this@entry=0x7fff7abaa600, 
    aBuffer=aBuffer@entry=0x7fff6a480020 u"<?xml version=\"1.0\"?>\n\n<html 
id=\"main-window\"\n        xmlns:html=\"http://www.w3.org/1999/xhtml\"\n       
xmlns:xul=\"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul\"\n   
     xmlns=\"http://";..., aLength=aLength@entry=32768, 
    aIsFinal=aIsFinal@entry=false, 
aPassedToExpat=aPassedToExpat@entry=0x7fffed50ef88, 
aConsumed=aConsumed@entry=0x7fffed50ef8c, 
    aLastLineLength=aLastLineLength@entry=0x7fffed50ef90) at 
./parser/htmlparser/nsExpatDriver.cpp:1193
#17 0x00007fff7c23fe80 in nsExpatDriver::ResumeParse (this=0x7fff7abaa600, 
aScanner=..., aIsFinalChunk=aIsFinalChunk@entry=false)
    at ./parser/htmlparser/nsExpatDriver.cpp:1341
#18 0x00007fff7c24893c in nsParser::ResumeParse 
(this=this@entry=0x7fff8a4bc730, allowIteration=allowIteration@entry=true, 
    aIsFinalChunk=aIsFinalChunk@entry=false, 
aCanInterrupt=aCanInterrupt@entry=true) at ./parser/htmlparser/nsParser.cpp:715
#19 0x00007fff7c2497e0 in nsParser::OnDataAvailable (sourceOffset=<optimized 
out>, this=0x7fff8a4bc730, request=<optimized out>, pIStream=<optimized out>, 
    aLength=<optimized out>) at ./parser/htmlparser/nsParser.cpp:1027
#20 nsParser::OnDataAvailable (this=0x7fff8a4bc730, request=<optimized out>, 
pIStream=<optimized out>, sourceOffset=<optimized out>, 
    aLength=<optimized out>) at ./parser/htmlparser/nsParser.cpp:978
#21 0x00007fff7c1ffc38 in .non-virtual thunk to 
mozilla::parser::PrototypeDocumentParser::OnDataAvailable(nsIRequest*, 
nsIInputStream*, unsigned long, unsigned int) () at
./parser/prototype/PrototypeDocumentParser.h:42
#22 0x00007fff7c15d280 in nsDocumentOpenInfo::OnDataAvailable (this=<optimized 
out>, request=<optimized out>, inStr=<optimized out>,

Adrian

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

Reply via email to