User avatar
ValterFukuoka
Posts: 125
Joined: Sat Oct 01, 2011 11:39 pm
Location: Japan

RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 2:04 pm

Hi.

Is Firefox-esr running on a Raspberry PI Zero on Raspbian 10 Buster?

I can run it on a RPI 3, tested, but it DOES NOT RUN on a RPI Zero...
Is it a problem with my installed OS, or something related to RPIZero/Firefox?

Thanks,
Valter

pagenotfound
Posts: 123
Joined: Mon Mar 14, 2016 12:44 pm

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 3:39 pm

ValterFukuoka wrote:
Fri Aug 30, 2019 2:04 pm
Hi.

Is Firefox-esr running on a Raspberry PI Zero on Raspbian 10 Buster?

I can run it on a RPI 3, tested, but it DOES NOT RUN on a RPI Zero...
Is it a problem with my installed OS, or something related to RPIZero/Firefox?

Thanks,
Valter
The Zero has only half as much RAM. How much have you reserved for graphics? How much is left in total before you try to run Firefox? Have you tried typing "firefox" in a terminal to get an error message?

User avatar
ValterFukuoka
Posts: 125
Joined: Sat Oct 01, 2011 11:39 pm
Location: Japan

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 4:09 pm

pagenotfound wrote:
Fri Aug 30, 2019 3:39 pm
The Zero has only half as much RAM. How much have you reserved for graphics? How much is left in total before you try to run Firefox? Have you tried typing "firefox" in a terminal to get an error message?
Thanks for replying.
The split was 64/total, now I changed to 16/total...

I did try GUI and CLI (terminal only) before, running xvfb (run-xvfb)... both fail...

Changed the split, again... NO success...

Valter

User avatar
ValterFukuoka
Posts: 125
Joined: Sat Oct 01, 2011 11:39 pm
Location: Japan

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 4:23 pm

Infos about error msg and firefox-esr infos on RPIzero:

[terminal msg]
pi@raspberrypi:~ $ firefox-esr
ExceptionHandler::GenerateDump cloned child 1666
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...


[GUI msg "crash report window"]
BuildID: 20190713045854
CrashTime: 1567209730
FramePoisonBase: 0000004041121792
FramePoisonSize: 4096
InstallTime: 1567108697
Notes: Raspbian GNU/Linux 10 (buster)FP(D00-L1000-W00000000-T000) OpenGL: VMware, Inc. -- llvmpipe (LLVM 6.0, 128 bits) -- 3.1 Mesa 19.1.0-devel -- texture_from_pixmap
WR? WR- OMTP? OMTP-
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
ReleaseChannel: esr
SafeMode: 0
SecondsSinceLastCrash: 713
StartupCrash: 1
StartupTime: 1567209717
ThreadIdNameMapping: 1641:"Gecko_IOThread",1642:"Timer",1643:"Link Monitor",1644:"Socket Thread",1645:"JS Watchdog",1650:"BGReadURLs",1651:"Hang Monitor",1659:"Cache2 I/O",1660:"Cookie",1661:"StreamTrans #1",1662:"GMPThread",1663:"SoftwareVsyncThread",1664:"Compositor",1665:"VRListener",
Throttleable: 1
UptimeTS: 13.316312
Vendor: Mozilla
Version: 60.8.0

This report also contains technical information about the state of the application when it crashed.


[binary infos for firefox-esr on RPIzero]
pi@raspberrypi:~ $ readelf -A /usr/bin/firefox-esr
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "6"
Tag_CPU_arch: v6
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-1
Tag_FP_arch: VFPv2
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_rounding: Needed
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align_needed: 8-byte
Tag_ABI_align_preserved: 8-byte, except leaf SP
Tag_ABI_enum_size: int
Tag_ABI_VFP_args: VFP registers
Tag_CPU_unaligned_access: v6

Valter

SueGeo
Posts: 17
Joined: Mon Jul 08, 2019 1:03 am

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 5:55 pm

ValterFukuoka wrote:
Fri Aug 30, 2019 2:04 pm
Hi.

Is Firefox-esr running on a Raspberry PI Zero on Raspbian 10 Buster?

I can run it on a RPI 3, tested, but it DOES NOT RUN on a RPI Zero...
Is it a problem with my installed OS, or something related to RPIZero/Firefox?

