[Webkit-unassigned] [Bug 198346] New: IndexedDatabase Server thread in com.apple.WebKit.Networking process leaks objects into an autoreleasePool that's never cleared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 29 12:59:49 PDT 2019


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

            Bug ID: 198346
           Summary: IndexedDatabase Server thread in
                    com.apple.WebKit.Networking process leaks objects into
                    an autoreleasePool that's never cleared
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: beidson at apple.com, cdumez at apple.com,
                    sihui_liu at apple.com, simon.fraser at apple.com

IndexedDatabase Server thread in com.apple.WebKit.Networking process leaks objects into an autoreleasePool that's never cleared.

Running a bunch of IndexedDB tests on a single process shows how these objects build up:

$ ./Tools/Scripts/run-webkit-tests --no-build --release --batch-size=1500 --child-processes=1 --leaks --no-retry --no-sample --time-out-ms=60000 --no-show-results LayoutTests/inspector/indexeddb LayoutTests/storage/indexeddb LayoutTests/http/tests/IndexedDB LayoutTests/imported/blink/storage/indexeddb LayoutTests/imported/w3c/IndexedDB-private-browsing LayoutTests/imported/w3c/web-platform-tests/IndexedDB

$ leaks -auto com.apple.WebKit.Networking.Development-58655-UNFIXED.memgraph | less
[…]
Thread 5  Thread_17325843: IndexedDatabase Server
    <@autoreleasepool content 0x7face9815000> [4096]
        0:  <CFString 0x7face8710870> [192]
        1:  <NSPathStore2 0x7face87188f0> [368]
        2:  2 (304 bytes) <NSURL 0x7face871ae10> [96]
               1 (208 bytes) _clients --> <CFString 0x7face87030b0> [208]
        3:  <NSMutableArray 0x7face8717f40> [48]
        4:  <NSArray 0x7face8715ac0> [16]
[…]
        9595:  <NSMutableArray 0x7face865e0f0> [48]
        9596:  <NSArray 0x7face865c9d0> [16]

Thread 6  Thread_17325989: IndexedDatabase Server
    no autorelease pool
[…]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190529/1c9f621f/attachment.html>


More information about the webkit-unassigned mailing list