[Webkit-unassigned] [Bug 134355] Serious canvas memory leak in iOS 7.1.1.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 27 15:12:23 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=134355


M. Hanselmann <web at hansmi.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |web at hansmi.ch




--- Comment #4 from M. Hanselmann <web at hansmi.ch>  2014-07-27 15:12:36 PST ---
Since my last update I did a few more tests using an iPhone 4 running iOS 7.1.2. Here's how to reproduce the issue without Cordova/PhoneGap:

- Put test case HTML on a webserver
- Put image with at least 800×800px as “test.png” on web server (not sure if the size is relevant)
- Create new iOS Single View Application project in Xcode
- Open iOS storyboard
- Add UIWebView element
- Add outlet for web view to ViewController.m
- Add the following code to -[ViewController viewDidLoad] (make sure to use the correct URL):
  [_webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://server:8080/"]]];
- Run program on iPhone and watch its memory usage using Instruments.app

When I look at the allocation summary, the IOAccelResource category keeps increasing at a rate of about 24 KB/sec (measured over 8 minutes after a warm-up period of half a minute). CGImageProvider and CGImage keep allocating memory, too.

Tests with more than one image did not, as far as I could tell, change the numbers in a significant way.

Interestingly this doesn't even seem to be the same issue that I see in my client's application. All I know is that something somewhere is leaking.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list