Firefox crashes on startup - The procedure entry point SEC_RegisterDefaultHttpClient could not be located in the dynamic link library nss3.dll

RESOLVED WORKSFORME

Status

Core Graveyard
Security: UI
--
critical
RESOLVED WORKSFORME
11 years ago
9 months ago

People

(Reporter: Adam Chandler, Assigned: kaie)

Tracking

1.8 Branch
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Build Identifier: http://download.mozilla.org/?product=firefox-2.0rc1&os=win&lang=en-US

Tried a clean install of Firefox, but the problem presists.

Reproducible: Always

Steps to Reproduce:
1.Start Firefox
2.
3.

Actual Results:  
Firefox will not start, I get a box that says -
firefox.exe - Entry Point Not Found
The procedure entry point SEC_RegisterDefaultHttpClient could not be located in the dynamic link library nss3.dll.

Expected Results:  
Firefox should start.
Does it also happen when you start Firefox in its safe-mode or with a new profile?
http://kb.mozillazine.org/Safe_Mode_(Firefox)
http://kb.mozillazine.org/Profile_Folder

(Reporter)

Comment 2

11 years ago
(In reply to comment #1)
> Does it also happen when you start Firefox in its safe-mode or with a new
> profile?
> http://kb.mozillazine.org/Safe_Mode_(Firefox)
> http://kb.mozillazine.org/Profile_Folder

The error remains in both cases.  Firefox will not start.  I can't start the profile manager or safe mode.

Comment 3

11 years ago
you've been poisoned. among apps known to poison systems are crystal reports.

none of the following files should be in system path (especially windows\system32):
nspr4.dll
plc4.dll
plds4.dll
nss3.dll
nssckbi.dll
smime3.dll
softokn3.dll

you can use dependency walker to figure out where these files are coming from if you like.

we could change psm so that it used nspr to get these functions which are missing from the evil dlls that aren't supposed to be in system, then psm could try to fail gracefully.
Assignee: nobody → kengert
Component: General → Security: UI
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch

Comment 4

11 years ago
in case it wasn't obvious by my previous statement, if you /find/ those files in path, kill them, and if possible please try to figure out which vendor installed them where they don't belong (and then complain at them).
(Assignee)

Comment 5

11 years ago
I would like to explain what timeless said in more detail:

When you start Firefox on Windows, it will attempt to load several components, files named with ending .dll

Some of the libraries we load are the NSS library, which consists of nss3.dll and others.

The symbol SEC_RegisterDefaultHttpClient is a rather new addition to the library.

When you start Firefox and get this error message, it means that Firefox loaded an incompatible older version of that library.

Firefox is installing those libraries in its own, private application directory.

Some other applications might install those libraries in a global system location, which causes the conflict.

As timeless suggested, please search your system for the file names he listed.
If you find them outside of the Firefox directory, please move them away to a separate directory.

After having moved them away, you should be able to start Firefox correctly.

This step might break some other application which you have installed, please try to find which one that is. When you identified it, you could try to move those .dll files to that application's installation directory.

It would be indeed helpful to complain to the producer of that software that NSPR and NSS libraries should be installed in an application private location, in order to avoid conflicts with other software.

Hope this helps.

Can you please report back whether this fixed the problem for you?
Thanks
(Reporter)

Comment 6

11 years ago
I tried searching my system for the files listed by timeless, but the only place they appear is the Firefox directory.  Checked the System32 folder manually to be sure and they weren't there.

Comment 7

11 years ago
http://www.mozilla.org/quality/help/dependency-walker.html

Comment 8

11 years ago
You only need to search your system for one file: nss3.dll.
When you find it, right mouse click the file and select
"Properties" at the bottom of the drop-down menu.  In
the "nss3.dll Properties" dialog, click the "Version"
tab.  The file version should be 3.11.3.0.

If you find multiple nss3.dll files, repeat the above
on each of them.
(Reporter)

Comment 9

11 years ago
(In reply to comment #8)
> You only need to search your system for one file: nss3.dll.
> When you find it, right mouse click the file and select
> "Properties" at the bottom of the drop-down menu.  In
> the "nss3.dll Properties" dialog, click the "Version"
> tab.  The file version should be 3.11.3.0.
> If you find multiple nss3.dll files, repeat the above
> on each of them.

I have version 3.11.2.0 of nss3.dll.  I'm guessing this must be the problem...?  Where do I get the correct version?
(Reporter)

Comment 10

11 years ago
Sorry, I meant I have version 3.10.2.0
(Assignee)

Comment 11

11 years ago
(In reply to comment #10)
> Sorry, I meant I have version 3.10.2.0

This is strange, but it explains the problem you have. That version is too old.

Before we fix that, I would like to ask that we try to analyze what happened.

Inside your firefox directory, there should be a file named install.log
Could you please send that file to me by personal mail?


In order to fix your problem, I recommend you uninstall Firefox, rename the existing firefox directory if it still exists after uninstall (so we could look at it later), and try to install again.
(Reporter)

Comment 12

11 years ago
(In reply to comment #11)
> (In reply to comment #10)
> > Sorry, I meant I have version 3.10.2.0
> This is strange, but it explains the problem you have. That version is too old.
> Before we fix that, I would like to ask that we try to analyze what happened.
> Inside your firefox directory, there should be a file named install.log
> Could you please send that file to me by personal mail?
> In order to fix your problem, I recommend you uninstall Firefox, rename the
> existing firefox directory if it still exists after uninstall (so we could look
> at it later), and try to install again.

I appoligize, but I uninstalled Firefox and tried a fresh install again after my last post.  Don't have the install log anymore.  On the bright side the problem has been solved and Firefox now works.  Not sure why the first fresh install didn't work.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME

Comment 13

11 years ago
3.10.2.0 is the version of nss3.dll in Firefox 1.5.0.x.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.