"Couldn't load XPCOM" - Browser is completely bricked. Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3214
Joined: 2012-08-19, 20:32

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by back2themoon » 2026-05-04, 16:43

Open Windows Security → Virus & threat protection
Scroll to Virus & threat protection settings → click Manage settings
Scroll to Exclusions → click Add or remove exclusions
Click + Add an exclusion → choose Folder
Browse to the folder and confirm

OR use this tool:

https://www.sordum.org/10636/defender-e ... tool-v1-4/
wavymoon wrote:
2026-05-04, 16:33
BTW I did not notice a message from WDefender that it had done anything.
Isn't it great? Does all the work for you - no need to know anything.

User avatar
Moonchild
Project founder
Project founder
Posts: 39276
Joined: 2011-08-28, 17:27
Location: Sweden

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by Moonchild » 2026-05-05, 10:17

Also, it seems the antivirus team at Microsoft made some big mistakes. Another false positive nuked DigiCert root certificates breaking trust chains on many systems.
https://www.digicert.com/blog/microsoft ... as-malware
"Praise from a narcissistic person is always a poison dart. They don't share the stage, so discernment matters." - Dr. Ramani
"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
gorodn
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2021-09-15, 05:38

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by gorodn » 2026-05-05, 11:19

Aaaaahh Moonchild, I think you made a mistake here - it wasn't only the antivirus team, it was the whole extended crew. I'm put in mind of the old saw: "Why should I pay for Windows when I can get malware for free?"

My recommendation for malware is AppGuard for day-to-day usage, with EmsiSoft for scanning. I use the Emergency scanner on a more or less monthly schedule to just sweep out the usual suspects, but if you're wedded to AV scanners as a technology then the full EmsiSoft suite should be adequate. And no, neither of these give me any reward. I would actually be using them, except for Microsoft's expected stupidity in not allowing Defender to be fully uninstalled... somewhat less useful than Outlook (probably the most dangerous email client available). Defender is spending most of its time fighting itself and arguing with PowerShell.

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3214
Joined: 2012-08-19, 20:32

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by back2themoon » 2026-05-05, 11:25

I feel I need to stress again a few points. Antivirus-es today are mostly about Web Protection, not single, nefarious virus files downloaded from questionable websites - although this can still occur too.

Windows Defender's Web Protection is only fully active on Microsoft Edge. That's "SmartScreen" It might only partially work on "known browsers", and is most probably ineffective, or even completely irrelevant on Pale Moon. So, it does mostly nothing for Pale Moon users.

What does exist is "Network Protection". This is an enterprise feature that extends protection at the network level, system-wide. It is not enabled on home versions on Windows. It can be enabled via PowerShell, however: I cannot vouch for its effectiveness, especially for Pale Moon, and I'd never recommend any user to enable this on a home PC. You will probably open another can of worms and still remain on the same, unfriendly UI and poor performance. Most probably poorer, due to the extra work.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1755
Joined: 2018-10-28, 19:56
Location: Georgia

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by athenian200 » 2026-05-05, 21:19

Moonchild wrote:
2026-05-05, 10:17
Also, it seems the antivirus team at Microsoft made some big mistakes. Another false positive nuked DigiCert root certificates breaking trust chains on many systems.
https://www.digicert.com/blog/microsoft ... as-malware
Yep, I actually did hit that issue (even though Pale Moon and UXP software was never flagged on my system). Interestingly, even Microsoft's own Copilot admits that Defender often has false positives and told me before this was public knowledge that Defender got it wrong and those root certificates were probably fine, even offering to tell me how to add them back after Defender removed them.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 247
Joined: 2026-03-09, 21:48
Location: United Kingdom

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by ownedbywuigi » 2026-05-06, 13:46

athenian200 wrote:
2026-05-05, 21:19
Moonchild wrote:
2026-05-05, 10:17
Also, it seems the antivirus team at Microsoft made some big mistakes. Another false positive nuked DigiCert root certificates breaking trust chains on many systems.
https://www.digicert.com/blog/microsoft ... as-malware
Yep, I actually did hit that issue (even though Pale Moon and UXP software was never flagged on my system). Interestingly, even Microsoft's own Copilot admits that Defender often has false positives and told me before this was public knowledge that Defender got it wrong and those root certificates were probably fine, even offering to tell me how to add them back after Defender removed them.
FYI: Copilot is actually just a wrapper for ChatGPT. MS just pays OpenAI a shit ton of money to let them use their models.
Lead Dactyloidae developer.
Feedback needed! https://forum.palemoon.org/viewtopic.ph ... 30#p272630

User avatar
algorimancer
New to the forum
New to the forum
Posts: 1
Joined: 2026-05-09, 13:22

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by algorimancer » 2026-05-09, 13:54

I've had this problem for the past week. Tried uninstalling and reinstalling, no luck. Installed an older version, and the problem persists. Also manually deleted Pale Moon directory from the Program Files directory. No luck. Went on vacation for several days, hoping it would be resolved, but upon returning and installing Pale Moon it is still there. Tried installing from Windows Store, same problem.

I tried excluding the Pale Moon directory from Windows Defender, but then when I run the browser I immediately get the message:

c:\Program Files\Pale Moon\mozjs.dll is either not designed to run on Windows or contains an error. Try installing the program again or contact your system administrator or the software vendor for support. Error status 0xc0e90007.