Thanks,
Valter
Firefox esr crashes on my Zero W as well. I don't normally need a browser for what I'm doing with the W, so I didn't follow up.
Chromium works --- slowly.

User avatar
ValterFukuoka
Posts: 125
Joined: Sat Oct 01, 2011 11:39 pm
Location: Japan

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 9:25 pm

SueGeo wrote:
Fri Aug 30, 2019 5:55 pm
Firefox esr crashes on my Zero W as well. I don't normally need a browser for what I'm doing with the W, so I didn't follow up.
Chromium works --- slowly.
Hi, knowing that my case is not an insulated event helps... hopefully more people can share if they experienced success or failure...

Looks like it is indeed some issue around PIZero/Firefox... if not, and someone knows how to solve the problem I will like to know...

I also don't want to use Firefox as "Internet browser", I just want the WebRTC engine that runs inside it...
Thankfully, Chromium is working, and, if Firefox works, I like to know which will be best to control headless (command line) and which works better for what I am doing...

Thanks.
Valter

pagenotfound
Posts: 123
Joined: Mon Mar 14, 2016 12:44 pm

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 9:44 pm

I can't spot anything obvious in those messages. (Maybe @jdonald can).

I suggest that you try some simple things first.

Make a safety copy of your entire .mozilla directory. Default is /home/pi/.mozilla.

Start from the command line with

firefox-esr -safe-mode

which starts without extensions. Probably won't help but still worth a try since it's easy.

Then try

firefox-esr -no-remote -ProfileManager

and - if it gets to that point - make a new profile.

If it still doesn't start, reinstall Firefox.

User avatar
ValterFukuoka
Posts: 125
Joined: Sat Oct 01, 2011 11:39 pm
Location: Japan

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

Fri Aug 30, 2019 10:29 pm

pagenotfound wrote:
Fri Aug 30, 2019 9:44 pm
I can't spot anything obvious in those messages. (Maybe @jdonald can).

I suggest that you try some simple things first.

Make a safety copy of your entire .mozilla directory. Default is /home/pi/.mozilla.

Start from the command line with

firefox-esr -safe-mode

which starts without extensions. Probably won't help but still worth a try since it's easy.

Then try

firefox-esr -no-remote -ProfileManager

and - if it gets to that point - make a new profile.

If it still doesn't start, reinstall Firefox.
Thanks again... still the same errors...

pagenotfound wrote:
Fri Aug 30, 2019 9:44 pm
I can't spot anything obvious in those messages. (Maybe @jdonald can).

Changing subject: I believe this user *jdonald* the the same of the following post:
https://www.raspberrypi.org/forums/view ... x#p1404610

If so, I like to ask him something about it ... (webrtc compiling errors), or anybody that can help...

Because, on a RPI3, I am running it from command line, using NodeJS package node-wrtc...
Unfortunately, this node package DOES NOT SUPPORT armv6...
THEN, I follow instructions and tried to compile it, from sources, to armv6...
In the process, I had to build myself the Cross Compiler using Crosstool-NG... because it requires a new version of GCC (5.4 or better)...
What happens is that I succeed, but there are, still, some problems...
The problem is that inside the source tree compilation of the node-wrtc module, there are some (already) pre-compiled object files to be linked to the final binary result... AND, these pre-compiled are armv7 (seven) target objects, resulting in a armv7 final binary... which runs OK on RPI3, but DOES NOT runs on the Zero, which is armv6...
Now I am thinking about getting sources for those pre-compiled objects and try to, also, compile then to armv6 target... not sure if this last step is easy to accomplish... but given that this is, hopefully, the *last* step, then, it is a step worth going after...
And here is where "your friend" (donald) may help...
Because he knows something about "webrtc compilation problems" regarding to armv6 targets...
Maybe...
Valter

EDIT: about this last change subject part...
Just editing/correction this last piece of information about "webrtc compiling errors"...
MY MISTAKE, I have locate the source code for, I think, full compilation of the nodejs module...
So if I succeed, there, at least for now I will skip the use of Chromium or Firefox to run WebRTC code, instead using NodeJS command line to perform the task that I wanted...
Apologies.
Valter

Return to “General discussion”