Bug 294661
| Summary: | memory leaks in com.apple.WebKit.GPU | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
leaked stack is this one:
6 com.apple.WebCore 0x1b3bc9e5c WTF::BlockPtr<void (int, unsigned int, __CVBuffer*, CMTime, CMTime)> WTF::BlockPtr<void (int, unsigned int, __CVBuffer*, CMTime, CMTime)>::fromCallable<WebCore::WebCoreDecompressionSession::decodeSampleInternal(opaqueCMSampleBuffer*, bool)::$_2>(WebCore::WebCoreDecompressionSession::decodeSampleInternal(opaqueCMSampleBuffer*, bool)::$_2)::'lambda'(void*, int, unsigned int, CVBuffer*, CMTime, CMTime)::invoke(void*, int, unsigned int, __CVBuffer*, CMTime, CMTime) + 248
5 com.apple.CoreMedia 0x1991cbcac CMVideoFormatDescriptionCreateForImageBuffer + 848
4 com.apple.CoreMedia 0x1991a7e10 CMVideoFormatDescriptionCreate + 128
3 com.apple.CoreMedia 0x1991a8520 FigDerivedFormatDescriptionCreate + 740
2 com.apple.CoreFoundation 0x18cd429b0 _CFRuntimeCreateInstance + 880
1 libsystem_malloc.dylib 0x18cb136dc _malloc_zone_malloc + 64
0 libsystem_malloc.dylib 0x18cb2bc48 _malloc_zone_malloc_instrumented_or_legacy + 152
Which I think is this code: https://searchfox.org/wubkat/rev/9235b1a61373f4234edd48dd00c30a0fda85faba/Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm#229-230
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jean-Yves Avenard [:jya]
rdar://153503700
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/46891
EWS
Committed 296374@main (f04695c4dfda): <https://commits.webkit.org/296374@main>
Reviewed commits have been landed. Closing PR #46891 and removing active labels.