Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Firefox52 broken on NetBSD9.3 / pkgsrc-2022Q4
On Fri, Jan 20, 2023 at 05:10:52PM +0100, Connor McLaughlan wrote:
> On Tue, Jan 17, 2023 at 8:00 PM Alexander Schreiber <als%thangorodrim.ch@localhost> wrote:
> >
> > On Tue, Jan 17, 2023 at 05:06:49PM +0100, Connor McLaughlan wrote:
> > > Hi All,
> > >
> > > i reinstalled a sparc64 system with NetBSD9.3 and have built firefox52
> > > from pkgsrc-2022Q4:
> > > firefox52-52.9.0nb50.tgz
> > >
> > > It will bus error shortly after start, throwing this in the console:
> > >
> > > localhost$ firefox52
> > > [Child 4991] ###!!! ABORT: Aborting on channel error.: file
> > > /usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/ipc/glue/MessageChannel.cpp,
> > > line 2152
> > > [Child 4991] ###!!! ABORT: Aborting on channel error.: file
> > > /usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/ipc/glue/MessageChannel.cpp,
> > > line 2152
> > > [1] Bus error (core dumped) firefox52
> > > localhost$
> > >
> > > Is it working for anyone else with the above system config?
> >
> > I can try, but the build is going to take a while (UltraSPARC-IIe @ 548 MHz
> > so no speed daemon despite the SSDs.
> >
> > Kind regards,
> > Alex.
> > --
> > "Opportunity is missed by most people because it is dressed in overalls and
> > looks like work." -- Thomas A. Edison
>
> Thank you for your effort, but i think this will lead to the same outcome.
>
> I have also tried the package from
> https://pkgsrc.zia.io/pub/pkgsrc/packages/NetBSD/sparc64/9.0_2022Q4/All/
> with the same crash result.
>
> After that i have bootstrapped pkgsrc-2020Q4 into a different
> directory and built the complete dependency chain to build
> firefox52-52.9.0nb32.tgz
> This firefox52 works and tells me that the base system of NetBSD 9.3
> is not the root cause.
>
> Unfortunately i don't know how to debug and identify the problem further.
I've managed to complete the build of firefox52 with crash debug info
(PKG_OPTIONS.firefox+=debug-info) and started it with a clean user
setup ($HOME empty except for standard skel files).
Result:
firefox52
[Child 16558] ###!!! ABORT: Aborting on channel error.: file /usr/pkgobj/www/firefox52/work/firefox-52.9.0esr/ipc/glue/MessageChannel.cpp, line 2152
[Child 16558] ###!!! ABORT: Aborting on channel error.: file /usr/pkgobj/www/firefox52/work/firefox-52.9.0esr/ipc/glue/MessageChannel.cpp, line 2152
Bus error (core dumped)
-bash-5.2$ which firefox52
/usr/pkg/bin/firefox52
-bash-5.2$ l /usr/pkg/bin/firefox52
-bash: l: command not found
-bash-5.2$ file /usr/pkg/bin/firefox52
/usr/pkg/bin/firefox52: symbolic link to /usr/pkg/lib/firefox52/firefox
-bash-5.2$ gdb /usr/pkg/bin/firefox52 firefox52.core
GNU gdb (GDB) 8.3
Copyright (C) 2019 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--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /usr/pkg/bin/firefox52...
(No debugging symbols found in /usr/pkg/bin/firefox52)
[New process 1]
[New process 42]
[New process 41]
[New process 40]
[New process 39]
[New process 38]
[New process 37]
[New process 36]
[New process 35]
[New process 34]
[New process 33]
[New process 32]
[New process 31]
[New process 30]
[New process 29]
[New process 28]
[New process 27]
[New process 26]
[New process 25]
[New process 24]
[New process 23]
[New process 21]
[New process 20]
[New process 12]
[New process 11]
[New process 10]
[New process 9]
[New process 8]
[New process 7]
[New process 6]
[New process 5]
[New process 4]
[New process 3]
[New process 2]
Core was generated by `firefox52'.
Program terminated with signal SIGBUS, Bus error.
#0 0x000000004cb09ec4 in ?? () from /usr/pkg/lib/firefox52/libxul.so
[Current thread is 1 (process 1)]
(gdb) bt
#0 0x000000004cb09ec4 in ?? () from /usr/pkg/lib/firefox52/libxul.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
The line referred to in the crash is:
NS_RUNTIMEABORT("Aborting on channel error.");
context:
void
MessageChannel::OnChannelErrorFromLink()
{
AssertLinkThread();
mMonitor->AssertCurrentThreadOwns();
IPC_LOG("OnChannelErrorFromLink");
if (InterruptStackDepth() > 0)
NotifyWorkerThread();
if (AwaitingSyncReply() || AwaitingIncomingMessage())
NotifyWorkerThread();
if (ChannelClosing != mChannelState) {
if (mAbortOnError) {
NS_RUNTIMEABORT("Aborting on channel error.");
}
mChannelState = ChannelError;
mMonitor->Notify();
}
PostErrorNotifyTask();
}
So that is an intentional shutdown due to an IPC error caused (presumably)
by the actual underlying error. Looks like firefox52 is not very debug
friendly to people not familiar with it.
That's as far as I can get, giving up here.
Kind regards,
Alex.
--
"Opportunity is missed by most people because it is dressed in overalls and
looks like work." -- Thomas A. Edison
Home |
Main Index |
Thread Index |
Old Index