[Webkit-unassigned] [Bug 116145] Playing many sounds with HTML5 Audio makes WebKit unresponsive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 3 21:24:00 PST 2013


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





--- Comment #7 from Jer Noble <jer.noble at apple.com>  2013-11-03 21:22:46 PST ---
(In reply to comment #6)
> Created an attachment (id=215877)
 --> (https://bugs.webkit.org/attachment.cgi?id=215877&action=review) [details]
> HTML5 audio timing test page (loads hosted demo MP3)

Looks like we're spending a large amount of time asking whether we're paused:

    1855 Thread_1464288   DispatchQueue_1: com.apple.main-thread  (serial)
    + 1855 start  (in libdyld.dylib) + 1  [0x7fff8720d5fd]
    +   1855 ???  (in com.apple.WebKit.WebContent)  load address 0x10a94b000 + 0xba0  [0x10a94bba0]
    +     1855 xpc_main  (in libxpc.dylib) + 399  [0x7fff8c927b2e]
    +       1855 _xpc_main  (in XPCService) + 385  [0x7fff85befc0f]
    +         1855 NSApplicationMain  (in AppKit) + 940  [0x7fff8d60f803]
    +           1855 -[NSApplication run]  (in AppKit) + 553  [0x7fff8d6249cc]
    +             1855 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]  (in AppKit) + 122  [0x7fff8d6308db]
    +               1855 _DPSNextEvent  (in AppKit) + 1434  [0x7fff8d63128e]
    +                 1855 _BlockUntilNextEventMatchingListInModeWithFilter  (in HIToolbox) + 65  [0x7fff85e23abc]
    +                   1855 ReceiveNextEventCommon  (in HIToolbox) + 479  [0x7fff85e23cb7]
    +                     1855 RunCurrentEventLoopInMode  (in HIToolbox) + 226  [0x7fff85e23f0d]
    +                       1849 CFRunLoopRunSpecific  (in CoreFoundation) + 309  [0x7fff88803275]
    +                       ! 1563 __CFRunLoopRun  (in CoreFoundation) + 1525  [0x7fff88803aa5]
    +                       ! : 1563 __CFRunLoopDoTimers  (in CoreFoundation) + 298  [0x7fff888b976a]
    +                       ! :   1563 __CFRunLoopDoTimer  (in CoreFoundation) + 1151  [0x7fff8884825f]
    +                       ! :     1563 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__  (in CoreFoundation) + 20  [0x7fff88848724]
    +                       ! :       1559 WTF::dispatchFunctionsFromMainThread()  (in JavaScriptCore) + 308  [0x7fff8849d6d4]
    +                       ! :       | 1558 non-virtual thunk to WebCore::HTMLMediaElement::mediaPlayerRateChanged(WebCore::MediaPlayer*)  (in WebCore) + 94  [0x7fff8680c95e]
    +                       ! :       | + 1558 WebCore::HTMLMediaElement::updateDisableSleep()  (in WebCore) + 18  [0x7fff8680c992]
    +                       ! :       | +   1558 WebCore::HTMLMediaElement::shouldDisableSleep() const  (in WebCore) + 34  [0x7fff8680ca42]
    +                       ! :       | +     1558 WebCore::MediaPlayer::paused() const  (in WebCore) + 17  [0x7fff8670ef81]
    +                       ! :       | +       1558 WebCore::MediaPlayerPrivateAVFoundation::paused() const  (in WebCore) + 24  [0x7fff8680b6e8]
    +                       ! :       | +         1558 -[AVPlayer rate]  (in AVFoundation) + 120  [0x7fff8b5b508a]
    +                       ! :       | +           1558 -[AVPropertyStorage objectForKey:defaultObjectBlock:]  (in AVFoundation) + 79  [0x7fff8b5b0fa3]
    +                       ! :       | +             1558 __16-[AVPlayer rate]_block_invoke  (in AVFoundation) + 37  [0x7fff8b60c4d5]
    +                       ! :       | +               1558 -[AVPlayer _rate]  (in AVFoundation) + 70  [0x7fff8b5b50eb]
    +                       ! :       | +                 1558 playerasync_GetRate  (in MediaToolbox) + 123  [0x7fff89b855de]  FigPlayer_Async.c:2509
    +                       ! :       | +                   1558 playerasync_tryLockSynchronousCommand  (in MediaToolbox) + 83  [0x7fff89b850b7]  FigPlayer_Async.c:870
    +                       ! :       | +                     1558 _dispatch_semaphore_wait_slow  (in libdispatch.dylib) + 206  [0x7fff83033a15]
    +                       ! :       | +                       1558 semaphore_wait_trap  (in libsystem_kernel.dylib) + 10  [0x7fff889f7a56]

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