Closed
Bug 39343
Opened 25 years ago
Closed 25 years ago
regression in table regression tests - crash on xul file with html extension.
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
People
(Reporter: karnaze, Assigned: harishd)
References
()
Details
(Keywords: crash)
The url is crashing with todays build. First there is an assertion (1st stack below), then there is a crash (2nd stack). I'm not sure if it is a parser or content sink problem. nsDebug::Assertion(const char * 0x0263f0ec, const char * 0x0263f0dc, const char * 0x0263f0a8, int 155) line 242 + 13 bytes nsDebug::WarnIfFalse(const char * 0x0263f0ec, const char * 0x0263f0dc, const char * 0x0263f0a8, int 155) line 300 + 21 bytes nsNodeInfoManager::GetNodeInfo(nsNodeInfoManager * const 0x0273b370, const nsString & {""}, nsIAtom * 0x00000000 {???}, int 0, nsINodeInfo * & 0x00000000) line 155 + 41 bytes HTMLContentSink::CreateContentObject(const nsIParserNode & {...}, nsHTMLTag eHTMLTag_parsererror, nsIDOMHTMLFormElement * 0x00000000, nsIWebShell * 0x00000000, nsIHTMLContent * * 0x0012fbb8) line 1061 + 65 bytes SinkContext::OpenContainer(const nsIParserNode & {...}) line 1345 + 69 bytes HTMLContentSink::OpenContainer(HTMLContentSink * const 0x02739720, const nsIParserNode & {...}) line 3004 + 18 bytes CWellFormedDTD::HandleStartToken(CToken * 0x027abde0) line 616 + 22 bytes CWellFormedDTD::HandleErrorToken(CToken * 0x02a59d70) line 677 CWellFormedDTD::HandleToken(CWellFormedDTD * const 0x02a587e0, CToken * 0x02a59d70, nsIParser * 0x0273a250) line 505 + 12 bytes CWellFormedDTD::BuildModel(CWellFormedDTD * const 0x02a587e0, nsIParser * 0x0273a250, nsITokenizer * 0x02a585e0, nsITokenObserver * 0x00000000, nsIContentSink * 0x02739720) line 257 + 20 bytes nsParser::BuildModel() line 1557 + 34 bytes nsParser::ResumeParse(int 1, int 0) line 1441 + 11 bytes nsParser::OnDataAvailable(nsParser * const 0x0273a258, nsIChannel * 0x0273d140, nsISupports * 0x00000000, nsIInputStream * 0x0273c0fc, unsigned int 0, unsigned int 713) line 1875 + 19 bytes nsDocumentOpenInfo::OnDataAvailable(nsDocumentOpenInfo * const 0x0273cca0, nsIChannel * 0x0273d140, nsISupports * 0x00000000, nsIInputStream * 0x0273c0fc, unsigned int 0, unsigned int 713) line 189 + 46 bytes nsFileChannel::OnDataAvailable(nsFileChannel * const 0x0273d144, nsIChannel * 0x0273bef0, nsISupports * 0x00000000, nsIInputStream * 0x0273c0fc, unsigned int 0, unsigned int 713) line 651 + 49 bytes nsOnDataAvailableEvent::HandleEvent(nsOnDataAvailableEvent * const 0x0273b8f0) line 406 + 47 bytes nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x0273b8a0) line 97 + 12 bytes PL_HandleEvent(PLEvent * 0x0273b8a0) line 575 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x01330b80) line 520 + 9 bytes _md_EventReceiverProc(HWND__ * 0x05d604b2, unsigned int 49406, unsigned int 0, long 20122496) line 1030 + 9 bytes USER32! 77e71820() ---------------- SinkContext::CloseContainer(const nsIParserNode & {...}) line 1442 + 3 bytes HTMLContentSink::CloseContainer(HTMLContentSink * const 0x02739720, const nsIParserNode & {...}) line 3022 + 18 bytes CWellFormedDTD::HandleEndToken(CToken * 0x027ae060) line 641 + 31 bytes CWellFormedDTD::HandleErrorToken(CToken * 0x02a59d70) line 686 CWellFormedDTD::HandleToken(CWellFormedDTD * const 0x02a587e0, CToken * 0x02a59d70, nsIParser * 0x0273a250) line 505 + 12 bytes CWellFormedDTD::BuildModel(CWellFormedDTD * const 0x02a587e0, nsIParser * 0x0273a250, nsITokenizer * 0x02a585e0, nsITokenObserver * 0x00000000, nsIContentSink * 0x02739720) line 257 + 20 bytes nsParser::BuildModel() line 1557 + 34 bytes nsParser::ResumeParse(int 1, int 0) line 1441 + 11 bytes nsParser::OnDataAvailable(nsParser * const 0x0273a258, nsIChannel * 0x0273d140, nsISupports * 0x00000000, nsIInputStream * 0x0273c0fc, unsigned int 0, unsigned int 713) line 1875 + 19 bytes nsDocumentOpenInfo::OnDataAvailable(nsDocumentOpenInfo * const 0x0273cca0, nsIChannel * 0x0273d140, nsISupports * 0x00000000, nsIInputStream * 0x0273c0fc, unsigned int 0, unsigned int 713) line 189 + 46 bytes nsFileChannel::OnDataAvailable(nsFileChannel * const 0x0273d144, nsIChannel * 0x0273bef0, nsISupports * 0x00000000, nsIInputStream * 0x0273c0fc, unsigned int 0, unsigned int 713) line 651 + 49 bytes nsOnDataAvailableEvent::HandleEvent(nsOnDataAvailableEvent * const 0x0273b8f0) line 406 + 47 bytes nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x0273b8a0) line 97 + 12 bytes PL_HandleEvent(PLEvent * 0x0273b8a0) line 575 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x01330b80) line 520 + 9 bytes _md_EventReceiverProc(HWND__ * 0x05d604b2, unsigned int 49406, unsigned int 0, long 20122496) line 1030 + 9 bytes USER32! 77e71820()
The problem is due to the conflict between mime type and the content itself. That is, the mime type is text/html but the content is XML ( the PI atleast ). Therefore, the parser ended up chosing WellFormedDTD rather than CNavDTD. This problem got to be addressed.
Status: NEW → ASSIGNED
*** This bug has been marked as a duplicate of 39520 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•