SSL disabled in some linux builds of firefox and thunderbird

RESOLVED INCOMPLETE

Status

()

--
major
RESOLVED INCOMPLETE
13 years ago
3 years ago

People

(Reporter: candrews, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [kerh-noi])

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050910 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050910 Firefox/1.6a1

When I compile firefox and thunderbird from CVS HEAD, on startup, both display a
dialog with the following text:
"Could not initialize the browser's security component. The most likely cause is
problems with files in your browser's profile directory. Please check that this
directory has no read/write restrictions and your hard disk is not full or close
to full. It is recommended that you exit the browser and fix the problem. If you
continue to use this browser session, you might see incorrect browser behavior
when accessing security features."
After clicking okay, the application starts as usual. However, Firefox cannot go
to any HTTPS sites, and Thunderbird cannot connect to encrypted services.
This only happens with CVS builds, and only within the past two weeks or so
(Sorry, I don't know the exact date!). Source builds of Thunderbird 1.0.6 run fine.
Deleting the profile directory doesn't help, as is suggested by other bugs that
reference this dialog.

Reproducible: Always

Steps to Reproduce:
1.Compile Firefox or Thunderbird from CVS
2.Run the application

Actual Results:  
The aforementioned dialog appeared, and all SSL functionality was disabled.

Expected Results:  
The application should work as usual.

I run Gentoo Linux 2005.1 on x86. I run the unstable branch, and even some
hardmasked packages. I'm not sure if any of this will be relevant in finding
with the problem is here, but I can post anything about anything I'm running if
someone just asks.
(Reporter)

Comment 1

13 years ago
I recompiled with "--enable-debug". Here's the console output of running
firefox, click OK on the browser's security component dialog, then closing
firefox (no pages loaded, no menus clicked):
No Persistent Registry Found.
Type Manifest File: /home/candrews/.mozilla/firefox/j9cff9in.default/xpti.dat
*** Registering Apprunner components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
*** Registering xpcomObsoleteModule components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering nsUConvModule components (all right -- a generic module!)
*** Registering nsUCvMathModule components (all right -- a generic module!)
*** Registering nsI18nModule components (all right -- a generic module!)
*** Registering necko_core_and_primary_protocols components (all right -- a gene
ric module!)
*** Registering necko_secondary_protocols components (all right -- a generic mod
ule!)
*** Registering nsJarModule components (all right -- a generic module!)
*** Registering nsPrefModule components (all right -- a generic module!)
*** Registering nsSecurityManagerModule components (all right -- a generic modul e!)
*** Registering nsRDFModule components (all right -- a generic module!)
*** Registering nsParserModule components (all right -- a generic module!)
*** Registering nsGfxPSModule components (all right -- a generic module!)
*** Registering nsGfxXprintModule components (all right -- a generic module!)
*** Registering nsGfxGTKModule components (all right -- a generic module!)
*** Registering nsIconDecoderModule components (all right -- a generic module!)
*** Registering nsImageLib2Module components (all right -- a generic module!)
*** Registering nsPluginModule components (all right -- a generic module!)
*** Registering nsWidgetGtk2Module components (all right -- a generic module!)
*** Registering nsLayoutModule components (all right -- a generic module!)
*** Registering docshell_provider components (all right -- a generic module!)
*** Registering embedcomponents components (all right -- a generic module!)
*** Registering Browser_Embedding_Module components (all right -- a generic modu
le!)
*** Registering nsEditorModule components (all right -- a generic module!)
*** Registering nsTransactionManagerModule components (all right -- a generic mo
dule!)
*** Registering nsComposerModule components (all right -- a generic module!)
*** Registering appshell components (all right -- a generic module!)
*** Registering nsCJVMManagerModule components (all right -- a generic module!)
*** Registering nsAccessibilityModule components (all right -- a generic module! )
*** Registering nsChromeModule components (all right -- a generic module!)
*** Registering nsMorkModule components (all right -- a generic module!)
*** Registering nsFindComponent components (all right -- a generic module!)
*** Registering application components (all right -- a generic module!)
*** Registering nsFileViewModule components (all right -- a generic module!)
*** Registering RemoteServiceModule components (all right -- a generic module!)
*** Registering CommandLineModule components (all right -- a generic module!)
*** Registering nsToolkitCompsModule components (all right -- a generic module!)
*** Registering nsSoftwareUpdate components (all right -- a generic module!)
*** Registering BOOT components (all right -- a generic module!)
*** Registering NSS components (all right -- a generic module!)
*** Registering PKI components (all right -- a generic module!)
*** Registering nsLDAPProtocolModule components (all right -- a generic module!)
*** Registering mozgnome components (all right -- a generic module!)
*** Registering nsCookieModule components (all right -- a generic module!)
*** Registering nsWalletModule components (all right -- a generic module!)
*** Registering nsWalletViewerModule components (all right -- a generic module!)
*** Registering nsXMLExtrasModule components (all right -- a generic module!)
*** Registering nsP3PModule components (all right -- a generic module!)
*** Registering nsAutoConfigModule components (all right -- a generic module!)
*** Registering nsSystemPrefModule components (all right -- a generic module!)
*** Registering TransformiixModule components (all right -- a generic module!)
*** Registering nsUniversalCharDetModule components (all right -- a generic modu
le!)
*** Registering nsTypeAheadFindSea components (all right -- a generic module!)
*** Registering nsWebServicesModule components (all right -- a generic module!)
*** Registering mozSpellCheckerModule components (all right -- a generic module! )
*** Registering mozMySpellModule components (all right -- a generic module!)
*** Registering nsGnomeVFSModule components (all right -- a generic module!)
*** Registering nsAuthModule components (all right -- a generic module!)
*** Registering Module components (all right -- a generic module!)
*** Registering datetime components (all right -- a generic module!)
*** Registering finger components (all right -- a generic module!)
*** Registering nsLayoutDebugModule components (all right -- a generic module!)
*** Registering mozSqlModule components (all right -- a generic module!)
*** Registering xforms components (all right -- a generic module!)
*** Registering nsPermissionsModule components (all right -- a generic module!)
*** Registering schemavalidation components (all right -- a generic module!)
*** Registering SearchServiceModule components (all right -- a generic module!)
*** Registering BrowserDirProvider components (all right -- a generic module!)
*** Registering nsBrowserCompsModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
*** Registering LDAP datasource components (all right -- a JavaScript module!)
*** Registering -chat handler.
*** Registering content listener.
*** Registering secure content listener.
*** Registering irc protocol handler.
*** Registering ircs protocol handler.
*** Registering done.
nsNativeComponentLoader: registering deferred (0)
nsNativeComponentLoader: registering deferred (0)
nsNativeComponentLoader: registering deferred (0)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
pldhash: for the table at address 0x822c4c8, the given entrySize of 44 probably
favors chaining over double hashing.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
###!!! ASSERTION: module already initialized: '!gInitialized', file nsLayoutModu
le.cpp, line 261
Break: at file nsLayoutModule.cpp, line 261
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [n
sIFile.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame
:: file:///usr/lib/mozilla-firefox/components/nsUpdateService.js :: getUpdatesDi
r :: line 290"  data: no]
************************************************************
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
++WEBSHELL 0x8323220 == 1
++DOMWINDOW == 1
*** Item Location path changed: /usr/lib/mozilla-firefox/extensions/inspector@mo
zilla.org Item ID: inspector@mozilla.org Location Key: app-global, attempting to
 upgrade item...
*** Item Installed/Upgraded at Install Location: app-global Item ID: inspector@m
ozilla.org, attempting to register...
*** ... success, item is compatible
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS
_DENIED) [nsIFile.create]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"
  location: "JS frame :: file:///usr/lib/mozilla-firefox/components/nsExtensionM
anager.js :: anonymous :: line 1051"  data: no]
************************************************************
WARNING: nsExceptionService ignoring thread destruction after shutdown, file nsE
xceptionService.cpp, line 191
--WEBSHELL 0x8323220 == 0
###!!! ASSERTION: Main thread being held past XPCOM shutdown.: 'cnt == 0', file
nsThread.cpp, line 471
Break: at file nsThread.cpp, line 471
Type Manifest File: /home/candrews/.mozilla/firefox/j9cff9in.default/xpti.dat
*** Registering Apprunner components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
pldhash: for the table at address 0x8102ab0, the given entrySize of 44 probably
favors chaining over double hashing.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, lin
e 1554
###!!! ASSERTION: module already initialized: '!gInitialized', file nsLayoutModu
le.cpp, line 261
Break: at file nsLayoutModule.cpp, line 261
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [n
sIFile.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame
:: file:///usr/lib/mozilla-firefox/components/nsUpdateService.js :: getUpdatesDi
r :: line 290"  data: no]
************************************************************
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
++WEBSHELL 0x8237c10 == 1
++DOMWINDOW == 1
*** Item Uninstalled via file removal from: rel%talkback@mozilla.org Item ID: ta
lkback@mozilla.org Location Key: app-global, uninstalling item.
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS
_DENIED) [nsIFile.create]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"
  location: "JS frame :: file:///usr/lib/mozilla-firefox/components/nsExtensionM
anager.js :: anonymous :: line 1051"  data: no]
************************************************************
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
++DOMWINDOW == 2
++WEBSHELL 0x833a2f8 == 2
++DOMWINDOW == 3
++DOMWINDOW == 4
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Note: verifyreflow is disabled
++WEBSHELL 0x86edfa0 == 3
++DOMWINDOW == 5
WARNING: dependent window created without a parent, file nsAppStartup.cpp, line 438
++WEBSHELL 0x873d658 == 4
++DOMWINDOW == 6
++DOMWINDOW == 7
--WEBSHELL 0x873d658 == 3
++DOMWINDOW == 8
--DOMWINDOW == 7
--DOMWINDOW == 6
WARNING: requested removal of nonexistent window
, file nsWindowWatcher.cpp, line 999
--WEBSHELL 0x8237c10 == 2
--WEBSHELL 0x833a2f8 == 1
--WEBSHELL 0x86edfa0 == 0
--DOMWINDOW == 5
--DOMWINDOW == 4
--DOMWINDOW == 3
--DOMWINDOW == 2
WARNING: nsExceptionService ignoring thread destruction after shutdown, file nsE
xceptionService.cpp, line 191
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsGlobalHistory.cpp, line
 2631
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(OpenDB())) failed, file nsGlobalHistory.cpp
, line 1252
--DOMWINDOW == 1
--DOMWINDOW == 0
###!!! ASSERTION: Potential deadlock between Monitor@808b0a8 and Lock@8728db0: '
Error', file nsAutoLock.cpp, line 302
Break: at file nsAutoLock.cpp, line 302
GC Cache:
        hits:   92    8   10   35   17    3    2    0    2    1
        hits: 170, misses: 62, hit percent: 73.275862%
nsStringStats
 => mAllocCount:          15926
 => mReallocCount:         2702
 => mFreeCount:           15745  --  LEAKED 181 !!!
 => mShareCount:          15654
 => mAdoptCount:           1804
 => mAdoptFreeCount:       1757  --  LEAKED 47 !!!

Comment 2

13 years ago
Could you recompile with "--enable-crypto"?  "--enable-crypto"
should be the default now, but let's specify that explicitly to
be sure.

Alternatively, could you see if you have libnss3.so and libssl3.so
in your build tree?
Component: NSPR → Security: PSM
Product: NSPR → Core
Version: other → Trunk
(Reporter)

Comment 3

13 years ago
(In reply to comment #2)
> Could you recompile with "--enable-crypto"?  "--enable-crypto"
> should be the default now, but let's specify that explicitly to
> be sure.
> 
> Alternatively, could you see if you have libnss3.so and libssl3.so
> in your build tree?

It is already compiled with "--enabled-crypto".
Here is my build info from about:buildconfig:
--enable-application=browser --enable-optimize=-O2
--enable-old-abi-compat-wrappers --disable-installer --disable-pedantic
--enable-crypto --with-system-jpeg --with-system-png --with-system-zlib
--without-system-nspr --enable-default-toolkit=gtk2 --enable-ipv6
--enable-xinerama --enable-xprint --disable-freetype2 --disable-freetypetest
--disable-debug --disable-tests --enable-reorder --enable-strip
--enable-strip-libs --enable-elf-dynstr-gc --enable-xft
--enable-official-branding --disable-native-uconv --disable-tests --enable-debug
--enable-crypto --disable-composer --enable-single-profile
--disable-profilesharing --without-system-nspr --disable-jsd --disable-xpctools
--enable-gnomevfs --disable-calendar --disable-ldap --enable-ldap
--enable-ldap-experimental --enable-system-cairo --enable-svg --enable-canvas
--enable-svg-renderer=cairo --enable-glitz --enable-pango
--enable-extensions=all,-venkman,gnomevfs --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu

libnss3.so and libssl3.so both exist in the firefox directory. Is that what you
mean by the build directory, or do you want me to look elsewere? Thanks!

Comment 4

13 years ago
Craig: yes, that's what I meant by the "build tree".  So
you correctly built Firefox and Thunderbird with crypto
enabled.  I don't know why the crypto components can't be
initialized at run time.
Assignee: wtchang → kaie.bugs
QA Contact: wtchang
(Reporter)

Comment 5

13 years ago
(In reply to comment #4)
> Craig: yes, that's what I meant by the "build tree".  So
> you correctly built Firefox and Thunderbird with crypto
> enabled.  I don't know why the crypto components can't be
> initialized at run time.

I have now confirmed this bug with two other people. A friend of mine on two of
his Gentoo computers gets the same message, and another person from the Gentoo
Forums gets the message as well.
http://forums.gentoo.org/viewtopic-t-378995-postdays-0-postorder-asc-start-75.html
Can someone refer this bug to a firefox or thunderbird developer? I'm very eager
to work out a solution to this bug.
It may not be the problem but this line is not good:
--enable-extensions=all,-venkman,gnomevfs

Several of the items in MOZ_EXTENSIONS_ALL conflict with Firefox, for eg
typeaheadfind. http://lxr.mozilla.org/mozilla/source/configure#12496

Default list for Firefox is:
cookie xml-rpc xmlextras pref transformiix universalchardet webservices
inspector gnomevfs auth permissions reporter
http://lxr.mozilla.org/mozilla/source/configure#12582

And the correct syntax for adding extras (caution!!!) is
--enable-extensions=default,irc

Comment 7

13 years ago
I'm having the same problem as craig already mentioned, and here are the
configure options, which ./configure reports:
  --enable-application=browser
  --enable-optimize=-O2
  --enable-old-abi-compat-wrappers
  --with-pthreads
  --disable-installer
  --disable-pedantic
  --enable-crypto
  --with-system-jpeg
  --with-system-png
  --with-system-zlib
  --without-system-nspr
  --enable-default-toolkit=gtk2
  --enable-ipv6
  --disable-xinerama
  --enable-xprint
  --disable-freetype2
  --enable-xft
  --enable-pango
  --disable-debug
  --disable-tests
  --enable-reorder
  --enable-strip
  --enable-strip-libs
  --enable-elf-dynstr-gc
  --disable-mailnews
  --enable-single-profile
  --disable-profilesharing
  --disable-profilelocking
  --enable-native-uconv
  --enable-system-cairo
  --enable-svg
  --enable-canvas
  --enable-svg-renderer=cairo
  --enable-glitz
  --enable-oji
  --enable-mathml
  --enable-jsd
  --enable-xpctools
  --with-default-mozilla-five-home=/usr/lib/mozilla-deeppark
  --with-user-appdir=deeppark
  --enable-ldap
  --enable-ldap-experimental
  --enable-extensions=default,typeaheadfind,-reporter,-inspector,venkman

and the mozilla-config.h

#define ACCESSIBILITY 1
#define D_INO d_ino
#define FUNCPROTO 15
#define HAVE_DIRENT_H 1
#define HAVE_FCHMOD 1
#define HAVE_FLOCKFILE 1
#define HAVE_GETOPT_H 1
#define HAVE_GNU_GET_LIBC_VERSION 1
#define HAVE_GNU_LIBC_VERSION_H 1
#define HAVE_I18N_LC_MESSAGES 1
#define HAVE_INT16_T 1
#define HAVE_INT32_T 1
#define HAVE_INT64_T 1
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LCHOWN 1
#define HAVE_LIBDL 1
#define HAVE_LIBM 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LSTAT64 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_NL_TYPES_H 1
#define HAVE_RANDOM 1
#define HAVE_RES_NINIT 1
#define HAVE_RINT 1
#define HAVE_SIGINFO_T 1
#define HAVE_SNPRINTF 1
#define HAVE_STAT64 1
#define HAVE_STRERROR 1
#define HAVE_STRTOK_R 1
#define HAVE_ST_BLKSIZE 1
#define HAVE_SYS_BITYPES_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_UINT 1
#define HAVE_UNAME_DOMAINNAME_FIELD 1
#define HAVE_UNISTD_H 1
#define HAVE_VA_COPY 1
#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
#define HAVE_VISIBILITY_PRAGMA 1
#define HAVE_X11_XKBLIB_H 1
#define HAVE_XSHM 1
#define HAVE___CXA_DEMANGLE 1
#define IBMBIDI 1
#define JS_THREADSAFE 1
#define MOZILLA_LOCALE_VERSION "1.9a1"
#define MOZILLA_REGION_VERSION "1.9a1"
#define MOZILLA_SKIN_VERSION "1.8"
#define MOZILLA_VERSION "1.9a1"
#define MOZILLA_VERSION_U 1.9a1
#define MOZ_ACCESSIBILITY_ATK 1
#define MOZ_BUILD_APP browser
#define MOZ_DEFAULT_MOZILLA_FIVE_HOME "/usr/lib/mozilla-deeppark"
#define MOZ_DEFAULT_TOOLKIT "gtk2"
#define MOZ_DISTRIBUTION_ID "org.mozilla"
#define MOZ_DLL_SUFFIX ".so"
#define MOZ_ENABLE_CANVAS 1
#define MOZ_ENABLE_GLITZ 1
#define MOZ_ENABLE_GNOMEUI 1
#define MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS 1
#define MOZ_ENABLE_PANGO 1
#define MOZ_ENABLE_XFT 1
#define MOZ_ENABLE_XREMOTE 1
#define MOZ_EXTRA_X11CONVERTERS 1
#define MOZ_JSLOADER 1
#define MOZ_LOGGING 1
#define MOZ_MATHML 1
#define MOZ_PHOENIX 1
#define MOZ_SVG 1
#define MOZ_SVG_RENDERER_CAIRO 1
#define MOZ_UPDATE_CHANNEL default
#define MOZ_USER_DIR "deeppark"
#define MOZ_USE_NATIVE_UCONV 1
#define MOZ_VIEW_SOURCE 1
#define MOZ_WIDGET_GTK2 1
#define MOZ_X11 1
#define MOZ_XPINSTALL 1
#define MOZ_XTF 1
#define MOZ_XUL 1
#define MOZ_XUL_APP 1
#define NS_PRINTING 1
#define NS_PRINT_PREVIEW 1
#define OJI 1
#define STDC_HEADERS 1
#define UNIX_ASYNC_DNS 1
#define VA_COPY va_copy
#define XP_UNIX 1
#define _REENTRANT 1

if this matters. I know that typeahead is not supported and I'll try to build it
without it and venkman.
The other strange thing is that yesterday or the day before yesterday, after a
fresh build (after pulling head), it started just normal without any messages,
but I did not test the ssl, because I thought at first that it is fixed on head.
The next start has simply shown the aforementioned message about the security
component and there is no ssl-support. Moreover selecting
Preferences|Advanced|Security|Verification crashes firefox. 

Updated

13 years ago
Whiteboard: [kerh-noi]
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → DUPLICATE

Comment 13

13 years ago
This bug is not a duplicate of bug 320497.  A necessary
condition for bug 320497 is that the build is a 64-bit
binary for x86_64.  That condition is not true for
this bug (in comment 0, the bug submitter said
"I run Gentoo Linux 2005.1 on x86.").
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Summary: SSL disabled in firefox and thunderbird → SSL disabled in firefox and thunderbird with SELINUX=enforcing
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 16

13 years ago
Comment 8 - comment 12 and comment 14 - comment 15
should be ignored for this bug.  They were only in
this bug because bug 327595 was incorrectly marked
as a duplicate of this bug.  I also changed the
summary back.  There is no evidence that this bug
has to do with SELINUX=enforcing.
Summary: SSL disabled in firefox and thunderbird with SELINUX=enforcing → SSL disabled in firefox and thunderbird

Comment 18

13 years ago
Craig, as explained in bug 320497 the fix has landed on the NSS 3.11 branch, but is not yet used by mozilla.

As you are building CVS HEAD yourself, could you try the following to verify it fixes your problem?

Edit mozilla/client.mk
Search for
  NSS_CO_TAG           = NSS_CLIENT_TAG
Change that temporarily to
  NSS_CO_TAG           = NSS_3_11_BRANCH

Do a "make clean" in mozilla/security/manager
Now pull from CVS and build.

Thanks for trying.

Comment 19

13 years ago
The original bug reporter is Craig <candrews@compucrafters.com>.

In comment 8, timeless (incorrectly) marked Bryan Taylor's
bug 327595 as a duplicate of this bug.  This is why Bryan Taylor
added comments (comment 10 and comment 11) about his bug to this
bug.  His comments led to more comments by caillon, Nelson, and
Kai about his bug.

But, if you search for "64" in this bug, you will see that the
first mention of "x86-64", "x86_64", "AMD64", "EM64T", "x64",
"64-bit", "64bit", or "64 bit" is in comment 9.  In comment 0 -
comment 7, there is no evidence that Craig was running a 64-bit
build for x86_64.  On the other hand, there are three evidences
that Craig was running a 32-bit build for x86.
- Craig's user agent string in comment 0 says "Linux i686".
- In comment 0, Craig says "I run Gentoo Linux 2005.1 on x86."
- In comment 7, Gergan Penkov's mozilla-config.h file does NOT
  have "#define HAVE_64BIT_OS 1".

Comment 20

13 years ago
I agree with Wan-Teh Chang that my original bug (bug 327595) should not have be merged with this one. Please disregard my comments here - SELINUX and x86_64 are relevent to my issue and not necessarily to Craig's original one. 

Sorry for the confusion.
QA Contact: psm
Per comments 16 and 19, I'm marking the confused and misleading comments 
in this bug (including my own) as "private", not because they need to be 
kept secret, but because they're merely confused and misleading.  
Summary: SSL disabled in firefox and thunderbird → SSL disabled in some linux builds of firefox and thunderbird

Comment 22

12 years ago
This bug is in state "need more info from Craig the bug reporter".

Craig, at the time when I wrote comment 18, in order to test my suspicion, you would have had to build Mozilla yourself.

However, by now the latest nightly development builds are using the NSS 3.11.x version that includes the fix for bug 320497.

Are you still able to reproduce?

Comment 23

9 years ago
Additional  piece of info:
I encounter this bug when doing online banking. When going to the banks or credit-card company's hoe page and clicking the link to the login page, the message pops up.
When copyomg the login page's url  (the first https://* page from this session), the quittig the browser ,  then reopening the browser, the access to the login page as the first page in this session works fine. During this session all other (usually failing https accesses using the relevant links on non-https pages) will work  fine. 
Seems like somethin is faulty when accessing https page using the link on  non-https one. Typing the https page directly into url field manages to load all security components.
All other remedies (permissions are ok, diskspace too, removinf cert8.db) for the problem didnt work (new profile  worked at first access, but I didn't test it further).

Jack

Comment 24

6 years ago
reassign bug owner.
mass-update-kaie-20120918
Assignee: kaie → nobody
Status: NEW → RESOLVED
Last Resolved: 13 years ago3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.