Closed Bug 136513 Opened 23 years ago Closed 23 years ago

Crash changing font size preference while nsEngineer panel showing

Categories

(Core :: XUL, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED FIXED
mozilla1.2alpha

People

(Reporter: dp, Assigned: dbaron)

References

Details

(Keywords: crash)

Talkback incident id: 5005292 http://climate.netscape.com/reports/SingleIncidentInfo.cfm?dynamicBBID=5005292 (Netscape internal) operator []() nsCOMPtr_base::assign_from_helper() nsCSSFrameConstructor::ConstructXULFrame() nsCSSFrameConstructor::ConstructFrameInternal() nsCSSFrameConstructor::ConstructFrame() nsCSSFrameConstructor::CreateAnonymousFrames() nsCSSFrameConstructor::CreateAnonymousFrames() nsCSSFrameConstructor::ConstructDocElementFrame() nsCSSFrameConstructor::ReconstructDocElementHierarchy() StyleSetImpl::ReconstructDocElementHierarchy() PresShell::ReconstructFrames() PresShell::SetPreferenceStyleRules() nsPresContext::PreferenceChanged() nsPresContext::PrefChangedCallback() pref_DoCallback() pref_HashPref() PREF_SetIntPref() nsPrefBranch::SetIntPref() nsPrefService::SetIntPref() nsPref::SetIntPref() XPTC_InvokeByIndex() XPCWrappedNative::CallMethod() XPC_WN_CallMethod() js_Invoke() js_Interpret() js_Invoke() js_InternalInvoke() JS_CallFunctionValue() nsJSContext::CallEventHandler() GlobalWindowImpl::RunTimeout() GlobalWindowImpl::TimerCallback() nsTimerImpl::Process() handleMyEvent() PL_HandleEvent() PL_ProcessPendingEvents() nsEventQueueImpl::ProcessPendingEvents() event_processor_callback() our_gdk_io_invoke() libglib-1.2.so.0 + 0xff9e (0x40392f9e) libglib-1.2.so.0 + 0x11773 (0x40394773) libglib-1.2.so.0 + 0x11d39 (0x40394d39) libglib-1.2.so.0 + 0x11eec (0x40394eec) libgtk-1.2.so.0 + 0x94333 (0x402b0333) nsAppShell::Run() nsAppShellService::Run() netscape-bin + 0x8c79 (0x08050c79) netscape-bin + 0x9457 (0x08051457) libc.so.6 + 0x1c507 (0x404db507)
Edit->Preferences Changed Font from San-Serif : 12 -> 13 My San-Serif font was adobe-helvetica
What windows did you have open?
Severity: normal → critical
Keywords: crash
mmh! I played with this more. I get the core dump only if I have the sidebar open with nsEngineer tab showing: http://scottcollins.net/panels/ns-engineer-home.shtml I tried without the sidebar and with different pages open in browser and mail and those didn't seem to cause the crash. Let me know if you want me to narrow this down further.
The problem is that, in ConstructXULFrame, GetPopupSetFrame: 5712 rootBox->GetPopupSetFrame(&popupSetFrame); 5713 NS_ASSERTION(popupSetFrame, "unexpected null pointer"); 5714 if (popupSetFrame) { is returning a pointer to a deleted frame. (I confirmed that it is actually deleted using my 0xdd marking code in bug 114219 and bug 114221.)
Component: Style System → XP Toolkit/Widgets: XUL
Summary: Crash when trying to change fonts from prefs → Crash changing font size preference while nsEngineer panel showing
Keywords: mozilla1.0, nsbeta1
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.0
Do either of you guys (hewitt, ben) know about popupsets?
Target Milestone: mozilla1.0 → mozilla1.1beta
Giving this to XUL owner.
Assignee: dbaron → hyatt
Status: ASSIGNED → NEW
QA Contact: ian → shrir
Target Milestone: mozilla1.1beta → ---
Nav triage team: nsbeta1-
Keywords: nsbeta1nsbeta1-
Depends on: 155866
No longer depends on: 155866
This is fixed by the patch in attachment 90862 [details] [diff] [review] on bug 156719.
Assignee: hyatt → dbaron
Depends on: 156719
Target Milestone: --- → mozilla1.1beta
Fix checked in to trunk, 2002-07-11 18:46 PDT. See bug 156719.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Patch was backed out because it was *suspected* of causing a regression.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla1.1beta → mozilla1.2alpha
*** Bug 156949 has been marked as a duplicate of this bug. ***
Fix checked in, 2002-08-19 11:29 PDT.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.