[Webkit-unassigned] [Bug 102356] New: leak: AudioContext objects are leaking.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 02:03:15 PST 2012


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

           Summary: leak: AudioContext objects are leaking.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: abarth at webkit.org, yurys at chromium.org, kbr at google.com,
                    crogers at google.com


According to spec an AudioContext will not be garbage collected. It will live until the document goes away.
It is not true at the moment. It keeps alive even after navigation.

As a result it is leaking 
- HRTFDatabase instance ~36mb;
- if it is an offline audio context then it also leaking offline render thread;
and other relatively small objects.

I found two different reasons for such leak:
1) AudioContext deletes OfflineDestinationNode only if it has been initialized.
2) at uninitialization stage it shuts down audio thread in Destination node but the thread is a part of nodes deletion process.

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