A kind reminder we would like all registered users to weigh in on one of our forum's security policies.
Please take a moment to read this thread and place a vote.
https://forum.palemoon.org/viewtopic.php?f=17&t=32935

Palemoon crashes when accessing Devuan site

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 766
Joined: 2022-08-10, 02:25

Re: Palemoon crashes when accessing Devuan site

Post by frostknight » 2025-07-18, 23:32

q160765803 wrote:
2025-07-18, 06:17
devuan's anubis just freeze my little poor 8GB RAM i5-7500 Win10 machine in my workplace.
I think it used up all my machine's memory and start swapping to my old slow HDD.
That is strange, because I have an i7-3520M albeit it does have linux on it, but palemoon isn't the least bit slow.

Although I have an solid state drive.

Maybe that is your problem? regular hard drives are much slower. Maybe that is where your problem is.

EDIT: I just tried using it and it crashed my browser. Refer to my next response as for what I think happened.
Last edited by frostknight on 2025-07-18, 23:38, edited 1 time in total.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 766
Joined: 2022-08-10, 02:25

Re: Palemoon crashes when accessing Devuan site

Post by frostknight » 2025-07-18, 23:37

Moonchild wrote:
2025-07-12, 19:32
Unable to reproduce; I had no issue reaching and displaying the site. The site uses Gitea which we use for our own repo needs as well and works without crashes.


Please try to provide details about the crash.
Actually, I just tried it myself and the problem does in fact occur for me too. Weird stuff...

I think devuan's set up of Anubis might be the problem. Because if it works elsewhere and not on devuan, that means something broke.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

dinosaur
Fanatic
Fanatic
Posts: 189
Joined: 2014-06-03, 09:26
Location: France

Re: Palemoon crashes when accessing Devuan site

Post by dinosaur » 2025-07-19, 21:44

I can confirm the (instant) crash, under Linux (no crash seen under Windows).

The PC is not the issue (Zen 9950X - 96GB of RAM).

Definitely a PM bug (no such issue seen with other browsers).

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 766
Joined: 2022-08-10, 02:25

Re: Palemoon crashes when accessing Devuan site

Post by frostknight » 2025-07-19, 22:35

dinosaur wrote:
2025-07-19, 21:44
I can confirm the (instant) crash, under Linux (no crash seen under Windows).

The PC is not the issue (Zen 9950X - 96GB of RAM).

Definitely a PM bug (no such issue seen with other browsers).

For me it didn't instantly crash, it took maybe 5-10 seconds then it crashed.

EDIT:

Actually it took like 15+ seconds then it crashed. Very odd.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-19, 22:44

Since I'm obviously not on Linux and this doesn't seem to happen in a virtualized environment, I'm unable to investigate without more info like a stack trace when the crash happens.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 766
Joined: 2022-08-10, 02:25

Re: Palemoon crashes when accessing Devuan site

Post by frostknight » 2025-07-19, 22:58

Moonchild wrote:
2025-07-19, 22:44
Since I'm obviously not on Linux and this doesn't seem to happen in a virtualized environment, I'm unable to investigate without more info like a stack trace when the crash happens.
Here is something weirder Moonchild, I just tried using that website for the fourth time and I touched not the screen until anubis was done which took like a full 30+ seconds and it worked.

Extremely strange indeed....

EDIT:

Got some info from someone on Devuan forums, I don't completely understand what he meant completely, but I am sure you will:

https://dev1galaxy.org/viewtopic.php?pid=56781#p56781

Something about a javascript problem that firefox ESR has that palemoon probably has too? I don't know why this would exist in both though.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 00:54

I can reproduce the problem on Windows 8.1, PM 33.8.0 32-bit. (PM 33.7.2 also crashes.)

https://git.devuan.org/LeePen/xlibre

Just try to open tools -> developer tools -> browser console while Anubis is calculating its hashes. Sometimes you don't even have time to get to the right menu item, the crash happens while the menu itself is opening.
The problem is probably in a graphic element on the page that is not displayed correctly. Sometimes you need to scroll down the page to see the bottom part and click the mouse on the page, otherwise the crash does not want to happen.

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	palemoon.exe
  Application Version:	6.7.0.9308
  Application Timestamp:	685da96e
  Fault Module Name:	mozjs.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	685daa17
  Exception Code:	80000003
  Exception Offset:	002b8039
  OS Version:	6.3.9600.2.0.0.256.48
  Additional Information 1:	5861
  Additional Information 2:	5861822e1919d7c014bbb064c64908b2
  Additional Information 3:	ff84
  Additional Information 4:	ff847098ee7efa49c70e06e469a2896b
Untitled.png
You do not have the required permissions to view the files attached to this post.

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 01:35

In short, yes, the crash is quite reliable. We open the page, scroll down to the end, try to open the browser console, and get a crash (always in the same module and with the same offset).

And yes, I managed to get the same crash here:
https://repo.palemoon.org/MoonchildProductions/UXP
Although, here Anubis uses difficulty 4 and the check is fast. Therefore, it is more difficult to get a crash.
Still, all these captchas and the like are downright crap, sorry...

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 10:54

I tried several times to reproduce on the current dev branch of the browser (64-bit build) and was unable to, no matter how quick or slow I scrolled down, opened/closed devtools/checked the console or what not.

If you get a crash on Windows, please capture a minidump that I can analyze.

As an aside, difficulty 5 is high and I really wouldn't advise it unless you are under a very heavy attack from very fast hardware attackers that get through.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 11:08

frostknight wrote:
2025-07-19, 22:58
Something about a javascript problem that firefox ESR has that palemoon probably has too? I don't know why this would exist in both though.
The post doesn't provide anything I can use. it's just vague observations "somewhere between 116 and 120". Mozilla's constant code churn will have thousands of code commits in such a time span.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 13:54

Moonchild wrote:
2025-07-20, 10:54
If you get a crash on Windows, please capture a minidump that I can analyze.
I uploaded one to your server.
Thank you.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 14:56

Thanks. Unfortunately it just tells me you ran out of memory, triggering a safe crash in the garbage collector.
Just in case it's something in the GC itself, you try to work around it by setting javascript.options.mem.gc_generational to false (and restarting the browser), but I'm not sure if that will help much.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 15:18

Moonchild wrote:
2025-07-20, 14:56
try to work around it by setting javascript.options.mem.gc_generational to false (and restarting the browser), but I'm not sure if that will help much.
Unfortunately, it didn't help.

The computer has 16GB of memory, 12.5GB free.
Pale Moon takes up 185MB according to the task manager, uses the clean default profile.

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	palemoon.exe
  Application Version:	6.7.0.9308
  Application Timestamp:	685da96e
  Fault Module Name:	mozjs.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	685daa17
  Exception Code:	80000003
  Exception Offset:	002b8039
  OS Version:	6.3.9600.2.0.0.256.48
  Additional Information 1:	5861
  Additional Information 2:	5861822e1919d7c014bbb064c64908b2
  Additional Information 3:	ff84
  Additional Information 4:	ff847098ee7efa49c70e06e469a2896b

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 15:47

Sometimes another crash happens:
Fault Module Name: mozglue.dll
Exception Code: c0000005
Exception Offset: 0000d289

I uploaded another dump to your server.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 16:20

Kris_88 wrote:
2025-07-20, 15:18
Unfortunately, it didn't help.
I didn't think it would.
Kris_88 wrote:
2025-07-20, 15:18
The computer has 16GB of memory, 12.5GB free.
Then why are you running a 32-bit version of Pale Moon?
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 16:23

Kris_88 wrote:
2025-07-20, 15:47
Sometimes another crash happens:
Fault Module Name: mozglue.dll
Exception Code: c0000005
Exception Offset: 0000d289

I uploaded another dump to your server.
Yeah just another OOM error, only triggered from the devtools UI thread. It doesn't help.

All of these are deliberate OOM crashes for out-of-memory situations where there is no sane path forward for the JS engine due to memory exhaustion.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 16:35

Moonchild wrote:
2025-07-20, 16:20
Then why are you running a 32-bit version of Pale Moon?
We've already discussed this once...
Celeron J1900 does not support AVX.
Moonchild wrote:
2025-07-20, 16:20
All of these are deliberate OOM crashes for out-of-memory situations where there is no sane path forward for the JS engine due to memory exhaustion.
How can there not be enough memory if the process does not take up even 200 MB and there is so much memory on the computer that I have never used it all? I have an indicator on the desktop and I have never seen even half of the memory used?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 18:41

Kris_88 wrote:
2025-07-20, 16:35
Celeron J1900 does not support AVX.
Oh, right, and you don't want to run Nuck-TH's builds. :silent:
Kris_88 wrote:
2025-07-20, 16:35
How can there not be enough memory if the process does not take up even 200 MB and there is so much memory on the computer that I have never used it all?
"Memory" and "Out of memory" doesn't necessarily refer to the heap. If you run out of stack memory then that happens way before you could even notice any significant memory increase in a task manager or what not.
But that too is where 32-bit can cause issues, as it will inherently have a smaller stack space than 64-bit.

In most cases out-of-stack happens with improper recursion.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Palemoon crashes when accessing Devuan site

Post by Kris_88 » 2025-07-20, 20:49

Moonchild wrote:
2025-07-20, 18:41
In most cases out-of-stack happens with improper recursion.
If I understand correctly, Java objects are not allocated on the stack. So if this is bad recursion, then the problem is not in the Java code, but in the browser itself, in the runtime.
Hmm, at least it is clear that there is a problem somewhere...

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38487
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Palemoon crashes when accessing Devuan site

Post by Moonchild » 2025-07-20, 21:54

it's not java. it's javascript. And javascript by itself can cause stack exhaustion, depending on the calls made, although it's tough to achieve because we do checks for too much recursion etc - however, the asynchronicity of promises makes it difficult. Stack issues occur primarily because of the administration of function calls themselves. It's more of an interop issue than anything else, I think.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite