[Webkit-unassigned] [Bug 193016] New: Leak of CMSampleBuffer (752 bytes) in com.apple.WebKit.WebContent running WebKit layout tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 23 15:11:26 PST 2018


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

            Bug ID: 193016
           Summary: Leak of CMSampleBuffer (752 bytes) in
                    com.apple.WebKit.WebContent running WebKit layout
                    tests
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: andersca at apple.com, darin at apple.com,
                    dbates at webkit.org, mitz at webkit.org

Leak of CMSampleBuffer (752 bytes) in com.apple.WebKit.WebContent running WebKit layout tests.

$ ./Tools/Scripts/run-webkit-tests --no-build --debug --batch-size=1000 --child-processes=1 --verbose --leaks --no-retry --no-show-results imported/w3c/web-platform-tests/mediacapture-record/MediaRecorder-destroy-script-execution.html

NOTE: Requires changes to run-webkit-tests to support --leaks with WebKit2.

STACK OF 1 INSTANCE OF 'ROOT LEAK: <CMSampleBuffer>':
[thread 0x1096575c0]:
23  libdyld.dylib                      0x7fff6611008d start + 1
22  com.apple.WebKit.WebContent           0x100de77bb invocation function for block in WebKit::XPCServiceEventHandler(NSObject<OS_xpc_object>*) + 0  XPCServiceMain.mm:46
21  com.apple.WebKit.WebContent           0x100de7636 WebKit::XPCServiceMain(int, char const**) + 547  XPCServiceMain.mm:0
20  libxpc.dylib                       0x7fff663469e5 _xpc_copy_xpcservice_dictionary + 0
19  libxpc.dylib                       0x7fff66346ee6 _xpc_objc_main + 555
18  com.apple.Foundation               0x7fff3b21b28f -[NSRunLoop(NSRunLoop) run] + 76
17  com.apple.Foundation               0x7fff3b21b3ba -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
16  com.apple.CoreFoundation           0x7fff38e96be6 CFRunLoopRunSpecific + 467
15  com.apple.CoreFoundation           0x7fff38e976c4 __CFRunLoopRun + 2187
14  com.apple.CoreFoundation           0x7fff38eb611d __CFRunLoopDoTimers + 333
13  com.apple.CoreFoundation           0x7fff38eb65e8 __CFRunLoopDoTimer + 871
12  com.apple.CoreFoundation           0x7fff38eb6a35 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
11  com.apple.JavaScriptCore              0x10651ffcf WTF::timerFired(__CFRunLoopTimer*, void*) + 31  MainThreadCocoa.mm:110
10  com.apple.JavaScriptCore              0x10651f239 WTF::dispatchFunctionsFromMainThread() + 249  memory:2597
9   com.apple.WebCore                     0x102bf6c38 WTF::Function<void ()>::CallableWrapper<WebCore::CanvasCaptureMediaStreamTrack::Source::create(WebCore::HTMLCanvasElement&, std::optional<double>&&)::$_4>::call() + 88  utility:896
8   com.apple.WebCore                     0x10354819b WebCore::RealtimeMediaSource::videoSampleAvailable(WebCore::MediaSample&) + 59  memory:2285
7   com.apple.WebCore                     0x103547fc7 WebCore::RealtimeMediaSource::forEachObserver(WTF::Function<void (WebCore::RealtimeMediaSource::Observer&)> const&) const + 663  Atomics.h:247
6   com.apple.WebCore                     0x103544a66 WebCore::MediaStreamTrackPrivate::videoSampleAvailable(WebCore::MediaSample&) + 182  memory:2285
5   com.apple.WebCore                     0x1035443a7 WebCore::MediaStreamTrackPrivate::forEachObserver(WTF::Function<void (WebCore::MediaStreamTrackPrivate::Observer&)> const&) const + 663  Atomics.h:247
4   com.apple.WebCore                     0x1026813eb WebCore::MediaRecorderPrivateWriter::appendVideoSampleBuffer(opaqueCMSampleBuffer*) + 603  MediaRecorderPrivateWriterCocoa.mm:215
3   com.apple.CoreMedia                0x7fff3a01fb35 CMSampleBufferCreateCopyWithNewTiming + 296
2   com.apple.CoreMedia                0x7fff39fefb59 sBufCreate + 140
1   com.apple.CoreFoundation           0x7fff38e5fc70 _CFRuntimeCreateInstance + 271
0   libsystem_malloc.dylib             0x7fff662bd82b malloc_zone_malloc + 139 
====
    9 (752 bytes) ROOT LEAK: <CMSampleBuffer 0x7ffa39529f50> [432]
       4 (176 bytes) <CMFormatDescription 0x7ffa39522a90> [48]
          3 (128 bytes) <CFDictionary 0x7ffa39529820> [64]
             1 (32 bytes) <CFDictionary (Key Storage) 0x7ffa39525b90> [32]
             1 (32 bytes) <CFDictionary (Value Storage) 0x7ffa395250f0> [32]
       4 (144 bytes) <NSArray 0x7ffa3951efc0> [16]
          3 (128 bytes) __strong _object --> <CFDictionary 0x7ffa39520f30> [64]
             1 (32 bytes) <CFDictionary (Key Storage) 0x7ffa39520000> [32]
             1 (32 bytes) <CFDictionary (Value Storage) 0x7ffa3951cb40> [32]

-- 
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/20181223/e6683e2d/attachment-0001.html>


More information about the webkit-unassigned mailing list