Pale Moon 28 crashes when authentication required by web site

The place to report Pale Moon specific bugs on the Windows operating system.

Moderator: satrow

ari5_96
Hobby Astronomer
Hobby Astronomer
Posts: 25
Joined: Sat, 26 Jul 2014, 09:10
Location: Australia

Pale Moon 28 crashes when authentication required by web site

Unread postby ari5_96 » Thu, 30 Aug 2018, 13:30

I'm running Pale Moon 28.0.0 or 28.0.0.1 64-bit, on Windows 7 SP1 64-bit, at work. When I go to one of our internal web sites, I have to authenticate myself. This is not a username/password entry on the web page itself - instead the browser gives me a modal Windows dialog:

Authentication Required. https://example.com is requesting your username and a password. The site says: "Trac"


The web address I've quoted is (obviously) not the real one - it's an internal server so you couldn't connect to it even if I put the real address in there. The "Trac" bit is real. The web site is "Powered by Trac 1.2.2 by Edgewall Software" (https://trac.edgewall.org/)

I type in my username and password, and Pale Moon 28.0.0 crashes with:

Pale Moon web browser has stopped working.

Problem signature:
Problem Event Name: APPCRASH
Application Name: palemoon.exe
Application Version: 4.1.4.6793
Application Timestamp: 5b699ef8
Fault Module Name: xul.dll
Fault Module Version: 4.1.4.6793
Fault Module Timestamp: 5b69a0d6
Exception Code: c0000005
Exception Offset: 00000000004e43b5
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 3081
Additional Information 1: ccce
Additional Information 2: ccce36c26b4c307d6f789697c90040f9
Additional Information 3: f5bc
Additional Information 4: f5bcadc4d75510188cd92fdb3aab40c8

28.0.0.1 does not fix the problem. It fails much the same way, and says:

Problem signature:
Problem Event Name: APPCRASH
Application Name: palemoon.exe
Application Version: 4.1.4.6812
Application Timestamp: 5b82db07
Fault Module Name: xul.dll
Fault Module Version: 4.1.4.6812
Fault Module Timestamp: 5b82ddcb
Exception Code: c0000005
Exception Offset: 00000000004de485
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 3081
Additional Information 1: ccce
Additional Information 2: ccce36c26b4c307d6f789697c90040f9
Additional Information 3: 30e1
Additional Information 4: 30e13d837cb179184a83939e970e3a3a

It doesn't crash every time, but quite often - at least half of the time. There's no obvious conditions that correlate to its crashing or not.

After I click OK on the Authentication dialog, Pale Moon always asks me "would you like Pale Moon to remember this login" (I always ignore that prompt, for the purposes of reproducing the problem), but never shows any of the web page, not does it clear the window of the previous page (if there was one) from that tab. It sometimes says "Secure Connection Failed. The connection to the server was reset while the page was loading." first, then crashes (or not) after I click Try Again. Again, there's no obvious correlation between that message and whether or not I connect or crash.

I can reproduce the problem on two different PCs:
my work PC, Windows 7 SP1 64-bit, Pale Moon 64-bit
A VirtualBox virtual machine on my home PC, with Windows 7 SP1 64-bit (both host and guest), and Open VPN (on the VM) to connect to the office network.

Unfortunately it's an internal company website, which means you can't use it to replicate the problem. I've seen the Authentication dialog on several different companies' servers, but I don't know of any publicly visible website that does it.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4625
Joined: Tue, 09 Oct 2012, 19:37

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby New Tobin Paradigm » Thu, 30 Aug 2018, 13:45

Likely gonna need a minidump or at least a call stack to work out exactly where the crash is happening.

User avatar
Isengrim
Lunatic
Lunatic
Posts: 460
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Isengrim » Thu, 30 Aug 2018, 14:28

I've had a few crashes with similar circumstances to what you're describing on my Windows 10 machine. However, they have been so random that I have not been able to reliably reproduce them, and so sporadic (six over the last month) that I haven't bothered reported them. Looking at my WER files, I see the same sort of error as yours: caused by xul.dll, exception code 0xc0000005 (access violation). Our issues may be related, or they may not be.

If you don't know how to capture a minidump, please see this post.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit) (Sometimes)
Windows 10 (64-bit) (Sometimes)
We are our choices.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Thu, 30 Aug 2018, 14:45

Looking at the addresses it's in nsHttpTransaction::Close. It's possible with the async madness that this is a deref crash because the pipe has already been torn down when the final close command is given. Another example of our builds being too fast for their own good ;)

A dump will be able to confirm if I'm right.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

ari5_96
Hobby Astronomer
Hobby Astronomer
Posts: 25
Joined: Sat, 26 Jul 2014, 09:10
Location: Australia

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby ari5_96 » Sat, 01 Sep 2018, 08:45

I've just tried v28.0.1, and that does not fix the problem. (I didn't particularly expect it to, but one can always hope.)

