Closed Bug 533111 Opened 16 years ago Closed 16 years ago

[HTML5] Strange looking page and crash [@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName*, nsHtml5HtmlAttributes*, int) ]

Categories

(Core :: DOM: HTML Parser, defect, P1)

x86
Windows Vista
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: ria.klaassen, Unassigned)

References

()

Details

(Keywords: crash, crashreportid)

Crash Data

When I go to http://www.heine-shop.nl/is-bin/INTERSHOP.enfinity/WFS/Heine-HeineNL-Site/nl_NL/-/EUR/SH_ViewProduct-ArticleNo;sid=_DIFdxkvzTA3dlI1MagAH3Ul6NyzsdRypX-injF2nez759F5HpainjF2VKC8HA==?ArticleNo=053549X the page doesn't look how it is supposed to look. And I see some code on the page. When I click on the image the browser crashes, and if not, clicking Back crashes it. Required to reproduce the crash is html5.enable to true. http://crash-stats.mozilla.com/report/index/1e0e4ccf-4ebb-4e01-91d7-6df9d2091205 0 xul.dll nsHtml5TreeBuilder::startTag parser/html/nsHtml5TreeBuilder.cpp:576 1 xul.dll nsHtml5Tokenizer::emitCurrentTagToken parser/html/nsHtml5Tokenizer.cpp:379 2 xul.dll nsHtml5Tokenizer::stateLoop parser/html/nsHtml5Tokenizer.cpp:599 3 xul.dll nsHtml5Tokenizer::tokenizeBuffer parser/html/nsHtml5Tokenizer.cpp:462 4 xul.dll nsHtml5StreamParser::ParseAvailableData parser/html/nsHtml5StreamParser.cpp:750 5 xul.dll nsHtml5StreamParserContinuation::Run parser/html/nsHtml5StreamParser.cpp:792 6 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:527 7 xul.dll nsThread::ThreadFunc xpcom/threads/nsThread.cpp:254 8 nspr4.dll _PR_NativeRunThread nsprpub/pr/src/threads/combined/pruthr.c:426 9 nspr4.dll pr_root nsprpub/pr/src/md/windows/w95thred.c:122 10 mozcrt19.dll _callthreadstartex obj-firefox/memory/jemalloc/crtsrc/threadex.c:348 11 mozcrt19.dll _threadstartex obj-firefox/memory/jemalloc/crtsrc/threadex.c:326 12 kernel32.dll BaseThreadInitThunk 13 ntdll.dll __RtlUserThreadStart 14 ntdll.dll _RtlUserThreadStart
Priority: -- → P1
Summary: Strange looking page and crash [@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName*, nsHtml5HtmlAttributes*, int) ] → [HTML5] Strange looking page and crash [@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName*, nsHtml5HtmlAttributes*, int) ]
The page looks wrong but I don't see the crash on Mac with my patch queue applied. It seems that the end tag of <script type="text/javascript">document.write(getLocByDomain("loc37", 'Heine-HeineNL-Site'));</script> is lost and the tokenizer carries on as if inside script still.
Not able to crash using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091209 Minefield/3.7a1pre. testing with a fresh profile.
Error: link_vat_layer is not defined Source File: javascript:link_vat_layer(); Line: 1 is the only error I see in my console when clicking around.
Comment #6 was bug 535126. Comment #3 was bug 535499. Chances are the crash itself is a dupe of bug 535499, too.
Please recheck if you still see the crash when nightlies have cycled now that the patch for bug 535499 has landed. (I don't see a crash on Mac.)
Depends on: 535499
I don't see a crash on Windows XP. Marking WFM.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091220 Minefield/3.7a1pre Verified WFM
Status: RESOLVED → VERIFIED
Crash Signature: [@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName*, nsHtml5HtmlAttributes*, int) ]
You need to log in before you can comment on or make changes to this bug.