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

Re: Mozilla Software on Sparc64/Linux



Hello Adrian,

i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no window comes up.

gdb output:

connor@SunUltra25:/usr/lib/firefox$ gdb firefox
GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "sparc64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from firefox...
Reading symbols from /usr/lib/debug/.build-id/5e/7c2ce19658b5a547605e9716c409337752cd54.debug...
(gdb) run
Starting program: /usr/lib/firefox/firefox
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 4008]
[New Thread 0xfff000010e6a3870 (LWP 4009)]
[New Thread 0xfff0000111f79870 (LWP 4010)]
[Thread 0xfff0000111f79870 (LWP 4010) exited]
[New Thread 0xfff0000111f79870 (LWP 4011)]
[New Thread 0xfff000011277b870 (LWP 4012)]
[New Thread 0xfff0000112f7d870 (LWP 4013)]
[New Thread 0xfff000011377f870 (LWP 4015)]
[New Thread 0xfff0000113981870 (LWP 4016)]
[New Thread 0xfff0000113b83870 (LWP 4017)]
[New Thread 0xfff0000113d85870 (LWP 4018)]
[New Thread 0xfff0000113f87870 (LWP 4019)]

Thread 1 "firefox" received signal SIGBUS, Bus error.
HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No such file or directory.
(gdb) bt
#0  HashIIDPtrKey(void const*) (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
#1  0xfff0000106d77ad4 in PLDHashTable::ComputeKeyHash(void const*) (aKey=0xed9, this=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:518
#2  PLDHashTable::Add(void const*, std::nothrow_t const&) (this=0xed9, aKey=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:586
#3  0x0000000000000ee1 in  ()
(gdb) list
21 in /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp
(gdb)
connor@SunUltra25:/usr/lib/firefox$ gdb firefox
GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "sparc64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from firefox...
Reading symbols from /usr/lib/debug/.build-id/5e/7c2ce19658b5a547605e9716c409337752cd54.debug...
(gdb) run
Starting program: /usr/lib/firefox/firefox
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 4008]
[New Thread 0xfff000010e6a3870 (LWP 4009)]
[New Thread 0xfff0000111f79870 (LWP 4010)]
[Thread 0xfff0000111f79870 (LWP 4010) exited]
[New Thread 0xfff0000111f79870 (LWP 4011)]
[New Thread 0xfff000011277b870 (LWP 4012)]
[New Thread 0xfff0000112f7d870 (LWP 4013)]
[New Thread 0xfff000011377f870 (LWP 4015)]
[New Thread 0xfff0000113981870 (LWP 4016)]
[New Thread 0xfff0000113b83870 (LWP 4017)]
[New Thread 0xfff0000113d85870 (LWP 4018)]
[New Thread 0xfff0000113f87870 (LWP 4019)]

Thread 1 "firefox" received signal SIGBUS, Bus error.
HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No such file or directory.
(gdb) bt
#0  HashIIDPtrKey(void const*) (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
    at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
#1  0xfff0000106d77ad4 in PLDHashTable::ComputeKeyHash(void const*) (aKey=0xed9, this=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:518
#2  PLDHashTable::Add(void const*, std::nothrow_t const&) (this=0xed9, aKey=0xed9)
    at /build/firefox-YyDH69/firefox-62.0.3/xpcom/ds/PLDHashTable.cpp:586
#3  0x0000000000000ee1 in  ()
(gdb) list
21 in /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp
(gdb)

Regards,
Connor

On Mon, Nov 15, 2021 at 10:35 AM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
Hello Connor!

On 11/15/21 01:53, Connor McLaughlan wrote:
> did the working rust based firefox make it into a released package?

Yes, as I said in a previous mail, Firefox 60 was successfully built and
uploaded.

If you want to see which packages where built, check the build log archive
by opening:

> https://buildd.debian.org

then type "firefox" and click "Go".

Look for the row with "sparc64" and click on "old" in the eight column,
there you'll see that the last successfully built package version was
"62.0.3-1".

If you now go to snapshot.debian.org and type "firefox" in the source package
name field and click "Submit", you will get a list of versions, including
sparc64. Click it and scroll down to "firefox_62.0.3-1_sparc64.deb" and you
get your package.

To install the package directly, add the following line to your sources.list:

deb [trusted=yes] https://snapshot.debian.org/archive/debian-ports/20181004T035335Z/ unstable main

> The only packaged version of firefox i could get to run was firefox50.
> And i have tested all higher available version of firefox and firefox-esr
> on snapshot.debian.org

What problem did you run in to? You need to describe the actual problem so that
I can help you debug it.

Building newer versions should be possible as explained before, but I haven't had
the time for the NodeJS hack yet.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: