New issue
Advanced search Search tips

Issue 793559 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

InsertHorizontalRule command crashes with unusual HTML

Project Member Reported by ClusterFuzz, Dec 9 2017

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=6532269027360768

Fuzzer: bj_broddelwerk
Job Type: linux_lsan_chrome_mp
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  GetTreeScope
  GetDocument
  HasEditableStyle
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_lsan_chrome_mp&range=434385:434426

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=6532269027360768

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Project Member

Comment 1 by ClusterFuzz, Dec 9 2017

Labels: Test-Predator-Auto-Owner
Owner: xiaoche...@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/9ceffba8b9056e7a125f5a9fd8eb803816315df7 (Ensure active document for hasEditableLevel).

If this is incorrect, please remove the owner and apply the Test-Predator-Wrong-CLs label.
Project Member

Comment 2 by ClusterFuzz, Dec 9 2017

Components: Blink>DOM Blink>Editing
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Components: -Blink>Editing -Blink>DOM Blink>Editing>Command
Labels: -Pri-1 Pri-3
Owner: ----
Status: Available (was: Assigned)
Summary: InsertHorizontalRule command crashes with unusual HTML (was: Null-dereference READ in GetTreeScope)
Lowering to P3 due to unusual HTML and low usage of InsertHorizontalRule command

Hits DCHECK before running into the crash site:

[1:1:1211/144938.110487:FATAL:SelectionTemplate.cpp(264)] Check failed: position.IsConnected(). BR@beforeAnchor
#0 0x7fa5ee65ec0d base::debug::StackTrace::StackTrace()
#1 0x7fa5ee65d03c base::debug::StackTrace::StackTrace()
#2 0x7fa5ee6e4bba logging::LogMessage::~LogMessage()
#3 0x7fa5e5d15b50 blink::SelectionTemplate<>::Builder::Collapse()
#4 0x7fa5e5d16d37 blink::SelectionTemplate<>::Builder::SetBaseAndExtent()
#5 0x7fa5e5d91593 blink::SelectionForUndoStep::AsSelection()
#6 0x7fa5e5d91d57 blink::CreateVisibleSelection()
#7 0x7fa5e5d52858 blink::CompositeEditCommand::EndingVisibleSelection()
#8 0x7fa5e5d58f37 blink::CompositeEditCommand::MoveParagraphs()
#9 0x7fa5e5d5aa97 blink::CompositeEditCommand::MoveParagraph()
#10 0x7fa5e5d66957 blink::DeleteSelectionCommand::MergeParagraphs()
#11 0x7fa5e5d67bc8 blink::DeleteSelectionCommand::DoApply()
#12 0x7fa5e5d52e48 blink::CompositeEditCommand::ApplyCommandToComposite()
#13 0x7fa5e5d5533d blink::CompositeEditCommand::DeleteSelection()
#14 0x7fa5e5d8a09a blink::ReplaceSelectionCommand::InsertParagraphSeparatorIfNeeds()
#15 0x7fa5e5d8aad5 blink::ReplaceSelectionCommand::DoApply()
#16 0x7fa5e5d52b8d blink::CompositeEditCommand::Apply()
#17 0x7fa5e5d724ba blink::ExecuteInsertFragment()
#18 0x7fa5e5d72643 blink::ExecuteInsertElement()
#19 0x7fa5e5d6dd5f blink::ExecuteInsertHorizontalRule()

Project Member

Comment 4 by ClusterFuzz, Dec 19 2017

ClusterFuzz has detected this issue as fixed in range 524868:524874.

Detailed report: https://clusterfuzz.com/testcase?key=6532269027360768

Fuzzer: bj_broddelwerk
Job Type: linux_lsan_chrome_mp
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  GetTreeScope
  GetDocument
  HasEditableStyle
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_lsan_chrome_mp&range=434385:434426
Fixed: https://clusterfuzz.com/revisions?job=linux_lsan_chrome_mp&range=524868:524874

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=6532269027360768

See https://github.com/google/clusterfuzz-tools for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 5 by ClusterFuzz, Dec 19 2017

Labels: ClusterFuzz-Verified
Status: Verified (was: Available)
ClusterFuzz testcase 6532269027360768 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment