Closed Bug 584169 Opened 14 years ago Closed 12 years ago

Regression: Crash [@ StopRequest ] when a mozilla.cfg configuration file is specified via general.config.filename to set or lock preferences

Categories

(Core :: Preferences: Backend, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugdickvl, Unassigned)

Details

(Keywords: crash)

Crash Data

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier: Mozilla/5.0 (X11; Linux i686; rv:2.0b3pre) Gecko/20100803 Minefield/4.0b3pre

Crash with signature [@ StopRequest ] when a mozilla.cfg configuration file is specified via general.config.filename to set or lock preferences.
See also bug 576430

Reproducible: Always

Steps to Reproduce:
1. create "local-settings.js" with content pref("general.config.filename",
"mozilla.cfg"); in program directory Minefield/defaults/pref
2. create "mozilla.cfg" , byte-shifted with offset 13, in the Minefield program folder
3. Clear profile folder to make Minefield create a new profile folder

Actual Results:  
Minefield crashes immediately and doesn't start.



Expected Results:  
Minefield should start and process the preferences as set via mozilla.cfg

New bug filed as requested via bug 576430 comment 16.

Note that bug 576430 currently is preventing mozilla.cfg from working and "Failed to read the configuration file. Please contact your system
administrator." was shown instead of processing mozilla.cfg

Crash: BuildID=20100801030131 SourceStamp=070d9d46d88b
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2010-08-01-03-mozilla-central/firefox-4.0b3pre.en-US.linux-i686.tar.bz2

No crash: BuildID=20100731030927 SourceStamp=f73e5032cfad
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2010-07-31-03-mozilla-central/firefox-4.0b3pre.en-US.linux-i686.tar.bz2

Changeset:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f73e5032cfad&tochange=070d9d46d88b

Crash Report:
http://crash-stats.mozilla.com/report/index/bp-fce88062-081f-457a-91cf-0fbbf2100802
This is probably a JSAPI botch....

Mozilla Crash Reports
Product:     Report:  Advanced Search
Firefox 4.0b3pre Crash Report [@ StopRequest ]
Search Mozilla Support for Help
ID: fce88062-081f-457a-91cf-0fbbf2100802
Signature: StopRequest
Details
Modules
Raw Dump
Extensions
Comments
Correlations
Signature	StopRequest
UUID	fce88062-081f-457a-91cf-0fbbf2100802
Time	2010-08-02 20:16:47.564036
Uptime	0
Last Crash	17 seconds before submission
Install Age	25842 seconds (7.2 hours) since version was first installed.
Product	Firefox
Version	4.0b3pre
Build ID	20100802030135
Branch	2.0
OS	Linux
OS Version	0.0.0 Linux 2.6.27.48-0.1-pae #1 SMP 2010-07-05 22:20:39 +0200 i686
CPU	x86
CPU Info	GenuineIntel family 6 model 15 stepping 11
Crash Reason	SIGSEGV
Crash Address	0x1008c
User Comments	
Processor Notes	WARNING: Json file missing Add-ons
EMCheckCompatibility	False
Related Bugs

Frame	Module	Signature [Expand]	Source
0	libmozjs.so	StopRequest	js/src/jscntxt.h:3074
1	libxul.so	CentralizedAdminPrefManagerInit	 jsapi.h:753
2	libxul.so	nsReadConfig::readConfigFile	extensions/pref/autoconfig/src/nsReadConfig.cpp:188
3	libxul.so	nsReadConfig::Observe	extensions/pref/autoconfig/src/nsReadConfig.cpp:141
4	libxul.so	nsObserverList::NotifyObservers	xpcom/ds/nsObserverList.cpp:130
5	libxul.so	nsObserverService::NotifyObservers	xpcom/ds/nsObserverService.cpp:182
6	libxul.so	nsPrefService::NotifyServiceObservers	modules/libpref/src/nsPrefService.cpp:306
7	libxul.so	nsPrefService::ReadUserPrefs	modules/libpref/src/nsPrefService.cpp:215
8	libxul.so	nsPrefService::Observe	modules/libpref/src/nsPrefService.cpp:189
9	libxul.so	nsObserverList::NotifyObservers	xpcom/ds/nsObserverList.cpp:130
10	libxul.so	nsObserverService::NotifyObservers	xpcom/ds/nsObserverService.cpp:182
11	libxul.so	nsXREDirProvider::DoStartup	toolkit/xre/nsXREDirProvider.cpp:726
12	libxul.so	XRE_main	toolkit/xre/nsAppRunner.cpp:3522
13	firefox-bin	main	browser/app/nsBrowserApp.cpp:158
14	libc-2.9.so	libc-2.9.so@0x16704	
15	firefox-bin	firefox-bin@0x1430	
16	firefox-bin	Output	browser/app/nsBrowserApp.cpp:77
17		@0x3	
Show/hide other threads
Severity: major → critical
Component: Preferences → Preferences: Backend
Keywords: crash
Product: Firefox → Core
QA Contact: preferences → preferences-backend
Version: unspecified → Trunk
This crash signature is #18 top crasher in 4.0b8 for the last week.
blocking2.0: --- → ?
blocking2.0: ? → ---
Crash Signature: [@ StopRequest ]
I think this was fixed?
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.