New issue
Advanced search Search tips

Issue 863707 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 862900
Owner:
Closed: Jul 15
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: iteration_state_ & kAllowingRemoval in lifecycle_notifier.h

Project Member Reported by ClusterFuzz, Jul 14

Issue description

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

Fuzzer: ochang_domfuzzer
Job Type: linux_tsan_chrome_mp
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  iteration_state_ & kAllowingRemoval in lifecycle_notifier.h
  blink::DocumentMarkerController::DidUpdateCharacterData
  blink::SynchronousMutationNotifier::NotifyUpdateCharacterData
  
Sanitizer: thread (TSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_tsan_chrome_mp&range=574073:574076

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Jul 14

Components: Blink>DOM Platform
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.
Project Member

Comment 2 by ClusterFuzz, Jul 14

Labels: Test-Predator-Auto-Owner
Owner: pwnall@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/e23e774ef4290cff9869417e25d46e5a099d1567 (Blink: Introduce LifecycleNotifier::ForEachObserver().).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.
Full stack trace:

#3 base::debug::BreakDebugger() base/debug/debugger_posix.cc:258:3
#4 logging::LogMessage::~LogMessage() base/logging.cc:855:7
#5 blink::DocumentMarkerController::DidUpdateCharacterData(blink::CharacterData*, unsigned int, unsigned int, unsigned int) third_party/blink/renderer/platform/lifecycle_notifier.h:176:3
#6 blink::SynchronousMutationNotifier::NotifyUpdateCharacterData(blink::CharacterData*, unsigned int, unsigned int, unsigned int) third_party/blink/renderer/core/dom/synchronous_mutation_notifier.cc:50:15
#7 blink::CharacterData::SetDataAndUpdate(WTF::String const&, unsigned int, unsigned int, unsigned int, blink::CharacterData::UpdateSource) third_party/blink/renderer/core/dom/character_data.cc:193:19
#8 blink::CharacterData::replaceData(unsigned int, unsigned int, WTF::String const&, blink::ExceptionState&) third_party/blink/renderer/core/dom/character_data.cc:157:3
#9 blink::SetCharacterDataCommand::DoApply(blink::EditingState*) third_party/blink/renderer/core/editing/commands/set_character_data_command.cc:54:10
#10 blink::CompositeEditCommand::ApplyCommandToComposite(blink::EditCommand*, blink::EditingState*) third_party/blink/renderer/core/editing/commands/composite_edit_command.cc:210:12
#11 blink::CompositeEditCommand::ReplaceSelectedTextInNode(WTF::String const&) third_party/blink/renderer/core/editing/commands/composite_edit_command.cc:554:3
#12 blink::InsertTextCommand::PerformTrivialReplace(WTF::String const&) third_party/blink/renderer/core/editing/commands/insert_text_command.cc:108:27
#13 blink::InsertTextCommand::DoApply(blink::EditingState*) third_party/blink/renderer/core/editing/commands/insert_text_command.cc:161:9
#14 blink::CompositeEditCommand::ApplyCommandToComposite(blink::EditCommand*, blink::EditingState*) third_party/blink/renderer/core/editing/commands/composite_edit_command.cc:210:12
#15 blink::TypingCommand::InsertTextRunWithoutNewlines(WTF::String const&, blink::EditingState*) third_party/blink/renderer/core/editing/commands/typing_command.cc:671:3
#16 blink::TypingCommand::InsertTextInternal(WTF::String const&, bool, blink::EditingState*) third_party/blink/renderer/core/editing/commands/typing_command.cc:618:5
#17 blink::TypingCommand::DoApply(blink::EditingState*) third_party/blink/renderer/core/editing/commands/typing_command.cc:531:7
#18 blink::CompositeEditCommand::Apply() third_party/blink/renderer/core/editing/commands/composite_edit_command.cc:161:3
#19 blink::TypingCommand::InsertText(blink::Document&, WTF::String const&, blink::SelectionTemplate<blink::EditingAlgorithm<blink::NodeTraversal> > const&, unsigned int, blink::EditingState*, blink::TypingCommand::TextCompositionType, bool, blink::InputEvent::InputType) third_party/blink/renderer/core/editing/commands/typing_command.cc:425:3
#20 blink::TypingCommand::InsertText(blink::Document&, WTF::String const&, unsigned int, blink::TypingCommand::TextCompositionType, bool) third_party/blink/renderer/core/editing/commands/typing_command.cc:297:3
#21 blink::InsertCommands::ExecuteInsertText(blink::LocalFrame&, blink::Event*, blink::EditorCommandSource, WTF::String const&) third_party/blink/renderer/core/editing/commands/insert_commands.cc:194:3
#22 blink::EditorCommand::Execute(WTF::String const&, blink::Event*) const third_party/blink/renderer/core/editing/commands/editor_command.cc:1914:10
#23 blink::Document::execCommand(WTF::String const&, bool, WTF::String const&, blink::ExceptionState&) third_party/blink/renderer/core/editing/commands/document_exec_command.cc:97:25
#24 blink::V8Document::execCommandMethodCallback(v8::FunctionCallbackInfo<v8::Value> const&) gen/third_party/blink/renderer/bindings/core/v8/v8_document.cc:4165:23
#25 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) v8/src/api-arguments-inl.h:95:3
#26 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) v8/src/builtins/builtins-api.cc:110:36
#27 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) v8/src/builtins/builtins-api.cc:140:5
#28 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) v8/src/builtins/builtins-api.cc:128:1
Labels: Test-Predator-Wrong-CLs
Mergedinto: 862900
Status: Duplicate (was: Assigned)
Project Member

Comment 5 by ClusterFuzz, Jul 17

ClusterFuzz has detected this issue as fixed in range 575314:575315.

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

Fuzzer: ochang_domfuzzer
Job Type: linux_tsan_chrome_mp
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  iteration_state_ & kAllowingRemoval in lifecycle_notifier.h
  blink::DocumentMarkerController::DidUpdateCharacterData
  blink::SynchronousMutationNotifier::NotifyUpdateCharacterData
  
Sanitizer: thread (TSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_tsan_chrome_mp&range=574073:574076
Fixed: https://clusterfuzz.com/revisions?job=linux_tsan_chrome_mp&range=575314:575315

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

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.

Sign in to add a comment