[Webkit-unassigned] [Bug 91126] New: Rapidly setting image srcs with dataURL causes memory leak.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 12 11:31:01 PDT 2012


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

           Summary: Rapidly setting image srcs with dataURL causes memory
                    leak.
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: Unspecified
               URL: http://www.pdftron.com/pub/AppleSupport/imageloadtest/
                    imageloadtest.html
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: inincic at pdftron.com


Title: Rapidly setting image srcs with dataURL causes memory leak. 

Reproduced on: iPad 2 iOS 5.1
-------------------------------------------------

What steps will reproduce the problem?
-------------------------------------------------

1.    Load imageloadtest.html on an iPad2 iOS 5.1.

http://www.pdftron.com/pub/AppleSupport/imageloadtest.zip
http://www.pdftron.com/pub/AppleSupport/imageloadtest/imageloadtest.html


2.    Watch memory be consumed.


What is the expected result?
-------------------------------------------------
Every image should be loaded. Each image object’s data should be cleaned up after is goes out of scope. 

What happens instead?
-------------------------------------------------
All memory is used. Image data does not appear to be freed after it goes out scope. Browser crashes and a low memory crash log is produced.


Please provide any additional information below.
-------------------------------------------------

Crash Log:

Incident Identifier: DCA8260C-6F79-4A4D-9472-3ADEB13BC0A7
CrashReporter Key:   c6a9e35e2037c7a60d541d4a045116798662c6d4
Hardware Model:      iPad2,1
OS Version:          iPhone OS 5.1 (9B176)
Kernel Version:      Darwin Kernel Version 11.0.0: Wed Feb  1 23:17:34 PST 2012; root:xnu-1878.11.8~1/RELEASE_ARM_S5L8940X
Date:                2012-07-11 18:09:09 -0700
Time since snapshot: 148 ms

Free pages:        1098
Active pages:      3078
Inactive pages:    2051
Throttled pages:   103574
Purgeable pages:   0
Wired pages:       18607
Largest process:   MobileSafari

Processes
         Name                 UUID                    Count resident pages
         Manager <5ec47a20dbc16857c825a076c41785f7>    1861 (jettisoned)
         searchd <8cb1222ba5e83b64b4f7bc1bad5ab151>     316
        sandboxd <a4a51d8f20643075a08fac3308ae8386>     189
        installd <80eb08f81503324283159dfab6e5e29f>     317
    MobileSafari <01d9142cad993f1495d7d948b251ecab>   93211 (jettisoned)
            geod <976e1080853233b1856b13cbd81fdcc3>     162
    mediaserverd <2fb463599bb63562a7d81375204a56ec>     489
        networkd <10e39e61090b3c999ae580c8a2b862d0>     164
         notifyd <f6a9aa19d33c3962aad3a77571017958>     172
        BTServer <f3607d9648b93be69fbec2e2e7bb7c97>     375
CommCenterClassi <b923f5c5355d34cd9f2a01b8230515e3>     309
     SpringBoard <8a3476a1ccde31e9a779449383233fa8>    6015 (active)
      aggregated <a12fa71e6997362c83e0c23d8b4eb5b7>     406
            apsd <0f4cea84e4833057ab2816ca5d9e4b7b>     343
         configd <ee72b01d85c33a24b3548fa40fbe519c>     311
   fairplayd.K93 <517f3f0c86803f63a98b84c6cd7dda1a>     112
       fseventsd <914b28fa8f8a362fabcc47294380c81c>     212
            iapd <84e86122efe33ef7a9d874a8d86f07ef>     331
         imagent <a17aacef550b334496f644607a6bb12c>     317
       locationd <de6edddaae23368db41a2d1d3ced1503>     791
   mDNSResponder <86ccd4633a6c3c7caf44f51ce4aca96d>     213
    mediaremoted <327f00bfc10b3820b4a74b9666b0c758>     222
       lockdownd <0095f750159533739e1f21d40733b2cc>     270
          powerd <133b7397f5603cf8bef209d4172d6c39>     177
         syslogd <7153b590e0353520a19b74a14654eaaa>     163
           wifid <1e99f4977ee43d93ab83f5b4b4b3b95b>     325
  UserEventAgent <dc32e6824fd33bf189b266102751314f>     408
         launchd <5fec01c378a030a8bd23062689abb07f>     127

**End**



Misc
-------------------------------------------------
Are there any workarounds?

-- 
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