Closed Bug 350844 Opened 18 years ago Closed 18 years ago

Feeds preferences pane hangs and then crashes when selecting a web handler if the initially selected option was "Show me a preview" (in instant-apply mode)

Categories

(Firefox :: Settings UI, defect, P1)

PowerPC
macOS
defect

Tracking

()

RESOLVED FIXED
Firefox 2

People

(Reporter: asaf, Assigned: asaf)

References

Details

(Keywords: crash, fixed1.8.1, hang)

Attachments

(1 file)

In instant apply mode, we sometimes crash (after a short hang) when selecting a web handler from the list. It seems this only happens if "show me a preview" was the selected option when the pane was loaded.

Debugging this a bit shows this is happening due the weak preference observer on PREF_SELECTED_WEB, probably due to some bad xpconnect cycles between the preferences bindings to the weak observer
Assignee: nobody → bugs.mano
Flags: blocking-firefox2?
Priority: -- → P1
Severity: normal → critical
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
Also fix an issue where the listbox select event bubbles to the radiogroup and causes us to save the preferences yet another time.
Attachment #236216 - Flags: review?(mconnor)
Flags: blocking-firefox2? → blocking-firefox2+
Is this the same crash as bug 348940? (It's hard to tell without a stack, but judging from the patch it seems like it could be.)
Comment on attachment 236216 [details] [diff] [review]
patch

r+a=me on this branch-only patch, thanks Mano
Attachment #236216 - Flags: review?(mconnor)
Attachment #236216 - Flags: review+
Attachment #236216 - Flags: approval1.8.1+
Mike, note I've already landed the trunk patch for bug 346009, so this goes there too.
1.8 branch:
mozilla/browser/components/preferences/feeds.js 1.1.2.3
mozilla/browser/components/preferences/feeds.xul 1.1.2.3
Keywords: fixed1.8.1
trunk:
mozilla/browser/components/preferences/feeds.js 1.3
mozilla/browser/components/preferences/feeds.xul 1.3
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: