fillText function of HTML5 Canvas makes memory leak
Reported by
hjw0...@gmail.com,
Dec 16 2016
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Steps to reproduce the problem: 1. call fillText() with requestAnimationFrame ( sample file attached) 2. the page closed with memory problem message at chrome What is the expected behavior? texts are displayed without memory leak. What went wrong? the page closed with memory problem message Did this work before? N/A Chrome version: 55.0.2883.87 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 24.0 r0
,
Dec 16 2016
If hardware acceleration disabled, chrome memory status was stable with fillText function call.
,
Dec 19 2016
Unable to reproduce this issue on Windows-7 & 10 using chrome latest stable M55-55.0.2883.87. By opening the attached test case file testFillText.html observed no memory issues or crashes even the hardware acceleration is enabled. Reporter@ - Are you able to reproduce this issue consistently even in incognito mode? Could you please let us know what kind of error message is displayed while closing the page? If any crashes are observed for this issue please provide sample crash ID's from chrome://crashes for further investigation. Thanks!
,
Dec 19 2016
I reproduced this issue. It takes about 60 minutes from start to crash with memory problem messages. I attached 4 memory status images from start to crash. CrashID and chrome information images are attached, too. All files are zipped a file. Test System Information. OS: Windows 7 Enterprise Korean, Service Pack 1, 32bit CPU: Intel(R) Core(TM) i7-4770 CPU @3.40GHz Main Memory: 3.17GB
,
Dec 20 2016
chrome://gpu status related captured Image is attached.
,
Dec 20 2016
,
Dec 20 2016
I did a incognito mode test. The same result was reproduced. Captured images are attached as a zip file.
,
Dec 27 2016
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 3 2017
This appears to be a GPU rendering issue because it goes away with GPU disabled.
,
Jan 5 2017
As per comment #9 removing myself from owners list.
,
Jan 20 2017
Was unable to reproduce it on Win 10 using 55.0.2883.87. hjw0511@: COuld you please update the thread according to above comment #9.
,
Feb 21 2017
Preface. I just wanted to file a new bug report about the same problem - before I saw this issue. Steps to reproduce. 1. Make sure chrome uses GPU hardware acceleration 2. Call fillText() within requestAnimationFrame (refer to attached example) 3. Let the browser tab open/visual so the animation loop is really called for approx 60minutes Expected. Texts are displayed without memory increase What went wrong? Memory increases (refer to attached screenshots). Did this work before? n/a Additional Notes. On Edge/Firefox there is no memory leak. Please let me know if you need any further information. Thanks! Test environment. Chrome Version 56.0.2924.87 OS: Windows 7 Professional, 64bit PC: Intel(R) Core(TM) i5-4200M CPU @2.50
,
Feb 28 2017
Working on a new project, I've came across a similar issue mentioned here. To verify that my issue has the same cause, I've ran the sample uploaded in comment 12 and was able to reproduce it. My test environment is: Chrome version: 56.0.2924.87 Chromium Embedded version: 3.2785.1486.g8c4ba9f (Chromium 53.0.2785.116) OS: Windows 10 1607 (Build 14393.693) PC: Dell Precision T5810 CPU: Intel Xeon E5-1650 v3 GPU: NVidia Quadro K620 Chipset: Intel C612
,
Feb 28 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by tkent@chromium.org
, Dec 16 2016