Content in canvas randomly disappears
Reported by
andre.mi...@gmail.com,
Feb 26 2018
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 Example URL: https://next.audiotool.com Steps to reproduce the problem: This only occurs on Windows machines. Visit https://next.audiotool.com (credentials are located in private bug id=708154) The desktop and timeline will show no drawn pixels (black). It can happen immediately after opening the application or when adding the first device. The cables between the devices are svgs (faster than curves in canvas). So if you open already advanced tracks with connections between devices you will see cables but no devices. The devices are still operable, if you are familiar with them. This only happens, if you find a machine that let you reproduce the issue. However it is a thing that affects a lot of our users. Here an example screenshot from one of our users: https://i.imgur.com/VJhD5Qb.png What is the expected behavior? The drawn content should be drawn. If the GPU cannot handle the textures we use (main texture-map is 64mb large), we should get an error message rather then failing silently. What went wrong? We do not know since we develop on Mac and Linux. Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? N/A Chrome version: 64.0.3282.186 Channel: stable OS Version: OS X 10.13.0 Flash Version: Shockwave Flash 28.0 r0 This is actually going on for a long time but neither did we find a pattern other than they are all windows machines nor did we find something wrong on our side. Linux and Mac never show those issues. Here are several bug-reports from our users: https://www.audiotool.com/board/bug_reports-b5kxKt/items_on_desktop_and https://www.audiotool.com/board/bug_reports-b5kxKt/devices_in_work_area_are https://www.audiotool.com/board/bug_reports-b5kxKt/browser_window_goes There are more but people lost interest in reporting back with new information.
,
Feb 26 2018
,
Feb 28 2018
Unable to open the private bug to get the sample credentials hence tried issue by signing up. Unable to reproduce this issue on reported version 64.0.3282.186 using Windows 10 with steps mentioned above. Logged into audiotool and observed icons. Attaching video for reference. @Reporter: Could you please check the video and let us know if we miss anything. Also check the issue on fresh profile which do not have any apps/extensions. If possible please guide us with a video on reproducing the issue. This would help in further triaging of the issue. Thanks!
,
Feb 28 2018
It is not that easy, I am afraid. We cannot reproduce the issue but there are plenty of reports in our bug-base so it is a thing. Why do you need a video? The screenshot provided by one of our users shows that the devices are missing (https://i.imgur.com/VJhD5Qb.png). The devices are drawn on a canvas. The textures are coming from a big png (64mb) and there are more canvasses created for more elements. I understand that this is a complex situation and I am happy to contribute anything you need to solve this. I guess there is no way around testing it with different machines. I can ask if anybody from our user base can contact you, if this helps. Just to point out: I am on a Mac, my colleague on Linux and this issue never occurred. Most people do not have this issue, so we are quite sure that this is not on us.
,
Feb 28 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 12 2018
andre.michelle@ Thanks for the feedback. As per comment #4, adding TE-NeedsTriageHelp and requesting someone from Blink>Canvas team to look into this issue and help in further triaigng. Thanks..
,
Mar 19 2018
We need more actionable data to be able to fix this. I tried out the app and was unable to repro. Regarding the 64mb image, what are its dimensions in pixels? It would be useful if you could find a user who can collaborate in the investigation. Get them to copy/paste the contents of their chrome://gpu page into a text file and attach it to this bug. They should capture the "chrome://gpu" page immediately after after having experience the bug, in the same browser session. That way we'll see a log of gpu-related errors. Also, I took a HeapSnapshot in the dev tools, and I noticed there is a very large number of <canvas> elements, 91 to be exact. Are these all necessary? Canvases that are not actively used still consume large amounts of memory (for their pixel buffers). The rendering errors could be caused by low memory conditions. If that is the case, it might be worth avoiding using so many canvases, or at least resizing them to 0 when they are not being used.
,
Mar 19 2018
,
Mar 20 2018
When I got to work this morning, the audiotool tab that I had left open overnight had crashed with an out of memory error. Crash report ID: 269efa1c5a9737d9 It seems there is a memory leak. The tab's process running low on RAM can explain why canvases are going blank, but it is not yet clear what type of resource is being leaked, only that it is something allocated via PartitionAlloc.
,
Apr 27 2018
From the reports of our users, they have this effect immediately. There might be a memory leak, but it should not show this effect that early.
,
Apr 27 2018
This happens specifically on low to mid-range PCs. To reproduce this, you will need a laptop with about 4gb of RAM, a "average" processor, and integrated graphics. Here is a screenshot:
,
Jul 25
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by rsesek@chromium.org
, Feb 26 2018Labels: -OS-Mac OS-Windows