Status Update
Comments
bl...@chromium.org <bl...@chromium.org> #2
Thanks for the report! I'd like to try to repro locally. Instructions given are "To reproduce this, please build the target in this report and run it against the reproducer testcase." Do you know (a) what the "target in this report" is and (b) how to run it against the reproducer testcase?
bl...@chromium.org <bl...@chromium.org> #3
I'm going to hold off on reverting the CL at this point as I haven't seen any indications that this is happening in production and the CL is guarded by a killswitch that we could turn off at any point. I'm highly interested in running this locally to repro, but I haven't yet been able to find an answer to the question in
pa...@chromium.org <pa...@chromium.org> #4
Hi there! If you look at the ClusterFuzz report, you will see that there are two interesting lines at the very beggining: [Environment]
and [Command line]
. As you can see, the bug is happening on Mac, by running the Chromium
binary there. What you need to do is download the "Unminimized Testcase" and run it against that binary using the correct environment variables provided in the log and using all the same switches used in the [Command line]
part of the logs.
Please do not hesitate to directly reach out if you need any help on that :)
ma...@chromium.org <ma...@chromium.org> #5
You may also need to build using the args.gn provided towards the bottom of the page.
bl...@chromium.org <bl...@chromium.org> #6
Thanks, both! My only Mac environment to locally repro on is an M1 MBP. I built using the args.gn at the bottom of the page except that I removed target_cpu = "x64"
. I then ran with the specified command line with the addition of --disable-skia-graphite
as Skia's new Graphite backend is enabled by default on Mac-ARM but not on Mac-x64. Full repro command is below. With that repro command I get an
I then removed --use-gl=angle --use-angle=swiftshader
(since my MBP has a GPU in any case). With that modified command line I see content that I assume is the intended content of fuzz-00857.html. I don't see the error reported in the OP (or any error) after leaving it running for over a minute.
Is there anything else I can/should try or anything that I've misconfigured in my setup here? It's possible that it repros only on Mac-x64 or with Swiftshader or both - either of those would be surprising findings to me but there are lots of times that I get surprised in Chromium development :).
Repro command:
./out/mac_asan_release/Chromium.app/Contents/MacOS/Chromium --enable-logging=stderr --v=1 --disable-in-process-stack-traces --ignore-gpu-blacklist --allow-file-access-from-files --disable-gesture-requirement-for-media-playback --disable-click-to-play --disable-hang-monitor --dns-prefetch-disable --disable-default-apps --disable-component-update --safebrowsing-disable-auto-update --metrics-recording-only --disable-gpu-watchdog --disable-metrics --disable-popup-blocking --disable-prompt-on-repost --enable-experimental-extension-apis --enable-extension-apps --js-flags="--expose-gc --verify-heap" --new-window --no-default-browser-check --no-first-run --no-process-singleton-dialog --enable-shadow-dom --enable-media-stream --use-fake-device-for-media-stream --use-fake-ui-for-media-stream --disable-breakpad --use-gl=angle --use-angle=swiftshader --use-mock-keychain --enable-features=WebMachineLearningNeuralNetwork --disable-skia-graphite --user-data-dir=/tmp/bar ~/hibernation_handler_clusterfuzz/fuzz-00857.html
bl...@chromium.org <bl...@chromium.org> #7
Crash has now been observed
ap...@google.com <ap...@google.com> #8
Project: chromium/src
Branch: main
Author: Colin Blundell <
Link:
[Blink] Disable AdjustGetOrCreate2DCanvasProvider base::Feature
Expand for full commit details
[Blink] Disable AdjustGetOrCreate2DCanvasProvider base::Feature
Looks like it's causing crashes (see linked bugs).
Bug: 401192130, 399667096
Change-Id: I0dad92aa6d10fe27271e3c2817d019b5be33d8b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6330742
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428919}
Files:
- M
third_party/blink/renderer/core/html/canvas/html_canvas_element.cc
Hash: 3bf0a87fe92b86a9c1dbcb4b52c321476487fac0
Date: Thu Mar 06 07:46:24 2025
24...@project.gserviceaccount.com <24...@project.gserviceaccount.com> #9
If this is incorrect, please add the hotlistid:5433040 and re-open the issue.
bl...@chromium.org <bl...@chromium.org> #10
Paul/Mark:
Is there a way for me to run CLs through this fuzzing case on the bot? I can't identify what's causing the crash from code inspection and I can't repro using ASAN locally. Thanks!
ap...@google.com <ap...@google.com> #11
Project: chromium/src
Branch: refs/branch-heads/7049
Author: Colin Blundell <
Link:
[135][Blink] Disable AdjustGetOrCreate2DCanvasProvider base::Feature
Expand for full commit details
[135][Blink] Disable AdjustGetOrCreate2DCanvasProvider base::Feature
Looks like it's causing crashes (see linked bugs).
(cherry picked from commit 3bf0a87fe92b86a9c1dbcb4b52c321476487fac0)
Bug: 401192130, 399667096
Fixed: 401463216
Change-Id: I0dad92aa6d10fe27271e3c2817d019b5be33d8b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6330742
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1428919}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6330166
Cr-Commit-Position: refs/branch-heads/7049@{#206}
Cr-Branched-From: 2dab7846d0951a552bdc4f350dad497f986e6fed-refs/heads/main@{#1427262}
Files:
- M
third_party/blink/renderer/core/html/canvas/html_canvas_element.cc
Hash: b8755a48221453528ac69abb24f02f2be11fc8d1
Date: Fri Mar 07 08:09:56 2025
Description
Fuzzer: b0ring_webidl_fuzzer
Job Type: mac_asan_chrome
Platform Id: mac
Crash Type: Null-dereference READ
Crash Address: 0x000000000054
Crash State:
blink::CanvasHibernationHandler::InitiateHibernationIfNecessary
blink::CanvasRenderingContext2D::OnPageVisibilityChangeWhenPaintable
blink::CanvasRenderingContext2D::PageVisibilityChanged
Sanitizer: address (ASAN)
Regressed:
Reproducer Testcase:
Issue filed automatically.
To reproduce this, please build the target in this report and run it against the reproducer testcase. Please use the GN arguments provided at bottom of this report when building the binary.
If you have trouble reproducing, please also export the environment variables listed under "[Environment]" in the crash stacktrace.
If you have any feedback on reproducing test cases, let us know at