Closed Bug 14163 Opened 25 years ago Closed 25 years ago

crash bringing up new message compose window

Categories

(MailNews Core :: Composition, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: buster, Assigned: bugzilla)

References

()

Details

I bring up apprunner. File menu New Mail Message crash before the new message window appears. 2 differnt stacks on 2 different runs. the first shows mRefCount for nsMsgCompose is uninitialized. I can continue past these asserts and get the window to come up. the second stack is a hard crash. I don't know if it's related to the refcount problem in the first run or not. stack 1: NTDLL! 77f76274() nsDebug::PreCondition(const char * 0x0356eb64, const char * 0x0356eb4c, const char * 0x0356eb18, int 114) line 163 + 13 bytes nsMsgCompose::AddRef(nsMsgCompose * const 0x03792f80) line 114 + 35 bytes nsMsgCompose::QueryInterface(nsMsgCompose * const 0x03792f80, const nsID & {...}, void * * 0x0012dcb4) line 114 + 135 bytes nsMsgComposeFactory::CreateInstance(nsMsgComposeFactory * const 0x037910a0, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012dcb4) line 155 + 19 bytes nsComponentManagerImpl::CreateInstance(nsComponentManagerImpl * const 0x00e54ad0, const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012dcb4) line 1212 + 24 bytes nsComponentManager::CreateInstance(const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012dcb4) line 78 nsMsgComposeService::InitCompose(nsMsgComposeService * const 0x03483700, nsIDOMWindow * 0x02fa3418, const unsigned short * 0x00000000, int 0, int 0, int 0, nsIMsgCompose * * 0x0012dea4) line 180 + 23 bytes XPTC_InvokeByIndex(nsISupports * 0x03483700, unsigned int 6, unsigned int 6, nsXPTCVariant * 0x0012de54) line 135 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext * 0x02fa32a0, nsXPCWrappedNative * 0x03484700, const XPCNativeMemberDescriptor * 0x034849d0, nsXPCWrappedNativeClass::CallMode CALL_METHOD, unsigned int 5, long * 0x0228c504, long * 0x0012e074) line 661 + 44 bytes WrappedNative_CallMethod(JSContext * 0x02fa32a0, JSObject * 0x022a4080, unsigned int 5, long * 0x0228c504, long * 0x0012e074) line 170 + 34 bytes js_Invoke(JSContext * 0x02fa32a0, unsigned int 5, unsigned int 0) line 654 + 26 bytes js_Interpret(JSContext * 0x02fa32a0, long * 0x0012e8a4) line 2228 + 15 bytes js_Invoke(JSContext * 0x02fa32a0, unsigned int 0, unsigned int 0) line 670 + 13 bytes js_Interpret(JSContext * 0x02fa32a0, long * 0x0012f090) line 2228 + 15 bytes js_Invoke(JSContext * 0x02fa32a0, unsigned int 0, unsigned int 0) line 670 + 13 bytes js_Interpret(JSContext * 0x02fa32a0, long * 0x0012f87c) line 2228 + 15 bytes js_Invoke(JSContext * 0x02fa32a0, unsigned int 1, unsigned int 2) line 670 + 13 bytes js_InternalCall(JSContext * 0x02fa32a0, JSObject * 0x022e94f0, long 36324664, unsigned int 1, long * 0x0012f998, long * 0x0012fa00) line 747 + 15 bytes JS_CallFunctionValue(JSContext * 0x02fa32a0, JSObject * 0x022e94f0, long 36324664, unsigned int 1, long * 0x0012f998, long * 0x0012fa00) line 2662 + 29 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x03778720) line 110 + 43 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012fc84, nsIDOMEvent * * 0x0012fb60, unsigned int 7, nsEventStatus & nsEventStatus_eIgnore) line 991 + 21 bytes GlobalWindowImpl::HandleDOMEvent(GlobalWindowImpl * const 0x02fa3414, nsIPresContext & {...}, nsEvent * 0x0012fc84, nsIDOMEvent * * 0x0012fb60, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 2848 nsWebShell::OnEndDocumentLoad(nsWebShell * const 0x02fa8964, nsIDocumentLoader * 0x02fa9c20, nsIChannel * 0x034fae70, unsigned int 0, nsIDocumentLoaderObserver * 0x02fa8964) line 3352 + 34 bytes nsDocLoaderImpl::FireOnEndDocumentLoad(nsDocLoaderImpl * 0x02fa9c20, unsigned int 0) line 861 nsDocLoaderImpl::OnStopRequest(nsDocLoaderImpl * const 0x02fa9c24, nsIChannel * 0x0372eb00, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 747 nsLoadGroup::RemoveChannel(nsLoadGroup * const 0x02fa88f0, nsIChannel * 0x0372eb00, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 593 + 39 bytes nsFileChannel::OnStopRequest(nsFileChannel * const 0x0372eb04, nsIChannel * 0x0372d280, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 474 nsOnStopRequestEvent::HandleEvent(nsOnStopRequestEvent * const 0x03731a70) line 269 nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x03731a74) line 144 + 12 bytes PL_HandleEvent(PLEvent * 0x03731a74) line 509 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00ec4a30) line 470 + 9 bytes _md_EventReceiverProc(HWND__ * 0x02d00d14, unsigned int 49377, unsigned int 0, long 15485488) line 938 + 9 bytes stack 2: __sbh_free_block(tagHeader * 0x00e41efc, void * 0x03827350) line 350 + 6 bytes _realloc_base(void * 0x03827350, unsigned int 108) line 101 + 13 bytes realloc_help(void * 0x03827370, unsigned int 72, int 1, const char * 0x00000000, int 0, int 1) line 636 + 16 bytes _realloc_dbg(void * 0x03827370, unsigned int 72, int 1, const char * 0x00000000, int 0) line 806 + 27 bytes realloc(void * 0x03827370, unsigned int 72) line 755 + 19 bytes JS_realloc(JSContext * 0x02fc05f0, void * 0x03827370, unsigned int 72) line 945 + 14 bytes js_AllocSlot(JSContext * 0x02fc05f0, JSObject * 0x023c0710, unsigned long * 0x0012e480) line 1294 + 20 bytes js_NewScopeProperty(JSContext * 0x02fc05f0, JSScope * 0x03827660, long 58570128, int (JSContext *, JSObject *, long, long *)* 0x01291be0 GetHTMLSelectElementProperty(JSContext *, JSObject *, long, long *), int (JSContext *, JSObject *, long, long *)* 0x012928c0 SetHTMLSelectElementProperty(JSContext *, JSObject *, long, long *), unsigned int 1) line 445 + 20 bytes js_DefineProperty(JSContext * 0x02fc05f0, JSObject * 0x023c0710, long 58570128, long -2147483647, int (JSContext *, JSObject *, long, long *)* 0x01291be0 GetHTMLSelectElementProperty(JSContext *, JSObject *, long, long *), int (JSContext *, JSObject *, long, long *)* 0x012928c0 SetHTMLSelectElementProperty(JSContext *, JSObject *, long, long *), unsigned int 1, ...) line 1414 + 29 DefineProperty(JSContext * 0x02fc05f0, JSObject * 0x023c0710, const char * 0x01307c38, long -2147483647, int (JSContext *, JSObject *, long, long *)* 0x00000000, int (JSContext *, JSObject *, long, long *)* 0x00000000, unsigned int 1, JSProperty * * 0x0012e560) line 1427 + 43 bytes JS_DefineProperties(JSContext * 0x02fc05f0, JSObject * 0x023c0710, JSPropertySpec * 0x01307b48) line 1511 + 51 bytes JS_InitClass(JSContext * 0x02fc05f0, JSObject * 0x022b1c18, JSObject * 0x0238fa78, JSClass * 0x01307a90 struct JSClass HTMLSelectElementClass, int (JSContext *, JSObject *, unsigned int, long *, long *)* 0x012931e0 HTMLSelectElement(JSContext *, JSObject *, unsigned int, long *, long *), unsigned int 0, JSPropertySpec * 0x01307ad8 HTMLSelectElementProperties, ...) line 1254 + 23 b NS_InitHTMLSelectElementClass(nsIScriptContext * 0x02fc4210, void * * 0x0012e608) line 857 + 44 bytes NS_NewScriptHTMLSelectElement(nsIScriptContext * 0x02fc4210, nsISupports * 0x0382f890, nsISupports * 0x00000000, void * * 0x0382f340) line 904 + 13 bytes nsDOMScriptObjectFactory::NewScriptElement(nsDOMScriptObjectFactory * const 0x02199310, const nsString & {...}, nsIScriptContext * 0x02fc4210, nsISupports * 0x0382f890, nsISupports * 0x00000000, void * * 0x0382f340) line 479 + 21 bytes nsGenericElement::GetScriptObject(nsIScriptContext * 0x02fc4210, void * * 0x0012e778) line 945 + 47 bytes nsHTMLSelectElement::GetScriptObject(nsHTMLSelectElement * const 0x0382f888, nsIScriptContext * 0x02fc4210, void * * 0x0012e778) line 157 + 22 bytes nsEventListenerManager::AddScriptEventListener(nsIScriptContext * 0x02fc4210, nsIScriptObjectOwner * 0x0382f888, nsIAtom * 0x013fd500, const nsString & {...}, const nsID & {...}) line 471 + 20 bytes nsGenericElement::AddScriptEventListener(nsIAtom * 0x013fd500, const nsString & {...}, const nsID & {...}) line 1299 + 31 bytes nsGenericHTMLElement::SetAttribute(int 0, nsIAtom * 0x013fd500, const nsString & {...}, int 1) line 682 nsHTMLSelectElement::SetAttribute(nsHTMLSelectElement * const 0x0382f890, int 0, nsIAtom * 0x013fd500, const nsString & {...}, int 1) line 163 + 30 bytes RDFXULBuilderImpl::AddAttribute(nsIContent * 0x0382f890, nsIRDFResource * 0x028208a0, nsIRDFNode * 0x036d0200) line 1314 + 31 bytes RDFXULBuilderImpl::CreateHTMLElement(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036d1290, nsIAtom * 0x013fe0e0, int 0, nsIContent * * 0x0012ef2c) line 934 + 44 bytes RDFXULBuilderImpl::CreateElement(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036d1290, int 0, nsIContent * * 0x0012ef2c) line 776 + 36 bytes RDFXULBuilderImpl::CreateChildrenFromGraph(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036d19a0, nsIContent * 0x0382e0f0, int 0) line 657 + 55 bytes RDFXULBuilderImpl::CreateChildrenFromGraph(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036d1e70, nsIContent * 0x0382e500, int 0) line 702 + 42 bytes RDFXULBuilderImpl::CreateChildrenFromGraph(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036d62f0, nsIContent * 0x0382ee60, int 0) line 702 + 42 bytes RDFXULBuilderImpl::CreateChildrenFromGraph(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036d6a20, nsIContent * 0x0382d480, int 0) line 702 + 42 bytes RDFXULBuilderImpl::CreateChildrenFromGraph(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x036611f0, nsIContent * 0x037b1680, int 0) line 702 + 42 bytes RDFXULBuilderImpl::CreateChildrenFromGraph(nsINameSpace * 0x03707ed0, nsIRDFResource * 0x035d4f00, nsIContent * 0x03706220, int 0) line 702 + 42 bytes RDFXULBuilderImpl::CreateRootContent(RDFXULBuilderImpl * const 0x03706440, nsIRDFResource * 0x035d4f00) line 533 + 35 bytes XULDocumentImpl::EndLoad(XULDocumentImpl * const 0x034576f0) line 2064 + 44 bytes XULContentSinkImpl::DidBuildModel(XULContentSinkImpl * const 0x034557d0, int 1) line 543 CWellFormedDTD::DidBuildModel(CWellFormedDTD * const 0x03456e40, unsigned int 0, int 1, nsIParser * 0x03455da0, nsIContentSink * 0x034557d0) line 287 + 20 bytes nsParser::DidBuildModel(unsigned int 0) line 539 + 55 bytes nsParser::ResumeParse(nsIDTD * 0x00000000, int 0) line 907 nsParser::EnableParser(int 1) line 633 + 15 bytes XULContentSinkImpl::UpdateOverlayCounters(XULContentSinkImpl * const 0x034557d0, int -1) line 1935 + 19 bytes XULContentSinkImpl::CloseContainer(XULContentSinkImpl * const 0x02fac380, const nsIParserNode & {...}) line 701 CWellFormedDTD::HandleEndToken(CToken * 0x0219f440) line 618 + 31 bytes CWellFormedDTD::HandleToken(CWellFormedDTD * const 0x03459500, CToken * 0x0219f440, nsIParser * 0x0343d160) line 479 + 12 bytes CWellFormedDTD::BuildModel(CWellFormedDTD * const 0x03459500, nsIParser * 0x0343d160, nsITokenizer * 0x03458a50, nsITokenObserver * 0x00000000, nsIContentSink * 0x02fac380) line 254 + 20 bytes nsParser::BuildModel() line 955 + 34 bytes nsParser::ResumeParse(nsIDTD * 0x00000000, int 0) line 900 + 11 bytes nsParser::OnDataAvailable(nsParser * const 0x0343d164, nsIChannel * 0x02fcc250, nsISupports * 0x00000000, nsIInputStream * 0x02fcb388, unsigned int 32768, unsigned int 17191) line 1301 + 19 bytes nsDocumentBindInfo::OnDataAvailable(nsDocumentBindInfo * const 0x02fac490, nsIChannel * 0x02fcc250, nsISupports * 0x00000000, nsIInputStream * 0x02fcb388, unsigned int 32768, unsigned int 17191) line 1347 + 32 bytes nsChannelListener::OnDataAvailable(nsChannelListener * const 0x02fccc40, nsIChannel * 0x02fcc250, nsISupports * 0x00000000, nsIInputStream * 0x02fcb388, unsigned int 32768, unsigned int 17191) line 1588 nsFileChannel::OnDataAvailable(nsFileChannel * const 0x02fcc254, nsIChannel * 0x02fcae40, nsISupports * 0x00000000, nsIInputStream * 0x02fcb388, unsigned int 32768, unsigned int 17191) line 486 nsOnDataAvailableEvent::HandleEvent(nsOnDataAvailableEvent * const 0x037178f0) line 345 nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x037178f4) line 144 + 12 bytes PL_HandleEvent(PLEvent * 0x037178f4) line 509 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00ec43d0) line 470 + 9 bytes _md_EventReceiverProc(HWND__ * 0x67320c32, unsigned int 49377, unsigned int 0, long 15483856) line 938 + 9 bytes USER32! 77e71268()
Component: XPApps → Composition
Product: Browser → MailNews
Assignee: phil → ducarroz
Target Milestone: M11
Reassign to ducarroz for M11
Status: NEW → ASSIGNED
could you give me the content of the output window (the dos window), at lest the 10 last line. Thanks.
this looks like a reasonable subset of the output.... Setting content window browser.startup.page = 1 startpage = www.mozilla.org using default, file:///S|/mozilla/dist/Users50/mozProfilesidebar.rdfdoes not exi st panel_content=chrome://related/content/related-panel.xul panel_content=chrome://sidebar/content/flash.xul panel_content=http://cvs-mirror.mozilla.org/webtools/tinderbox/SeaMonkey/panel.h tml panel_content=chrome://bookmarks/content/bm-panel.xul failed to set the page title. failed to set the page title. failed to set the page title. failed to set the page title. got observer service added observer failed to set the page title. failed to set the page title. Document http://www.mozilla.org/ loaded successfully Document: Done (2.437 secs) nsBrowserAppCore::UpdateGoMenu Couldn't find Go Menu. returning Init! adding "http://cvs-mirror.mozilla.org/webtools/tinderbox/SeaMonkey/flash.rdf" to the tree http://cvs-mirror.mozilla.org/webtools/tinderbox/SeaMonkey/flash.rdf: setting po ll interval to 300sec. adding "rdf:msgnotifications" to the tree adding "rdf:xpinstall-update-notifier" to the tree Mouse enter! Mouse enter! ComposeLoad from XUL Compose: ComposeStartup
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Apparently, you have a problem with your identity in your pref. Anyway, I have reshuffle the constructor code of nsMsgCompose to avoid the crash. If you need help with your prefs, just email me your prefs.js file but please erase any password first. Fixed and check in.
where is my prefs file?
should be in mozilla\dist\user50\<your profile name>\prefs.js else, seach for pref.js on your HD.
QA Contact: beppe → cpratt
Status: RESOLVED → VERIFIED
Linux (1999-10-11-14-M11) Commercial Win32 (1999-10-11-15-M11) Commercial Mac (1999-10-11-14-M11) Mozilla This problem no longer exists in any of these platforms.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.