New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 771113 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Direct-leak in blink::WebTaskRunner::PostCancellableTask

Project Member Reported by ClusterFuzz, Oct 3 2017

Issue description

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

Fuzzer: libFuzzer_renderer_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Direct-leak
Crash Address: 
Crash State:
  blink::WebTaskRunner::PostCancellableTask
  blink::Resource::AddClient
  blink::DocumentLoader::StartLoading
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan&range=504956:504991

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

Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.
 
Cc: msrchandra@chromium.org pnangunoori@chromium.org
Labels: M-63 Test-Predator-Correct
Owner: tzik@chromium.org
Status: Assigned (was: Untriaged)
Test Predator has given the following results:

Replace RefPtr<>::Get() with get() in core/{dom,frame,html}/ by tzik@chromium.org
Changelist touched lines near the crashed line in frame #5 blink::HTMLDocumentParser::HTMLDocumentParser(blink::Document&, blink::ParserContentPolicy, blink::ParserSynchronizationPolicy) (distance = 0 lines away)
Top touched frame is #3 blink::LocalDOMWindow::InstallNewDocument(in LocalDOMWindow.cpp)
Changed files History.cpp, HistoryTest.cpp, LocalDOMWindow.cpp, LocalFrameView.h, MHTMLTest.cpp, SuspendableScriptExecutor.cpp, WebFrameWidgetImpl.cpp, WebViewFrameWidget.cpp, with the same CrashedDirectory(third_party/WebKit/Source/core/frame) as WebLocalFrameImpl.cpp (in frame#9, frame#10), LocalDOMWindow.cpp (in frame#3, frame#6) Changed files HTMLDocumentParser.cpp, HTMLDocumentParser.h, HTMLTreeBuilder.cpp, with the same CrashedDirectory(third_party/WebKit/Source/core/html/parser) as TokenizedChunkQueue.h (in frame#4), HTMLDocumentParser.h (in frame#7), HTMLDocumentParser.cpp (in frame#5, frame#6), BackgroundHTMLParser.cpp (in frame#4), HTMLParserReentryPermit.cpp (in frame#4)
Touched files in stacktrace - HTMLDocumentParser.cpp, HTMLDocumentParser.h, LocalDOMWindow.cpp
Changed files History.cpp, HistoryTest.cpp, LocalDOMWindow.cpp, LocalFrameView.h, MHTMLTest.cpp, SuspendableScriptExecutor.cpp, WebFrameWidgetImpl.cpp, WebViewFrameWidget.cpp, ContentSecurityPolicy.cpp, ContentSecurityPolicyTest.cpp, with the same CrashedComponent(Blink>Internals) as WebLocalFrameImpl.cpp (in frame#9, frame#10), LocalDOMWindow.cpp (in frame#3, frame#6) Changed files HTMLDocumentParser.cpp, HTMLDocumentParser.h, HTMLTreeBuilder.cpp, with the same CrashedComponent(Blink>HTML>Parser) as TokenizedChunkQueue.h (in frame#4), HTMLDocumentParser.h (in frame#7), HTMLDocumentParser.cpp (in frame#5, frame#6), BackgroundHTMLParser.cpp (in frame#4), HTMLParserReentryPermit.cpp (in frame#4)

@tzik -- Could you please look into this issue, kindly reassign if it has nothing to do with your changes.

Thank You.

Project Member

Comment 2 by ClusterFuzz, Oct 3 2017

Components: Blink>Loader Platform
Labels: Test-Predator-AutoComponents
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 3 by ClusterFuzz, Oct 3 2017

ClusterFuzz has detected this issue as fixed in range 505602:505631.

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

Fuzzer: libFuzzer_renderer_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Direct-leak
Crash Address: 
Crash State:
  blink::WebTaskRunner::PostCancellableTask
  blink::Resource::AddClient
  blink::DocumentLoader::StartLoading
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan&range=504956:504991
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan&range=505602:505631

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

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md 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 4 by ClusterFuzz, Oct 3 2017

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

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Labels: -Test-Predator-AutoComponents Test-Predator-Auto-Components

Sign in to add a comment