Closed Bug 21984 Opened 26 years ago Closed 26 years ago

nsISimpleURI::Resolve() Assertion when loading this message.

Categories

(MailNews Core :: Backend, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 21805

People

(Reporter: kinmoz, Assigned: mscott)

Details

Attachments

(1 file)

Attatched is a message that throws an assertion when I try to read it via IMAP in my 12/16/1999 debug build. NTDLL! 77f76148() nsDebug::Assertion(const char * 0x00f69140, const char * 0x00f69134, const char * 0x00f69108, int 231) line 186 + 13 bytes nsSimpleURI::Resolve(nsSimpleURI * const 0x04926030, const char * 0x04933050, char * * 0x0012e168) line 231 + 35 bytes NS_MakeAbsoluteURI(const char * 0x04933050, nsIURI * 0x04926030, char * * 0x0012e168) line 143 + 20 bytes NS_MakeAbsoluteURI(const nsString & {...}, nsIURI * 0x04926030, nsString & {...}) line 154 + 17 bytes nsHTMLImageElement::SetProperty(JSContext * 0x04a162b0, long 13996948, long * 0x0012f1c4) line 437 + 31 bytes nsJSUtils::nsCallJSScriptObjectSetProperty(nsISupports * 0x0490b050, JSContext * 0x04a162b0, long 13996948, long * 0x0012f1c4) line 231 + 23 bytes SetHTMLImageElementProperty(JSContext * 0x04a162b0, JSObject * 0x023454c8, long 13996948, long * 0x0012f1c4) line 516 + 21 bytes js_SetProperty(JSContext * 0x04a162b0, JSObject * 0x023454c8, long 29182448, long * 0x0012f1c4) line 2071 + 137 bytes js_Interpret(JSContext * 0x04a162b0, long * 0x0012f3bc) line 2193 + 955 bytes js_Execute(JSContext * 0x04a162b0, JSObject * 0x022ea188, JSScript * 0x04b93b80, JSFunction * 0x00000000, JSStackFrame * 0x00000000, unsigned int 0, long * 0x0012f3bc) line 838 + 13 bytes JS_EvaluateUCScriptForPrincipals(JSContext * 0x04a162b0, JSObject * 0x022ea188, JSPrincipals * 0x04dad574, const unsigned short * 0x03c5ef58, unsigned int 1787, const char * 0x0423a008, unsigned int 179, long * 0x0012f3bc) line 2705 + 27 bytes nsJSContext::EvaluateString(nsJSContext * const 0x04a16440, const nsString & {...}, void * 0x022ea188, nsIPrincipal * 0x04dad570, const char * 0x0423a008, unsigned int 179, const char * 0x00335468, nsString & {...}, int * 0x0012f414) line 284 + 53 bytes HTMLContentSink::EvaluateScript(nsString & {...}, int 179, const char * 0x00335468) line 3845 HTMLContentSink::ProcessSCRIPTTag(const nsIParserNode & {...}) line 4036 HTMLContentSink::AddLeaf(HTMLContentSink * const 0x04b3a6f0, const nsIParserNode & {...}) line 2818 + 12 bytes CNavDTD::AddLeaf(const nsIParserNode * 0x04da60b0) line 3110 + 28 bytes CNavDTD::HandleScriptToken(const nsIParserNode * 0x04da60b0) line 1792 + 12 bytes CNavDTD::OpenContainer(const nsIParserNode * 0x04da60b0, nsHTMLTag eHTMLTag_script, int 1, nsEntryStack * 0x00000000) line 2824 + 12 bytes CNavDTD::HandleDefaultStartToken(CToken * 0x04b9ab90, nsHTMLTag eHTMLTag_script, nsIParserNode * 0x04da60b0) line 1048 + 20 bytes CNavDTD::HandleStartToken(CToken * 0x04b9ab90) line 1352 + 22 bytes CNavDTD::HandleToken(CNavDTD * const 0x04b75af0, CToken * 0x04b9b920, nsIParser * 0x04b3c100) line 751 + 12 bytes CNavDTD::BuildModel(CNavDTD * const 0x04b75af0, nsIParser * 0x04b3c100, nsITokenizer * 0x04b756d0, nsITokenObserver * 0x00000000, nsIContentSink * 0x04b3a6f0) line 523 + 20 bytes nsParser::BuildModel() line 1040 + 34 bytes nsParser::ResumeParse(nsIDTD * 0x00000000, int 0) line 966 + 11 bytes nsParser::OnDataAvailable(nsParser * const 0x04b3c104, nsIChannel * 0x04b3ce10, nsISupports * 0x00000000, nsIInputStream * 0x04b3cd28, unsigned int 0, unsigned int 68211) line 1326 + 19 bytes nsDocumentBindInfo::OnDataAvailable(nsDocumentBindInfo * const 0x04b3ca90, nsIChannel * 0x04b3ce10, nsISupports * 0x00000000, nsIInputStream * 0x04b3cd28, unsigned int 0, unsigned int 68211) line 1455 + 43 bytes nsDocumentOpenInfo::OnDataAvailable(nsDocumentOpenInfo * const 0x04b3ce90, nsIChannel * 0x04b3ce10, nsISupports * 0x00000000, nsIInputStream * 0x04b3cd28, unsigned int 0, unsigned int 68211) line 216 + 46 bytes nsOnDataAvailableEvent::HandleEvent(nsOnDataAvailableEvent * const 0x04b3cbd0) line 370 nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x04b3cb80) line 93 + 12 bytes PL_HandleEvent(PLEvent * 0x04b3cb80) line 522 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00c76e30) line 483 + 9 bytes _md_EventReceiverProc(HWND__ * 0x00330480, unsigned int 49330, unsigned int 0, long 13069872) line 947 + 9 bytes USER32! 77e71250() 00
Continuing past the assertion, I hit another assertion: NTDLL! 77f76148() nsDebug::Assertion(const char * 0x00f69140, const char * 0x00f69134, const char * 0x00f69108, int 231) line 186 + 13 bytes nsSimpleURI::Resolve(nsSimpleURI * const 0x04dafeb0, const char * 0x04dafdd0, char * * 0x0012d1b8) line 231 + 35 bytes NS_MakeAbsoluteURI(const char * 0x04dafdd0, nsIURI * 0x04dafeb0, char * * 0x0012d1b8) line 143 + 20 bytes NS_MakeAbsoluteURI(const nsString & {...}, nsIURI * 0x04dafeb0, nsString & {...}) line 154 + 17 bytes nsHTMLImageElement::SetProperty(JSContext * 0x04a162b0, long 13996948, long * 0x0012e214) line 437 + 31 bytes nsJSUtils::nsCallJSScriptObjectSetProperty(nsISupports * 0x04dad080, JSContext * 0x04a162b0, long 13996948, long * 0x0012e214) line 231 + 23 bytes SetHTMLImageElementProperty(JSContext * 0x04a162b0, JSObject * 0x023ded38, long 13996948, long * 0x0012e214) line 516 + 21 bytes js_SetProperty(JSContext * 0x04a162b0, JSObject * 0x023ded38, long 29182448, long * 0x0012e214) line 2071 + 137 bytes js_Interpret(JSContext * 0x04a162b0, long * 0x0012e3a4) line 2193 + 955 bytes js_Invoke(JSContext * 0x04a162b0, unsigned int 1, unsigned int 0) line 681 + 13 bytes js_Interpret(JSContext * 0x04a162b0, long * 0x0012ebd0) line 2226 + 15 bytes js_Invoke(JSContext * 0x04a162b0, unsigned int 0, unsigned int 0) line 681 + 13 bytes js_Interpret(JSContext * 0x04a162b0, long * 0x0012f3fc) line 2226 + 15 bytes js_Invoke(JSContext * 0x04a162b0, unsigned int 1, unsigned int 2) line 681 + 13 bytes js_InternalCall(JSContext * 0x04a162b0, JSObject * 0x022ea188, long 36984016, unsigned int 1, long * 0x0012f580, long * 0x0012f52c) line 758 + 15 bytes JS_CallFunctionValue(JSContext * 0x04a162b0, JSObject * 0x022ea188, long 36984016, unsigned int 1, long * 0x0012f580, long * 0x0012f52c) line 2752 + 29 bytes nsJSContext::CallEventHandler(nsJSContext * const 0x04a16440, void * 0x022ea188, void * 0x023454d0, unsigned int 1, void * 0x0012f580, int * 0x0012f57c) line 547 + 33 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x05f510e4) line 128 + 57 bytes nsEventListenerManager::HandleEventSubType(nsListenerStruct * 0x0491b030, nsIDOMEvent * 0x05f510e4, unsigned int 1) line 651 + 19 bytes nsEventListenerManager::HandleEvent(nsIPresContext * 0x04b3ac00, nsEvent * 0x0012fc34, nsIDOMEvent * * 0x0012f97c, unsigned int 7, nsEventStatus * 0x0012fc74) line 1202 + 31 bytes GlobalWindowImpl::HandleDOMEvent(GlobalWindowImpl * const 0x04a164a4, nsIPresContext * 0x04b3ac00, nsEvent * 0x0012fc34, nsIDOMEvent * * 0x0012f97c, unsigned int 1, nsEventStatus * 0x0012fc74) line 3018 nsWebShell::OnEndDocumentLoad(nsWebShell * const 0x04a10c60, nsIDocumentLoader * 0x04a10120, nsIChannel * 0x04d93510, unsigned int 0, nsIDocumentLoaderObserver * 0x04a10c60) line 3042 + 34 bytes nsDocLoaderImpl::FireOnEndDocumentLoad(nsDocLoaderImpl * 0x04a10120, nsIChannel * 0x04d93510, unsigned int 0) line 1095 nsDocLoaderImpl::DocLoaderIsEmpty(unsigned int 0) line 986 nsDocLoaderImpl::OnStopRequest(nsDocLoaderImpl * const 0x04a10124, nsIChannel * 0x04d95eb0, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 920 nsLoadGroup::RemoveChannel(nsLoadGroup * const 0x04a10bf0, nsIChannel * 0x04d95eb0, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 531 + 42 bytes nsFileChannel::OnStopRequest(nsFileChannel * const 0x04d95eb4, nsIChannel * 0x04d95970, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 497 nsOnStopRequestEvent::HandleEvent(nsOnStopRequestEvent * const 0x05f00870) line 279 nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x05f00c60) line 93 + 12 bytes PL_HandleEvent(PLEvent * 0x05f00c60) line 522 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00c76e30) line 483 + 9 bytes _md_EventReceiverProc(HWND__ * 0x00330480, unsigned int 49330, unsigned int 0, long 13069872) line 947 + 9 bytes USER32! 77e71250() 00c76
Assignee: phil → mscott
Scott, could you look at this?
I think it makes no sense to call nsSimpleURI with Resolve or SetRelativePath, because this simple URIs are not supposed to have paths. A nsStdURL should be used. I think this is a dup of bug 21805.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 21085 ***
Status: RESOLVED → REOPENED
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
oops wrong bug number
*** This bug has been marked as a duplicate of 21805 ***
Status: RESOLVED → VERIFIED
verified as duplicate
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: