Open Bug 1587842 Opened 5 years ago Updated 2 years ago

Assertion failure: fragment, at src/parser/html/nsHtml5TreeBuilder.cpp:608

Categories

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

defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr102 --- affected
firefox71 --- wontfix
firefox105 --- wontfix
firefox106 --- affected
firefox107 --- affected

People

(Reporter: tsmith, Assigned: hsivonen)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase.html

Reduced with m-c:
BuildID=20191009164235
SourceStamp=a43ad34ac8e3033d22c2ea30eebfa8c271130e48

Assertion failure: fragment, at src/parser/html/nsHtml5TreeBuilder.cpp:608

#0 nsHtml5TreeBuilder::eof() src/parser/html/nsHtml5TreeBuilder.cpp:608:11
#1 nsHtml5Tokenizer::eof() src/parser/html/nsHtml5Tokenizer.cpp:4407:17
#2 nsHtml5StreamParser::ParseAvailableData() src/parser/html/nsHtml5StreamParser.cpp:1661:27
#3 nsHtml5StreamParser::DoStopRequest() src/parser/html/nsHtml5StreamParser.cpp:1272:3
#4 nsHtml5RequestStopper::Run() src/parser/html/nsHtml5StreamParser.cpp:1284:20
#5 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1225:14
#6 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:486:10
#7 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:333:5
#8 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#9 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3
#10 nsThread::ThreadFunc(void*) src/xpcom/threads/nsThread.cpp:458:11
#11 _pt_root src/nsprpub/pr/src/pthreads/ptthread.c:201:5
#12 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
#13 clone /build/glibc-LK5gWL/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Flags: in-testsuite?

Henri is the one who knows the best of HTML parser :)

Flags: needinfo?(hsivonen)

The assertion predates the <template> element and evidently wasn't re-reasoned about when <template> was added.

Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Flags: needinfo?(hsivonen)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: