Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1399812 - firefox crashes when crypto-policy is set to FUTURE
Summary: firefox crashes when crypto-policy is set to FUTURE
Keywords:
Status: CLOSED DUPLICATE of bug 1404439
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-29 19:21 UTC by Sjoerd Mullender
Modified: 2017-02-20 16:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 16:14:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
requested firefox stack trace (89.24 KB, text/plain)
2016-12-02 12:13 UTC, Sjoerd Mullender
no flags Details

Description Sjoerd Mullender 2016-11-29 19:21:28 UTC
Description of problem:
The mozilla programs (at least firefox and thunderbird) cannot deal with a crypto policy of FUTURE.
Firefox crashes when the crypto policies are set to FUTURE.  The problem in thunderbird is slightly different.  It results in thunderbird not connecting to the Internet.

I did not have this problem on Fedora 24.

Version-Release number of selected component (if applicable):
firefox-50.0-1.fc25.x86_64
thunderbird-45.4.0-1.fc25.x86_64
crypto-policies-20160921-2.git75b9b04.fc25.noarch

How reproducible:
100%

Steps to Reproduce:
1.sudo sed -i s/^DEFAULT/FUTURE/ /etc/crypto-policies/config
2.sudo update-crypto-policies
3.firefox

Actual results:
A crash.  See messages below under Additional info.

Expected results:
Firefox starts up.

Additional info:
1480446829357	addons.manager	ERROR	Exception loading default provider "resource://gre/modules/addons/XPIProvider.jsm": [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: <TOP_LEVEL> :: line 1713"  data: no] Stack trace: resource://gre/modules/addons/XPIProvider.jsm:1713 < AddonManagerInternal.startup()@resource://gre/modules/AddonManager.jsm:925 < this.AddonManagerPrivate.startup()@resource://gre/modules/AddonManager.jsm:3016 < amManager.prototype.observe()@resource://gre/components/addonManager.js:71
1480446829613	addons.manager	ERROR	Exception calling provider PluginProvider.getAddonsByTypes: [Exception... "Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]"  nsresult: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)"  location: "JS frame :: resource://gre/modules/addons/PluginProvider.jsm :: getIDHashForString :: line 33"  data: no] Stack trace: getIDHashForString()@resource://gre/modules/addons/PluginProvider.jsm:33 < PluginProvider.getPluginList()@resource://gre/modules/addons/PluginProvider.jsm:198 < PluginProvider.buildPluginList()@resource://gre/modules/addons/PluginProvider.jsm:219 < PluginProvider.getAddonsByTypes()@resource://gre/modules/addons/PluginProvider.jsm:147 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2545 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager.jsm:382 < AddonManagerInternal.getAddonsByTypes/<.nextObject/<()@resource://gre/modules/AddonManager.jsm:2550 < GMPProvider.getAddonsByTypes()@resource://gre/modules/addons/GMPProvider.jsm:644 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2545 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager.jsm:382 < AddonManagerInternal.getAddonsByTypes/<.nextObject/<()@resource://gre/modules/AddonManager.jsm:2550 < this.LightweightThemeManager.getAddonsByTypes()@resource://gre/modules/LightweightThemeManager.jsm:450 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2545 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager.jsm:382 < AsyncObjectCaller()@resource://gre/modules/AddonManager.jsm:362 < AddonManagerInternal.getAddonsByTypes()@resource://gre/modules/AddonManager.jsm:2543 < this.AddonManager.getAddonsByTypes()@resource://gre/modules/AddonManager.jsm:3471 < promiseGetAddonsByTypes/<()@resource://gre/modules/TelemetryEnvironment.jsm:257 < promiseGetAddonsByTypes()@resource://gre/modules/TelemetryEnvironment.jsm:256 < EnvironmentAddonBuilder.prototype._getActiveGMPlugins<()@resource://gre/modules/TelemetryEnvironment.jsm:680 < TaskImpl_run()@resource://gre/modules/Task.jsm:319 < TaskImpl()@resource://gre/modules/Task.jsm:280 < createAsyncFunction/asyncFunction()@resource://gre/modules/Task.jsm:254 < EnvironmentAddonBuilder.prototype._updateAddons<()@resource://gre/modules/TelemetryEnvironment.jsm:528 < TaskImpl_run()@resource://gre/modules/Task.jsm:319 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816 < this.PromiseWalker.scheduleWalkerLoop/<()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:750
Assertion failure: NS_IsMainThread(), at /builddir/build/BUILD/firefox-50.0/firefox-50.0/security/manager/ssl/nsNSSComponent.cpp:259
#01: ???[/usr/lib64/firefox/libxul.so +0xac89bb]
#02: ???[/usr/lib64/firefox/libxul.so +0xac9eb6]
#03: ???[/usr/lib64/firefox/libxul.so +0xaecc3e]
#04: ???[/usr/lib64/firefox/libxul.so +0xae5f69]
#05: ???[/usr/lib64/firefox/libxul.so +0x23b3e08]
#06: ???[/usr/lib64/firefox/libxul.so +0x23b419a]
#07: ???[/usr/lib64/firefox/libxul.so +0xac89bb]
#08: ???[/usr/lib64/firefox/libxul.so +0xac9eb6]
#09: ???[/usr/lib64/firefox/libxul.so +0xb7cca1]
#10: ???[/usr/lib64/firefox/libxul.so +0xb4d7e4]
#11: ???[/usr/lib64/firefox/libxul.so +0xb5e85a]
#12: ???[/usr/lib64/firefox/libxul.so +0xc38299]
#13: ???[/usr/lib64/firefox/libxul.so +0xc386c6]
#14: ???[/usr/lib64/firefox/libxul.so +0xc47a38]
#15: ???[/usr/lib64/firefox/libxul.so +0xc5a823]
#16: ???[/usr/lib64/firefox/libxul.so +0xc2a646]
#17: ???[/usr/lib64/firefox/libxul.so +0xad3ce1]
#18: ???[/usr/lib64/firefox/libxul.so +0xaeec37]
#19: ???[/usr/lib64/firefox/libxul.so +0xb5bd21]
#20: ???[/usr/lib64/firefox/libxul.so +0xad3ce1]
#21: ???[/usr/lib64/firefox/libxul.so +0xaeec37]
#22: ???[/usr/lib64/firefox/libxul.so +0xcfd95c]
#23: ???[/usr/lib64/firefox/libxul.so +0xce87a2]
#24: ???[/usr/lib64/firefox/libxul.so +0xad6995]
#25: ???[/lib64/libnspr4.so +0x295bc]
#26: ???[/lib64/libpthread.so.0 +0x76ca]
#27: clone[/lib64/libc.so.6 +0x107f6f]
#28: ??? (???:???)
Segmentation fault - core dumped

Comment 1 Martin Stransky 2016-11-30 13:10:47 UTC
I'm unable to reproduce. Try please a fresh profile ($firefox -ProfileManager) and/or safe mode ($firefox -safe-mode).

Comment 2 Sjoerd Mullender 2016-11-30 13:47:52 UTC
It crashes on a freshly installed Fedora 25 where the quoted commands are the only thing I did after logging in.  (Ok, I selected the default toolbar setup.)

What I should probably mention is that I use the XFCE desktop, and the new F25 installation was installed using the Fedora-Workstation-netinst-x86_64-25-1.3.iso installation "disk" where I selected XFCE instead of the default.

In particular, I do not have any old firefox profiles lying around on this installation.

Comment 3 Martin Stransky 2016-12-02 10:49:55 UTC
Can you please provide full backtrace? How-to is here:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Application_crash

Comment 4 Sjoerd Mullender 2016-12-02 12:13:22 UTC
Created attachment 1227300 [details]
requested firefox stack trace

Here is the stack trace.
I did:
sudo dnf install yum-utils
sudo debuginfo-install firefox
rm -r .mozilla .cache/mozilla
firefox -g -d gdb

Comment 5 Russell Odom 2017-02-19 14:02:58 UTC
I also have this issue.
firefox-51.0.1-2.fc25.x86_64
thunderbird-45.7.0-1.fc25.x86_64
crypto-policies-20160921-3.gitf3018dd.fc25.noarch

Comment 6 Martin Stransky 2017-02-20 12:57:09 UTC
Kai, any idea here? Thanks.

Comment 7 Kai Engert (:kaie) (inactive account) 2017-02-20 16:14:47 UTC
duplicate of bug 1404439

*** This bug has been marked as a duplicate of bug 1404439 ***


Note You need to log in before you can comment on or make changes to this bug.