Closed Bug 14639 Opened 25 years ago Closed 25 years ago

ASSERT in prefs when creating account with null smtp server

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: alecf)

References

Details

Trying to make a new account, I have problem. I hit the New Account button in the Account Settings dialog, go through the wizard, and hit the Finish button. Now, I get an assertion: Calling chain using A6/R1 links Back chain ISA Caller 00000000 PPC 1FBE2680 0E3DB6C0 PPC 1FBDEDE8 main+0013C 0E3DB650 PPC 1FBDE98C main1(int, char**)+004C4 0E3DB550 PPC 1EF58620 nsAppShellService::Run()+00020 0E3DB510 PPC 1EF2B22C nsAppShell::Run()+00050 0E3DB490 PPC 1EF2BFD0 nsMacMessagePump::DoMessagePump()+00044 0E3DB440 PPC 1EF2C1D4 nsMacMessagePump::DispatchEvent(int, EventRecord*)+ 00084 0E3DB3F0 PPC 1EF2C48C nsMacMessagePump::DoMouseDown(EventRecord&)+00084 0E3DB300 PPC 1EF2CDBC nsMacMessagePump::DoMenu(EventRecord&, long)+0004C 0E3DB2C0 PPC 1EF2D0D4 nsMacMessagePump::DispatchMenuCommandToRaptor(EventRecord&, long )+00050 0E3DB280 PPC 1EF26670 nsMacMessageSink::DispatchMenuCommand(EventRecord&, long)+00050 0E3DB240 PPC 1EF1FB20 nsMacWindow::HandleMenuCommand(EventRecord&, long)+ 00054 0E3DB1E0 PPC 1EF2050C nsMacEventHandler::HandleMenuCommand(EventRecord&, long)+001D4 0E3DB120 PPC 1EF07E7C nsWindow::DispatchWindowEvent(nsGUIEvent&)+00028 0E3DB0E0 PPC 1EF07D68 nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus& )+00088 0E3DB090 PPC 1EF1747C nsMenuBar::MenuSelected(const nsMenuEvent&)+0009C 0E3DB040 PPC 1EF126C0 nsMenu::MenuItemSelected(const nsMenuEvent&)+002AC 0E3DAE40 PPC 1EF19B88 nsMenuItem::MenuItemSelected(const nsMenuEvent&)+ 00050 0E3DAE00 PPC 1EF1A3C8 nsMenuItem::DoCommand()+0063C 0E3DACF0 PPC 1DBA39E0 RDFElementImpl::HandleDOMEvent(nsIPresContext&, nsEvent*, nsIDOM Event**, unsigned int, nsEventStatus&)+0047C 0E3DABB0 PPC 1CFB9CC4 nsEventListenerManager::HandleEvent(nsIPresContext&, nsEvent*, n sIDOMEvent**, unsigned int, nsEventStatus&)+01780 0E3DAA60 PPC 1E0698C0 nsJSEventListener::HandleEvent(nsIDOMEvent*)+001AC 0E3DA940 PPC 1DFEDD6C nsJSContext::CallFunction(void*, void*, unsigned int, void*, int *)+002B4 0E3DA870 PPC 1DF70E48 JS_CallFunction+00044 0E3DA830 PPC 1DF8E748 js_InternalCall+000CC 0E3DA780 PPC 1DF8E49C js_Invoke+00974 0E3DA680 PPC 1DF97388 js_Interpret+082FC 0E3DA300 PPC 1DF8E49C js_Invoke+00974 0E3DA200 PPC 1DF97388 js_Interpret+082FC 0E3D9E80 PPC 1DF8E438 js_Invoke+00910 0E3D9D80 PPC 1DFFE020 WindowOpenDialog(JSContext*, JSObject*, unsigned int, long*, lon g*)+001CC 0E3D9CF0 PPC 1E0059E8 GlobalWindowImpl::OpenDialog(JSContext*, long*, unsigned int, ns IDOMWindow**)+00038 0E3D9CB0 PPC 1E006290 GlobalWindowImpl::OpenInternal(JSContext*, long*, unsigned int, int, nsIDOMWindow**)+0083C 0E3D9940 PPC 1EF61224 nsWebShellWindow::ShowModally(int)+00194 0E3D98B0 PPC 1EF60E54 nsWebShellWindow::ShowModal()+00018 0E3D9870 PPC 1EF60FD0 nsWebShellWindow::ShowModalInternal()+00124 0E3D9810 PPC 1EF2BC78 nsAppShell::DispatchNativeEvent(int, void*)+00054 0E3D97B0 PPC 1EF2C1E8 nsMacMessagePump::DispatchEvent(int, EventRecord*)+ 00098 0E3D9760 PPC 1EF2CACC nsMacMessagePump::DoMouseUp(EventRecord&)+00050 0E3D9710 PPC 1EF2D000 nsMacMessagePump::DispatchOSEventToRaptor(EventRecord&, GrafPort *)+0004C 0E3D96C0 PPC 1EF265A8 nsMacMessageSink::DispatchOSEvent(EventRecord&, GrafPort*)+00048 0E3D9680 PPC 1EF1FA54 nsMacWindow::HandleOSEvent(EventRecord&)+0004C 0E3D9620 PPC 1EF20204 nsMacEventHandler::HandleOSEvent(EventRecord&)+000D0 0E3D95D0 PPC 1EF21F50 nsMacEventHandler::HandleMouseUpEvent(EventRecord&)+ 000D8 0E3D9540 PPC 1EF07F3C nsWindow::DispatchMouseEvent(nsMouseEvent&)+00060 0E3D94E0 PPC 1EF07E7C nsWindow::DispatchWindowEvent(nsGUIEvent&)+00028 0E3D94A0 PPC 1EF07D88 nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus& )+000A8 0E3D9450 PPC 1D2E4A2C HandleEvent(nsGUIEvent*)+00064 0E3D9400 PPC 1D2E139C nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus&)+007C4 0E3D9220 PPC 1D2E69C0 nsView::HandleEvent(nsGUIEvent*, unsigned int, nsEventStatus&, i nt&)+001F0 0E3D91A0 PPC 1CF0C60C PresShell::HandleEvent(nsIView*, nsGUIEvent*, nsEventStatus&)+00 60C 0E3D9100 PPC 1CFBB83C nsEventStateManager::PostHandleEvent(nsIPresContext& , nsGUIEvent *, nsIFrame*, nsEventStatus&, nsIView*)+003D8 0E3D9000 PPC 1CFBCF94 nsEventStateManager::CheckForAndDispatchClick(nsIPresContext&, n sMouseEvent*, nsEventStatus&)+00188 0E3D8F50 PPC 1DBA39E0 RDFElementImpl::HandleDOMEvent(nsIPresContext&, nsEvent*, nsIDOM Event**, unsigned int, nsEventStatus&)+0047C 0E3D8E10 PPC 1CFB88B8 nsEventListenerManager::HandleEvent(nsIPresContext&, nsEvent*, n sIDOMEvent**, unsigned int, nsEventStatus&)+00374 0E3D8CC0 PPC 1E0698C0 nsJSEventListener::HandleEvent(nsIDOMEvent*)+001AC 0E3D8BA0 PPC 1DFEDD6C nsJSContext::CallFunction(void*, void*, unsigned int, void*, int *)+002B4 0E3D8AD0 PPC 1DF70E48 JS_CallFunction+00044 0E3D8A90 PPC 1DF8E748 js_InternalCall+000CC 0E3D89E0 PPC 1DF8E49C js_Invoke+00974 0E3D88E0 PPC 1DF97388 js_Interpret+082FC 0E3D8560 PPC 1DF8E49C js_Invoke+00974 0E3D8460 PPC 1DF97388 js_Interpret+082FC 0E3D80E0 PPC 1DF8E438 js_Invoke+00910 0E3D7FE0 PPC 1DFFE020 WindowOpenDialog(JSContext*, JSObject*, unsigned int, long*, lon g*)+001CC 0E3D7F50 PPC 1E0059E8 GlobalWindowImpl::OpenDialog(JSContext*, long*, unsigned int, ns IDOMWindow**)+00038 0E3D7F10 PPC 1E006290 GlobalWindowImpl::OpenInternal(JSContext*, long*, unsigned int, int, nsIDOMWindow**)+0083C 0E3D7BA0 PPC 1EF61224 nsWebShellWindow::ShowModally(int)+00194 0E3D7B10 PPC 1EF60E54 nsWebShellWindow::ShowModal()+00018 0E3D7AD0 PPC 1EF60FD0 nsWebShellWindow::ShowModalInternal()+00124 0E3D7A70 PPC 1EF2BC78 nsAppShell::DispatchNativeEvent(int, void*)+00054 0E3D7A10 PPC 1EF2C1E8 nsMacMessagePump::DispatchEvent(int, EventRecord*)+ 00098 0E3D79C0 PPC 1EF2CACC nsMacMessagePump::DoMouseUp(EventRecord&)+00050 0E3D7970 PPC 1EF2D000 nsMacMessagePump::DispatchOSEventToRaptor(EventRecord&, GrafPort *)+0004C 0E3D7920 PPC 1EF265A8 nsMacMessageSink::DispatchOSEvent(EventRecord&, GrafPort*)+00048 0E3D78E0 PPC 1EF1FA54 nsMacWindow::HandleOSEvent(EventRecord&)+0004C 0E3D7880 PPC 1EF20204 nsMacEventHandler::HandleOSEvent(EventRecord&)+000D0 0E3D7830 PPC 1EF21F50 nsMacEventHandler::HandleMouseUpEvent(EventRecord&)+ 000D8 0E3D77A0 PPC 1EF07F3C nsWindow::DispatchMouseEvent(nsMouseEvent&)+00060 0E3D7740 PPC 1EF07E7C nsWindow::DispatchWindowEvent(nsGUIEvent&)+00028 0E3D7700 PPC 1EF07D88 nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus& )+000A8 0E3D76B0 PPC 1D2E4A2C HandleEvent(nsGUIEvent*)+00064 0E3D7660 PPC 1D2E139C nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus&)+007C4 0E3D7480 PPC 1D2E69C0 nsView::HandleEvent(nsGUIEvent*, unsigned int, nsEventStatus&, i nt&)+001F0 0E3D7400 PPC 1CF0C60C PresShell::HandleEvent(nsIView*, nsGUIEvent*, nsEventStatus&)+00 60C 0E3D7360 PPC 1CFBB83C nsEventStateManager::PostHandleEvent(nsIPresContext& , nsGUIEvent *, nsIFrame*, nsEventStatus&, nsIView*)+003D8 0E3D7260 PPC 1CFBCF94 nsEventStateManager::CheckForAndDispatchClick(nsIPresContext&, n sMouseEvent*, nsEventStatus&)+00188 0E3D71B0 PPC 1DBA39E0 RDFElementImpl::HandleDOMEvent(nsIPresContext&, nsEvent*, nsIDOM Event**, unsigned int, nsEventStatus&)+0047C 0E3D7070 PPC 1CFB88B8 nsEventListenerManager::HandleEvent(nsIPresContext&, nsEvent*, n sIDOMEvent**, unsigned int, nsEventStatus&)+00374 0E3D6F20 PPC 1E0698C0 nsJSEventListener::HandleEvent(nsIDOMEvent*)+001AC 0E3D6E00 PPC 1DFEDD6C nsJSContext::CallFunction(void*, void*, unsigned int, void*, int *)+002B4 0E3D6D30 PPC 1DF70E48 JS_CallFunction+00044 0E3D6CF0 PPC 1DF8E748 js_InternalCall+000CC 0E3D6C40 PPC 1DF8E49C js_Invoke+00974 0E3D6B40 PPC 1DF97388 js_Interpret+082FC 0E3D67C0 PPC 1DF8E49C js_Invoke+00974 0E3D66C0 PPC 1DF97388 js_Interpret+082FC 0E3D6340 PPC 1DF8E49C js_Invoke+00974 0E3D6240 PPC 1DF96788 js_Interpret+076FC 0E3D5EC0 PPC 1D41418C WrappedNative_SetProperty(JSContext*, JSObject*, long, long*)+00 0D8 0E3D5E30 PPC 1D411E38 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext*, nsXPCWrap pedNative*, const XPCNativeMemberDescriptor*, nsXPCWrappedNativeClass::CallMode, unsigned int , long*, long*)+00E00 0E3D5C00 PPC 1E148614 XPTC_InvokeByIndex+0002C 0E3D5BC0 PPC 1E14871C _XPTC_InvokeByIndex+000C8 0E3D5B18 PPC 1DC9E998 nsSmtpServer::SetHostname(const char*)+000AC 0E3D5A58 PPC 1F941D44 nsPref::SetCharPref(const char*, const char*)+0001C 0E3D5A18 PPC 1F93B9CC PREF_SetCharPref+0002C 0E3D59D8 PPC 1F93E548 pref_HashPref+00268 0E3D5978 PPC 1F93E254 pref_SetValue+00054 0E3D5938 PPC 1EEAE2F4 PR_Assert+00048 Closing log Then, the wizard dialog does not go away (bug 14396). Now, back in the Account Settings dialog, the list entry for my new account shows no name.
Oh, and after this whole process, I can't dismiss the Account Settings dialog either.
Status: NEW → ASSIGNED
it looks like you somehow didn't enter an SMTP server name or something, or at least the value of the SMTP server name in the dialog got set to null... prefs was asserting because were were trying to set the hostname to NULL. However, this is a case I should handle without making prefs assert. Fix was easy, I have it ready in my tree.
Target Milestone: M11
this should be fix for M11, BTW
Blocks: 11091
QA Contact: lchiang → nbaca
What happend here is I hit the Finish button before I'd got to the screen where you enter the account name. So I was trying to create an account with an empty name.
Bug http://bugzilla.mozilla.org/show_bug.cgi?id=13587 talks about getting rid of the Finish button except in the last panel of the wizard.
Summary: Problems making new account → ASSERT in prefs when creating account with null smtp server
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed by clearing this pref when we are told to assign it to NULL
Depends on: 14146
Mac: Waiting on bug#14146 to be fixed before verifying.
Status: RESOLVED → VERIFIED
Build 1999111112M11: Mac 8.5.1 Verified Fixed. I created a new account, left the SMTP Server entry blank, advanced through all the Account Wizard dialogs without a problem.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.