Upon googling the error, it says: indicates a "Bad Image" issue, usually caused by corrupted Visual C++ Redistributable files, missing DLLs, or a 32-bit/64-bit architecture mismatch.

Clicking past this message, I immediately get another message: Couldn't load XPCOM.

It is looking to me like there may genuinely be a problem with mozjs.dll, completely aside from being blocked as Trojan:Win32/Posilod.EB!c. Possibly this is due to some change made in updates to Windows 11 which are incompatible. It has been a long time since I did VC++ development, but maybe it would be worth recompiling mozjs.dll to account for the current state of Windows 11?

Daikun
Lunatic
Lunatic
Posts: 491
Joined: 2013-12-13, 20:54
Location: California

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by Daikun » 2026-05-09, 20:10

algorimancer wrote:
2026-05-09, 13:54
It is looking to me like there may genuinely be a problem with mozjs.dll, completely aside from being blocked as Trojan:Win32/Posilod.EB!c. Possibly this is due to some change made in updates to Windows 11 which are incompatible. It has been a long time since I did VC++ development, but maybe it would be worth recompiling mozjs.dll to account for the current state of Windows 11?
Windows Security is false-flagging that file as a Trojan. Go into Windows Security -> Protection history. Click the false Trojan file. Click Actions -> Restore.

Then use the steps provided at the top of this page to exclude the Pale Moon folder from being scanned (and false flagged) by Windows Security in the future.

User avatar
Moonchild
Project founder
Project founder
Posts: 39276
Joined: 2011-08-28, 17:27
Location: Sweden

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by Moonchild » 2026-05-09, 20:18

I'm not entirely sure why this problem persists; it's just a false positive and Microsoft should update their definitions accordingly; normally this happens within 12 hours, not days.
as for the "bad image" error, it's because your system tried to load the dll, and then while it's being loaded, defender steps in and kills the load in progress, confusing your OS as to the state/compatibility of the .dll as it could access it initially but is then blocked from loading functions from it.
"Praise from a narcissistic person is always a poison dart. They don't share the stage, so discernment matters." - Dr. Ramani
"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
back2themoon
Knows the dark side
Knows the dark side
Posts: 3214
Joined: 2012-08-19, 20:32

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by back2themoon » 2026-05-10, 15:50

Moonchild wrote:
2026-05-09, 20:18
I'm not entirely sure why this problem persists
Probably because Microsoft Defender is relentlessly fighting against Microsoft Teams, to claim the "Worst Software Ever" title...

User avatar
mykhan
New to the forum
New to the forum
Posts: 1
Joined: 2026-05-11, 16:20

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by mykhan » 2026-05-11, 16:25

Strange, I whitelisted the DLL file and it was working until last week, but this morning I’m again unable to access the application. Has anyone encountered this issue? If so, what was the resolution?
You do not have the required permissions to view the files attached to this post.

person45
Fanatic
Fanatic
Posts: 119
Joined: 2017-10-20, 07:00

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by person45 » 2026-05-11, 18:42

Image

I reinstalled, and this showed up. Windows 11 home with Pale Moon 64-bit.

Adding an exclusion to the Pale Moon folder and then reinstalling Pale Moon worked to bypass Windows Defender.
Last edited by person45 on 2026-05-11, 18:45, edited 1 time in total.

User avatar
Moonchild
Project founder
Project founder
Posts: 39276
Joined: 2011-08-28, 17:27
Location: Sweden

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by Moonchild » 2026-05-11, 18:43

Please report it to Microsoft and restore the file. It's a false positive.
Seriously. Please read the thread, it has instructions to exclude Pale Moon from Microsoft's detections.

Also, if you haven't done so recently, you should run windows updates and get the latest detections in case they have finally fixed their issue.
"Praise from a narcissistic person is always a poison dart. They don't share the stage, so discernment matters." - Dr. Ramani
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

person45
Fanatic
Fanatic
Posts: 119
Joined: 2017-10-20, 07:00

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by person45 » 2026-05-11, 18:52

Image

Win 11 is up to date, and it still quarantined. Adding an exception worked. I had to reinstall Pale Moon afterward.

person45
Fanatic
Fanatic
Posts: 119
Joined: 2017-10-20, 07:00

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by person45 » 2026-05-11, 18:56

https://github.com/vercel-labs/agent-br ... ssues/1281
"this is almost certainly a Windows Defender false positive."

It looks like these guys had a similar problem.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1755
Joined: 2018-10-28, 19:56
Location: Georgia

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by athenian200 » 2026-05-11, 19:10

It is worth noting that Defender's detection is so aggressive that Microsoft had to put out a security advisory for it choosing to nuke their own legitimate root certificates in the certificate store because one of the cert providers had a cert used in something malicious at one point... and they had to tell people to revert their own certificate store back to normal after Defender flagged it. It's pretty obvious they turned their heuristics up to 11 and are willing to take the risk something legitimate gets caught in the crossfire.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3214
Joined: 2012-08-19, 20:32

Re: "Couldn't load XPCOM" - Browser is completely bricked.

Post by back2themoon » 2026-05-11, 23:29

athenian200 wrote:
2026-05-11, 19:10
...they turned their heuristics up to 11...
This pun alone is more effective than the entire W11 OS.