Page 1 of 1

Firefox error (BionicPup64), Firefox 92.0

Posted: Thu Sep 16, 2021 1:20 pm
by PuppyandCo

Has anyone seen this Firefox / X error before on Puppy?
I eventually get crashes in most sessions: the memory (and I think also CPU) usage shoots up, and unless Firefox is closed quickly enough it prevents the mouse moving, the X session being changed, or a keyboard shortcut I have set up to "kill firefox". After closing and restarting it's fine again until next time. It's been doing it for the last 2 years on several different versions of FF, but this time I had opened it in terminal and happened to see the error messages.

From google it seems like it might be a problem Firefox has with certain laptop display drivers (this laptop has an Intel HD bog-standard integrated one).

Code: Select all

bash-4.4# apulse firefox
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x5, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x5, bType: 0x3)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x4, bType: 0x3)
0026:err:hid:parse_descriptor Unknown (bTag: 0x5, bType: 0x3)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x3, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:hid:parse_descriptor Unknown (bTag: 0x0, bType: 0x0)
0026:err:plugplay:try_add_device Building report descriptor failed, removing device
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0026:err:hid:PNP_AddDevice Cannot parse Report Descriptor
0026:err:plugplay:handle_bus_relations AddDevice failed for driver L"WineHID"
0026:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
wine: Unhandled page fault on read access to 0x00212cd8 at address 0x7bc5217f (thread 0026), starting debugger...
000f:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 1053
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
Gdk-Message: 14:00:50.195: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Thu Sep 16, 2021 3:16 pm
by bigpup

Firefox 92.0 was installed how?
Specific details?
Is this a Windows version of Firefox or a Linux version?
Is Wine installed or was it ever installed and uninstalled?


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Fri Sep 17, 2021 8:19 am
by PuppyandCo
bigpup wrote: Thu Sep 16, 2021 3:16 pm

Firefox 92.0 was installed how?
Specific details?
Is this a Windows version of Firefox or a Linux version?
Is Wine installed or was it ever installed and uninstalled?

Firefox 92.0 installed from Puppy Package Manager
Linux version
Wine is available if the windows version is better?


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Fri Sep 17, 2021 6:24 pm
by bigpup

With browsers it is best to get them from some other way than Puppy Packge Manager(PPM).
The browser packages are most of the time compiled for other Linux OS's, due to non-Puppy repositories, PPM can access.

This forums Additional Software->Browsers and Internet section is a better place to get browsers.
These are compiled for Puppy.

Some Puppy versions have their own more specific installers than PPM.
Bionicpup64 8.0 has one.

I suggest you uninstall the firefox you installed, by using PPM->Uninstall.

This is how I did it in Bionicpup64.
Bionicpup64 8.0 has the program Quickpet.
Run Quickpet->Browsers and download and install Firefox from here.
It will install an older version 62.
To update Firefox.
Run firefox and go to the help->About Firefox
It should have a selection button saying update available.
Click on the update button.
Firefox should now be version 92
.

Screenshot(2).jpg
Screenshot(2).jpg (43.62 KiB) Viewed 662 times

.
.
Note:

This way of installing Firefox, does not need the apulse in a terminal start command.
See my terminal startup results:

Screenshot(3).jpg
Screenshot(3).jpg (8.37 KiB) Viewed 657 times

Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Fri Sep 17, 2021 6:35 pm
by bigpup

Also, Quickpet has a update function, to update Bionicpup64 8.0
Quickpet->Info->Bionicpup updates
Reboot and update save, so new changes are now being used.


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Wed Sep 22, 2021 9:08 pm
by PuppyandCo

After reinstalling from the Quickpet it's doing the same thing but with slightly different error messages.

as you said, apulse no longer needs to be entered - and links in Thunderbird work again as they hadn't been, so that's something

Code: Select all

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

[Child 7180, MediaDecoderStateMachine #1] WARNING: Decoder=7fd5330f2c00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:366
[Child 7180, MediaDecoderStateMachine #1] WARNING: Decoder=7fd5330f2c00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) - static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(mozilla::ByteStream *): Cannot parse metadata: file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:3541
Gdk-Message: 19:36:39.463: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

bash-4.4# Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Thu Sep 23, 2021 3:48 pm
by bigpup

Did you uninstall the firefox you installed, by using PPM->Uninstall, before you installed it from Quickpet?

You are booted to the working desktop.
Is Firefox the only program running?


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Wed Sep 29, 2021 2:28 pm
by PuppyandCo

hi yes, at least I think so - ppm is now showing ff62 rather than 92 but I guess the upgrade done inside the app doesn't update the list in ppm

Image

FF is usually the only program running when this happens. It does seem to happen more when I have Qoppa PDFStudio open at the same time.

If there was a way of prioritizing the lxterminal process or reserving memory/CPU for it that might be even better than fixing the bug. All versions of puppylinux I've used seem to rarely crash, but to often let some application use up all the system resources until the mouse can't be moved to close them anymore


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Wed Sep 29, 2021 5:35 pm
by williams2

If there was a way of prioritizing the lxterminal process or reserving memory/CPU for it that might be even better than fixing the bug. All versions of puppylinux I've used seem to rarely crash, but to often let some application use up all the system resources until the mouse can't be moved to close them anymore

The kernel has a builtin out of memory killer, but it does not work well.
You can try earlyoom, see: viewtopic.php?f=105&t=2980


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Thu Sep 30, 2021 5:10 am
by snoring_cat

I have a similar issue, but it is not Firefox exclusive. The issue happens when I run Chrome based browsers and Mozilla based browsers at the same tim.
Visiting sites with a lot of media, such as videos, for some reason, my CPU will max out and the computer will lock up, if I don't shut down one of the browsers. Ctrl-Alt-Backspace is a backup solution.

This has been encountered on Trusty, Bionic and Fossa. I haven't taken the time to figure out what the culprit is.


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Thu Sep 30, 2021 9:03 am
by bigpup

snoring_cat start your own topic about your issues.

If we start talking about two different peoples problems.
It gets really confusing to follow!!


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Thu Sep 30, 2021 9:12 am
by bigpup

PuppyandCo,

In the desktop image you posted.
I see other stuff running in other virtual desktops. It shows you have 4 virtual desktops.
What is running in the other virtual desktops?

So to get best test of Firefox.
Only use the one virtual desktop and have no others with anything open in them.

Also, I see in your image of PPM->Uninstall list.
Firefox 62 is up at top of list.
If you just installed it.
It should be the last item in the list.
Well, in my version 2.1.2 of PPM->Uninstall list
What is just installed always shows at bottom of list.
Sure only that one Firefox is listed?


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Tue Oct 05, 2021 10:51 am
by PuppyandCo
bigpup wrote: Thu Sep 30, 2021 9:12 am

PuppyandCo,

In the desktop image you posted.
I see other stuff running in other virtual desktops. It shows you have 4 virtual desktops.
What is running in the other virtual desktops?

on that screenshot it would have been jwm folder windows
usually there is Thunderbird, Firefox, and sometimes libreoffice or a pdf viewer
but firefox hangs the same way whatever is open

bigpup wrote: Thu Sep 30, 2021 9:12 am

So to get best test of Firefox.
Only use the one virtual desktop and have no others with anything open in them.

running FF with nothing else open doesn't affect this - what I put in the s/s isn't it crashing, when it crashes there isn't the resources to take a screenshot, and usually there isn't the ability to get any error messages or log outputs since the PC must be hard reset

I didn't think you meant the virtual desktops were to blame - but I don't think they can be, as the problem has only been on this one puppy and not the others, when the others always have 4 desktops.

bigpup wrote: Thu Sep 30, 2021 9:12 am

Also, I see in your image of PPM->Uninstall list.
Firefox 62 is up at top of list.
If you just installed it.
It should be the last item in the list.

it's at the top of the list because I sorted the list by name and scrolled
The list should show the install date really...

bigpup wrote: Thu Sep 30, 2021 9:12 am

Well, in my version 2.1.2 of PPM->Uninstall list
What is just installed always shows at bottom of list.
Sure only that one Firefox is listed?

Yes only one FF is listed


Re: Firefox error (BionicPup64), Firefox 92.0

Posted: Tue Oct 05, 2021 10:56 am
by PuppyandCo
williams2 wrote: Wed Sep 29, 2021 5:35 pm

If there was a way of prioritizing the lxterminal process or reserving memory/CPU for it that might be even better than fixing the bug. All versions of puppylinux I've used seem to rarely crash, but to often let some application use up all the system resources until the mouse can't be moved to close them anymore

The kernel has a builtin out of memory killer, but it does not work well.
You can try earlyoom, see: viewtopic.php?f=105&t=2980

This looks like exactly what I need

Being as it's a daemon, if I want to just have it in the background for firefox could I install the .pet and then add

earlyoom &

onto the start of the .desktop script that opens firefox?