I found these web sites to test authentication:
* https://httpbin.org/basic-auth/user/passwd
* https://httpbin.org/digest-auth/auth/user/passwd
In both cases: user=user password=passwd (from https://stackoverflow.com/questions/650 ... st-servers).
but I can't reproduce the problem with either of these, even when running through the company network (through VPN).

Unfortunately security considerations prevent me from providing a crash minidump. (I realise that might make it infeasible for you to diagnose and fix the problem, but that's the price we pay for security.) However I'm quite happy to try any beta/test builds that you might create, or anything else you can suggest, to see if they fix the problem, and let you know the outcome.

p0k3m0n
Apollo supporter
Apollo supporter
Posts: 31
Joined: Mon, 06 Mar 2017, 08:01

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby p0k3m0n » Sat, 01 Sep 2018, 11:34

Windows 7
28.0.1
On my system its working:

Code: Select all

{
  "authenticated": true,
  "user": "user"
}
Last edited by p0k3m0n on Sat, 01 Sep 2018, 11:34, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Wed, 19 Sep 2018, 06:37

@ari5_96: there will be a new release this week of v28.1.0 - once published, can you please try and see if the crash is still present or not? If it's still crashing, please provide a fresh appcrash report (like in your original post) so I can correlate its reported addresses with my previous findings on the current binaries, lacking the possibility of a crashdump to analyze.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Isengrim
Lunatic
Lunatic
Posts: 460
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Isengrim » Wed, 19 Sep 2018, 10:42

I just uploaded a crashdump to the FTP that I believe is relevant to this issue. The dump was created on Windows 10 x64 build 1803 with Pale Moon x64 28.0.1.

I too was using some internal work sites at the time of the crash, so I won't be able to provide access to them for any testing. However, I'd be willing to test further on my end if needed.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit) (Sometimes)
Windows 10 (64-bit) (Sometimes)
We are our choices.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Wed, 19 Sep 2018, 13:29

Thanks, the crash point is the same, confirmed it's a null deref on the http pipe.
Simple fix.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Isengrim
Lunatic
Lunatic
Posts: 460
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Isengrim » Wed, 19 Sep 2018, 13:35

Fantastic! Thank you. :)
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit) (Sometimes)
Windows 10 (64-bit) (Sometimes)
We are our choices.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Wed, 19 Sep 2018, 13:42

Issue #776 (UXP) filed, will have a one-liner fix in the tree in a minute ;)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Wed, 19 Sep 2018, 18:19

Latest unstable is patched and should prevent the crash. please verify?
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

ari5_96
Hobby Astronomer
Hobby Astronomer
Posts: 25
Joined: Sat, 26 Jul 2014, 09:10
Location: Australia

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby ari5_96 » Sat, 22 Sep 2018, 08:43

I tried v28.1.0 (64-bit etc, per my original post), using a new clean profile, and it still fails the same way, specifically with:
Problem signature:
Problem Event Name: APPCRASH
Application Name: palemoon.exe
Application Version: 4.1.5.6834
Application Timestamp: 5b9f7151
Fault Module Name: xul.dll
Fault Module Version: 4.1.5.6834
Fault Module Timestamp: 5b9f733f
Exception Code: c0000005
Exception Offset: 00000000004e37d5
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 3081
Additional Information 1: ccce
Additional Information 2: ccce36c26b4c307d6f789697c90040f9
Additional Information 3: ae92
Additional Information 4: ae921404747a1e53502e3fa05b4bb542

I tried the unstable version -- 28.2.0a1 (64-bit)(2018-09-19), File version 4.1.5.6836, date modified 2018-09-20 00:26 (UTC+8). After entering my username/password in the dialog box, I get "Secure Connection Failed. The connection to the server was reset while the page was loading. The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem." When I click "Try again", Pale Moon becomes unresponsive - I can't move close or move the window, the window does not redraw if I drag another window over it and then away, Task Manager says it is "Not Responding", and I have to use Task Manager to end the task/process. It does this every time.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Sat, 22 Sep 2018, 08:50

Thanks for confirming that it fixes the crash.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
kex85
Newbie
Newbie
Posts: 3
Joined: Mon, 01 Oct 2018, 07:14

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby kex85 » Mon, 01 Oct 2018, 07:37

I have the same problem since getting 28, forcing me to use another browser at work :(
Any idea when a full fix will be in the unstable branch?

User avatar
kex85
Newbie
Newbie
Posts: 3
Joined: Mon, 01 Oct 2018, 07:14

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby kex85 » Wed, 10 Oct 2018, 09:44

This is still an issue as of the latest unstable build (on Windows at least). It's about 50/50 if it outright crashes or becomes unresponsive and has to be killed by task manager.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22159
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby Moonchild » Wed, 10 Oct 2018, 11:27

If it still crashes, please provide details!

Of note, "try again" on a server where a secure connection can't be established is pointless. It won't magically fix itself.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
kex85
Newbie
Newbie
Posts: 3
Joined: Mon, 01 Oct 2018, 07:14

Re: Pale Moon 28 crashes when authentication required by web site

Unread postby kex85 » Thu, 11 Oct 2018, 08:05

Sorry, but since it wasn't solved for the original poster, I didn't think a new report would help.

When it becomes unresponsive, it's with this callstack (I don't have the symbols, so you'll have to resolve it manually):

xul.dll!00007ffcdc015d0c()
xul.dll!00007ffcdcd11b73()
xul.dll!00007ffcdbb22e15()
xul.dll!00007ffcdbb26ba5()
xul.dll!00007ffcdbb27383()
xul.dll!00007ffcdbb189ba()

And this is the loaded module info:
xul.dll C:\Program Files\Pale Moon\xul.dll 4.01.5.6849 2018-10-10 08꞉16 00007FFCDB5F0000-00007FFCDFAD5000

Edit: For some pages it does work to connect, for others it doesn't, so I don't think it's an issue with the server being incorrectly configured. It worked fine for all pages in PM27 and Chrome as well.
Last edited by kex85 on Thu, 11 Oct 2018, 08:10, edited 1 time in total.


Return to “Bug reports (Windows)”

Who is online

Users browsing this forum: No registered users and 6 guests