Crash when using OffscreenCanvas by multiple workers at the same time
Reported by
yuri.mal...@gmail.com,
Jan 17 2018
|
||||||
Issue descriptionChrome Version : 63.0.3239.132 URLs (if applicable) : https://jsfiddle.net/uv5wfuhd/4/ Other browsers tested: N/A (feature not supported) have tested this issue: Safari: N/A Firefox: N/A Edge: N/A What steps will reproduce the problem? (1) Open link https://jsfiddle.net/uv5wfuhd/4/ (2) Enter any number higher than 1 (or leave default 2) (3) Click "Run" What is the expected result? No crash What happens instead? Process crashed (in current case - iframe page) Looks like OffscreenCanvas crashes the process if it's being used by multiple web workers in specific way. It works fine under single worker, but consistently fails with 2+. Commenting different lines I figured out that the issue is reproduced when calling context.fillText or context.strokeText simultaneously (test code is based on calculations for word cloud visualization, so this may be not an exhaustive list of calls).
,
Jan 18 2018
Unable to reproduce the issue on Win-10, mac 10.12.6 and ubuntu 14.04 using chrome reported version #63.0.3239.132 and latest canary #65.0.3323.0. Attached a screen cast for reference. Following are the steps followed to reproduce the issue. ------------ (1) Opened link https://jsfiddle.net/uv5wfuhd/4/ (2) Entered a number higher than 1 (or leave default 2) (3) Clicked "Run" (4) Observed that there was no crash. reporter@ - Could you please check the issue on latest canary #65.0.3323.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not. Also please provide the reported OS in which the issue was observed. Thanks...!!
,
Jan 18 2018
Sorry, forgot to mention few things: 1) Need to enable "Experimental canvas features" in chrome://flags and relaunch chrome to enable "OffscreenCanvas". 2) After clicking "Run", the number below (initially 0) should change to entered number (which is how many workers successfully completed). I assume you've got an error about "OffscreenCanvas is not defined". Reproduced on latest canary as well (clean install, Version 65.0.3324.0 (Official Build) canary (64-bit))
,
Jan 18 2018
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 22 2018
Able to reproduce the issue on reported version 63.0.3239.132 and latest canary 66.0.3327.0 using Mac 10.12.6, Ubuntu 14.04 and Windows-10 hence providing Bisect Info Bisect Info: ================ Good build: 62.0.3173.0 Bad build: 62.0.3174.0 You are probably looking for a change made after 491025 (known good), but no later than 491026 (first known bad). https://chromium.googlesource.com/chromium/src/+log/e522754a2ca86a0efa814330c4e3e4f04dadb64a..77b3367ad5640838255d942a529ae48e6f67a389 Reviewed-on: https://chromium-review.googlesource.com/574644 @Fernando Serboncini: Please confirm the issue and help in re-assigning if it is not related to your change. Thanks!
,
Jan 22 2018
,
Jan 22 2018
I don't think this is P1 if it requires enabling "Experimental canvas features" in chrome://flags to repro.
,
May 24 2018
Donerino. :) It doesn't repro anymore on canary, but please let me know if there are other broken cases. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by krajshree@chromium.org
, Jan 17 2018