Closed Bug 5339 Opened 25 years ago Closed 25 years ago

hitting OK button give assert

Categories

(SeaMonkey :: Preferences, defect, P2)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: matt, Assigned: mcmullen)

Details

This was happening with yesterdays build and is still happening when i just checked in the new chrome so i don't think it is my bug. I can help you track it down if you want but i figured you might now what it is. Open prefs: Click ok button at bottom of page. get assert. It seems that mPanelWindow is null. This is the core: nsDebug::Assertion(char * 0x018b6c74, char * 0x018b6c64, char * 0x018b6c34, int 588) line 140 + 13 bytes nsPrefsCore::FinalizePrefWidgets() line 588 + 35 bytes nsPrefsCore::SavePrefs(nsPrefsCore * const 0x01aa8450) line 744 PrefsCoreSavePrefs(JSContext * 0x01e711e0, JSObject * 0x0122e108, unsigned int 0, long * 0x01275fb4, long * 0x0012d158) line 271 + 12 bytes js_Invoke(JSContext * 0x01e711e0, unsigned int 0, int 0) line 650 + 26 bytes js_Interpret(JSContext * 0x01e711e0, long * 0x0012d930) line 2183 + 15 bytes js_Invoke(JSContext * 0x01e711e0, unsigned int 0, int 0) line 666 + 13 bytes js_Interpret(JSContext * 0x01e711e0, long * 0x0012e0c4) line 2183 + 15 bytes js_Invoke(JSContext * 0x01e711e0, unsigned int 1, int 0) line 666 + 13 bytes js_CallFunctionValue(JSContext * 0x01e711e0, JSObject * 0x01244dc8, long 19156432, unsigned int 1, long * 0x0012e1f0, long * 0x0012e1f8) line 735 + 15 bytes JS_CallFunctionValue(JSContext * 0x01e711e0, JSObject * 0x01244dc8, long 19156432, unsigned int 1, long * 0x0012e1f0, long * 0x0012e1f8) line 2369 + 29 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x01f7c930) line 97 + 34 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012e384, nsIDOMEvent * * 0x0012e324, unsigned int 3, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 555 + 21 bytes nsGenericElement::HandleDOMEvent(nsIPresContext & {...}, nsEvent * 0x0012e384, nsIDOMEvent * * 0x0012e324, unsigned int 1, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 770 nsHTMLInputElement::HandleDOMEvent(nsHTMLInputElement * const 0x01eaaf9c, nsIPresContext & {...}, nsEvent * 0x0012e384, nsIDOMEvent * * 0x00000000, unsigned int 1, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 475 nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const 0x01f1d8c0, nsIPresContext & {...}, nsMouseEvent * 0x0012e6c4, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 412 + 31 bytes nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x01f1d8c0, nsIPresContext & {...}, nsGUIEvent * 0x0012e6c4, nsIFrame * 0x01eadde0, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 155 + 24 bytes PresShell::HandleEvent(PresShell * const 0x01e9f7f4, nsIView * 0x01eb1290, nsGUIEvent * 0x0012e6c4, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 2103 + 34 bytes nsView::HandleEvent(nsView * const 0x01eb1290, nsGUIEvent * 0x0012e6c4, unsigned int 8, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 827 nsView::HandleEvent(nsView * const 0x01ea19c0, nsGUIEvent * 0x0012e6c4, unsigned int 8, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 810 nsView::HandleEvent(nsView * const 0x01ea0a80, nsGUIEvent * 0x0012e6c4, unsigned int 8, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 810 nsView::HandleEvent(nsView * const 0x01ea0de0, nsGUIEvent * 0x0012e6c4, unsigned int 8, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 810 nsScrollingView::HandleEvent(nsScrollingView * const 0x01ea0de0, nsGUIEvent * 0x0012e6c4, unsigned int 8, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 865 nsView::HandleEvent(nsView * const 0x01e9f450, nsGUIEvent * 0x0012e6c4, unsigned int 28, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 810 nsViewManager::DispatchEvent(nsViewManager * const 0x01e9f120, nsGUIEvent * 0x0012e6c4, nsEventStatus & nsEventStatus_eConsumeDoDefault) line 1718 HandleEvent(nsGUIEvent * 0x0012e6c4) line 67 nsWindow::DispatchEvent(nsWindow * const 0x01eb1754, nsGUIEvent * 0x0012e6c4, nsEventStatus & nsEventStatus_eIgnore) line 414 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012e6c4) line 435 nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 2784 + 15 bytes nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 1114125, long * 0x0012e840) line 2138 + 24 bytes nsWindow::WindowProc(void * 0x00050160, unsigned int 514, unsigned int 0, long 1114125) line 478 + 27 bytes USER32! 77e71250()
Delete your mozregistry.dat and it won't happen any more. However, it shouldn't crash like that - I'll check why it does.
Status: NEW → ASSIGNED
OK, a test for null will do the trick. I can fix this. Accepting. (meanwhile, delete your mozregistry.dat).
Priority: P3 → P2
Target Milestone: M5
Set milestone to M5 and changed priority to P2.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I think this was fixed.
Updating QA Contact from paulmac to cpratt
Status: RESOLVED → VERIFIED
Bulk move of all Pref UI component bugs to new Preferences component. Pref UI component will be deleted.
Component: Pref UI → Preferences
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.