Closed Bug 12133 Opened 25 years ago Closed 25 years ago

[blocker] Crashes when clicking "Get New Msg"!

Categories

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

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: skasinathan, Assigned: davidm)

References

Details

Overview Description: Crashes when clicking "Get New Msg"! Build Date & Platform Bug Found: Windows debug build of 8/19/99. I pulled the tree around 10.00 AM. Steps to Reproduce: 1. Start Messenger using Task | Messenger. 2. Open a pop account. 3. Click "Get New Msg". Crash! Crash! Here is the Stack trace: nsDialogParamBlock::GetInt(nsDialogParamBlock * const 0x04bb7320, int 2, int * 0x00000002) line 84 + 13 bytes nsCommonDialogs::PromptPassword(nsCommonDialogs * const 0x04bb73c0, nsIDOMWindow * 0x0369f4c8, const unsigned short * 0x04bb7400, unsigned short * * 0x0012d834, int * 0x0012d838) line 213 nsNetSupportDialog::PromptPassword(nsNetSupportDialog * const 0x04bb76c0, const unsigned short * 0x04bb7400, unsigned short * * 0x0012d834, int * 0x0012d838) line 589 + 44 bytes nsPop3Protocol::GetPassword() line 462 + 49 bytes nsPop3Protocol::LoadUrl(nsIURI * 0x04bb7fb4, nsISupports * 0x00000000) line 502 + 8 bytes nsPop3Service::RunPopUrl(nsIMsgIncomingServer * 0x0392c9e0, nsIURI * 0x04bb7fb4) line 214 + 17 bytes nsPop3Service::GetNewMail(nsPop3Service * const 0x04bb6240, nsIUrlListener * 0x00000000, nsIPop3IncomingServer * 0x0392c9f4, nsIURI * * 0x00000000) line 134 nsMsgLocalMailFolder::GetNewMessages(nsMsgLocalMailFolder * const 0x040e691c) line 1498 + 25 bytes nsMsgFolderDataSource::DoCommand(nsMsgFolderDataSource * const 0x040d8530, nsISupportsArray * 0x04bb52a0, nsIRDFResource * 0x040d9c20, nsISupportsArray * 0x00000000) line 549 + 26 bytes CompositeDataSourceImpl::DoCommand(CompositeDataSourceImpl * const 0x0495df10, nsISupportsArray * 0x04bb52a0, nsIRDFResource * 0x040d9c20, nsISupportsArray * 0x00000000) line 1279 + 24 bytes nsMessenger::DoCommand(nsIRDFCompositeDataSource * 0x0495df10, char * 0x015eb540, nsISupportsArray * 0x04bb52a0, nsISupportsArray * 0x00000000) line 515 + 29 bytes nsMessenger::GetNewMessages(nsMessenger * const 0x0392b4d0, nsIRDFCompositeDataSource * 0x0495df10, nsIDOMXULElement * 0x04ac5880) line 335 XPTC_InvokeByIndex(nsISupports * 0x0392b4d0, unsigned int 4, unsigned int 2, nsXPTCVariant * 0x0012dc0c) line 135 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext * 0x0369f350, nsXPCWrappedNative * 0x039308d0, const XPCNativeMemberDescriptor * 0x03930cf8, nsXPCWrappedNativeClass::CallMode CALL_METHOD, unsigned int 2, long * 0x02dc1ea8, long * 0x0012de14) line 511 + 44 bytes WrappedNative_CallMethod(JSContext * 0x0369f350, JSObject * 0x01184390, unsigned int 2, long * 0x02dc1ea8, long * 0x0012de14) line 130 js_Invoke(JSContext * 0x0369f350, unsigned int 2, unsigned int 0) line 654 + 26 bytes js_Interpret(JSContext * 0x0369f350, long * 0x0012e640) line 2228 + 15 bytes js_Invoke(JSContext * 0x0369f350, unsigned int 0, unsigned int 0) line 670 + 13 bytes js_Interpret(JSContext * 0x0369f350, long * 0x0012ee28) line 2228 + 15 bytes js_Invoke(JSContext * 0x0369f350, unsigned int 0, unsigned int 0) line 670 + 13 bytes js_Interpret(JSContext * 0x0369f350, long * 0x0012f610) line 2228 + 15 bytes js_Invoke(JSContext * 0x0369f350, unsigned int 1, unsigned int 2) line 670 + 13 bytes js_InternalCall(JSContext * 0x0369f350, JSObject * 0x011846c8, long 18368208, unsigned int 1, long * 0x0012f750, long * 0x0012f758) line 747 + 15 bytes JS_CallFunctionValue(JSContext * 0x0369f350, JSObject * 0x011846c8, long 18368208, unsigned int 1, long * 0x0012f750, long * 0x0012f758) line 2643 + 29 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x04bb5030) line 97 + 34 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012f928, nsIDOMEvent * * 0x0012f8f0, unsigned int 3, nsEventStatus & nsEventStatus_eIgnore) line 601 + 21 bytes RDFElementImpl::HandleDOMEvent(RDFElementImpl * const 0x03bf0fa0, nsIPresContext & {...}, nsEvent * 0x0012f928, nsIDOMEvent * * 0x0012f8f0, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 2392 nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const 0x03bf9c10, nsIPresContext & {...}, nsMouseEvent * 0x0012fba0, nsEventStatus & nsEventStatus_eIgnore) line 735 + 31 bytes nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x03bf9c10, nsIPresContext & {...}, nsGUIEvent * 0x0012fba0, nsIFrame * 0x03bf9370, nsEventStatus & nsEventStatus_eIgnore, nsIView * 0x036c3d10) line 261 + 24 bytes PresShell::HandleEvent(PresShell * const 0x036c38d4, nsIView * 0x036c3d10, nsGUIEvent * 0x0012fba0, nsEventStatus & nsEventStatus_eIgnore) line 1882 + 43 bytes nsView::HandleEvent(nsView * const 0x036c3d10, nsGUIEvent * 0x0012fba0, unsigned int 28, nsEventStatus & nsEventStatus_eIgnore, int & 0) line 835 nsViewManager::DispatchEvent(nsViewManager * const 0x036c0270, nsGUIEvent * 0x0012fba0, nsEventStatus & nsEventStatus_eIgnore) line 1611 HandleEvent(nsGUIEvent * 0x0012fba0) line 67 nsWindow::DispatchEvent(nsWindow * const 0x036c3bd4, nsGUIEvent * 0x0012fba0, nsEventStatus & nsEventStatus_eIgnore) line 498 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fba0) line 523 nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3271 + 21 bytes ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3466 nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 3211299, long * 0x0012fdd4) line 2539 + 24 bytes nsWindow::WindowProc(HWND__ * 0x0f4506ee, unsigned int 514, unsigned int 0, long 3211299) line 571 + 27 bytes USER32! 77e71820() 00310023()
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
the fix is in. get new message was crashing, because it was bringing up the password prompt dialog. nsDialogParamBlock should derive from nsIDialogParamBlock, not nsISupports. Bad things happen. thanks to mscott for the fix. Here's mscott's fix: Index: nsDialogParamBlock.cpp =================================================================== RCS file: /cvsroot/mozilla/xpfe/appshell/src/nsDialogParamBlock.cpp,v retrieving revision 1.7 diff -r1.7 nsDialogParamBlock.cpp 23c23 < class nsDialogParamBlock: public nsISupports --- > class nsDialogParamBlock: public nsIDialogParamBlock
Ooops, I've been putting all of my comments for this crash in another bug that jay patel opened. I'll mark that one as a duplciate of this one.
Status: RESOLVED → REOPENED
Assignee: mscott → davidm
Status: REOPENED → NEW
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
re-assigning this bug to davidm in case it gets opened again in the future as the problem was over on his end of the fence.
*** Bug 12130 has been marked as a duplicate of this bug. ***
Severity: normal → blocker
Summary: Crashes when clicking "Get New Msg"! → [blocker] Crashes when clicking "Get New Msg"!
Target Milestone: M10
This is after the fact, but giving this bug a blocker status.
*** Bug 12136 has been marked as a duplicate of this bug. ***
Status: RESOLVED → VERIFIED
I am marking verified for M10. Jay Patel's smoke test for the 8/23 Win32 builds says he is able to get new messages.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.