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

Issue 803075 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Mac
Pri: 2
Type: Bug

Blocking:
issue 563816



Sign in to add a comment

Crash when using OffscreenCanvas by multiple workers at the same time

Reported by yuri.mal...@gmail.com, Jan 17 2018

Issue description

Chrome 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).

 
Labels: Needs-Triage-M63
Cc: krajshree@chromium.org
Labels: Triaged-ET Needs-Feedback
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...!!
803075.webm
1.9 MB View Download
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))
offscreencanvas_crash.webm
2.8 MB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 18 2018

Labels: -Needs-Feedback
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
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!
Cc: sc00335...@techmahindra.com viswatej...@techmahindra.com
Components: Blink>Workers Blink>WebFonts
Labels: -Pri-3 hasbisect-per-revision RegressedIn-62 M-66 Target-65 FoundIn-66 Target-66 FoundIn-64 FoundIn-65 Target-63 FoundIn-63 Target-64 OS-Linux OS-Mac Pri-1
Owner: fs...@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 7 by falken@chromium.org, Jan 22 2018

Labels: -Pri-1 Pri-2
I don't think this is P1 if it requires enabling "Experimental canvas features" in chrome://flags to repro.

Comment 8 by fs...@chromium.org, May 24 2018

Status: Fixed (was: Assigned)
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