Closed
Bug 26595
Opened 25 years ago
Closed 25 years ago
changes in preferences not written to prefs.js
Categories
(SeaMonkey :: Preferences, defect, P3)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: jband_mozilla)
References
Details
(Whiteboard: [PDT+])
Attachments
(3 files)
5.41 KB,
text/plain
|
Details | |
2.01 KB,
patch
|
Details | Diff | Splinter Review | |
674 bytes,
patch
|
Details | Diff | Splinter Review |
this is new, as of using today's comm bits on linux, at least [2000-02-04-08]. to repro: 0. check the initial state of, say, the default homepage by grep'ing your prefs.js. eg, mine said user_pref("browser.startup.homepage", "http://bugzilla.mozilla.org"); 1. open Prefs, go to Navigator panel. 2. change the default homepage to, say, http://www.google.com 3. click OK. 4. grep prefs.js to observe the [lack of] change. what's really bizarre was that for a while shrir wasn't able to repro this (same bits, same platform) till he suddenly got a crash opening prefs (see bug 26588). after restarting seamonkey, he can no longer change his homepage. moreover, this might affect all of prefs, since syd chatted with me recently about similar problems when trying to change IM prefs. syd, could you pls provide further details (which panel, platform, etc)?
Reporter | ||
Comment 1•25 years ago
|
||
nominating for beta1. added zach@math.berkeley.edu, in case he has seen this. btw, lemme know if this is a dup of another, larger bug that has recently cropped up.
Comment 2•25 years ago
|
||
Seeing on mac commercial build also (2000020410m14). Changing PLATFORM and OS to ALL.
OS: Linux → All
Hardware: PC → All
Summary: changes in preferences not written to prefs.js → [PP]changes in preferences not written to prefs.js
Comment 3•25 years ago
|
||
I've seen this in accounts manager: bug 26580. Haven't seen in prefs just because they keep crashing me.
Reporter | ||
Updated•25 years ago
|
Summary: [PP]changes in preferences not written to prefs.js → changes in preferences not written to prefs.js
Comment 5•25 years ago
|
||
it looks like this was caused by brendan's JS changes last night. Looks like something broke with for (var i in associativeArray) when associativeArray is an array of arrays.
This is dying the interpreter changes that brendan made last night. This does not look like a front end problem at all
Assignee: ben → jband
Assignee | ||
Comment 8•25 years ago
|
||
oh joy. I added rogerl to cc list and I'll email brendan. I'll look into it.
Assignee | ||
Comment 9•25 years ago
|
||
With an old profile it changed the pref and all worked fine. I created a new profile and it crashed in JS when I clicked on the tree. It crashes in jsemit line 654 where cx->fp->varobj == NULL I'll attach a stack trace. and keep looking closer /* * We can't optimize if we're not compiling a function body, whether via * eval, or directly when compiling a function statement or expression. */ obj = cx->fp->varobj; clasp = OBJ_GET_CLASS(cx, obj); if (clasp != &js_FunctionClass && clasp != &js_CallClass) return JS_TRUE;
Assignee | ||
Comment 10•25 years ago
|
||
Comment 12•25 years ago
|
||
rods saw that same crash doing File Open, which (of course!) WorksForMe. cx->fp->varobj must not be null at the crashpoint, because js_CompileTokenStream sets up a frame with varobj set to the valid JSObject pointer that was passed to JS_Compile*. Can someone able to reproduce the crash under a debugger verify that by going up the stack to js_CompileTokenStream and inspecting the "frame" local variable? /be
Comment 13•25 years ago
|
||
Argh, timeouts for the openDialog-calling window are nesting in the dialog's modal event loop. This seems bad, at least at first blush. It also exposes a logic bug in my JS changes: I assumed no one would reuse a context to compile code that's already in use for the same scope. Foolish me. Patch to fix that (and the crash) coming right up. Whether that fixes the for/in loop erratic behavior alecf saw, and helps save prefs and account state, we'll have to see. /be
Comment 14•25 years ago
|
||
Comment 15•25 years ago
|
||
*** Bug 26580 has been marked as a duplicate of this bug. ***
Comment 16•25 years ago
|
||
*** Bug 26568 has been marked as a duplicate of this bug. ***
Comment 17•25 years ago
|
||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 18•25 years ago
|
||
Fix checked into js/src/jsemit.c -- why am I still here? Thanks to jband and alecf for help chasing this down. Apologies to all, /be
Comment 19•25 years ago
|
||
*** Bug 26588 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 20•25 years ago
|
||
yay! verif w/2000-02-07-08 comm bits on linux and winNT.
Status: RESOLVED → VERIFIED
Comment 21•25 years ago
|
||
Bulk move of all Pref UI component bugs to new Preferences component. Pref UI component will be deleted.
Component: Pref UI → Preferences
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•