[Webkit-unassigned] [Bug 56315] New: SPOD with stalled media element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 10:37:33 PDT 2011


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

           Summary: SPOD with stalled media element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: eric.carlson at apple.com


Created an attachment (id=85691)
 --> (https://bugs.webkit.org/attachment.cgi?id=85691&action=review)
[TEST] Manual Test - Not a complete hang, but should SPOD

Stalling a media element after the meta data causes hang like symptoms (spinner
of death) while the media element progress event timer frequently fires.
Attaching a test case that reproduced this for me.

* SAMPLE:

    8442 Thread_204115   DispatchQueue_1: com.apple.main-thread  (serial)
      8442 0x100009f84
        8442 NSApplicationMain
          8442 -[NSApplication run]
            8442 0x100016062
              8442 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                8442 _DPSNextEvent
                  8442 BlockUntilNextEventMatchingListInMode
                    8442 ReceiveNextEventCommon
                      8442 RunCurrentEventLoopInMode
                        8442 CFRunLoopRunSpecific
                          8442 __CFRunLoopRun
                            7262 WebCore::timerFired(__CFRunLoopTimer*, void*)
                              7258 WebCore::ThreadTimers::sharedTimerFiredInternal()
                                7257 WebCore::HTMLMediaElement::progressEventTimerFired(WebCore::Timer<WebCore::HTMLMediaElement>*)
                                  7257 WebCore::MediaPlayerPrivateQTKit::bytesLoaded() const
                                    6484 WebCore::MediaPlayerPrivateQTKit::duration() const
                                      6484 -[QTMovie duration]
                                        6484 -[QTMovie_QuickTime duration]
                                          6484 timeFromServerWithSelector
                                            6484 getQTTime
                                              6484 mach_msg
                                                6484 mach_msg_trap
                                    771 WebCore::MediaPlayerPrivateQTKit::totalBytes() const
                                      771 -[QTMovie attributeForKey:]
                                        771 QTMovieAttributesGetAttribute
                                          771 -[QTMovie_QuickTime dataSize]
                                            771 dataSize
                                              771 mach_msg
                                                771 mach_msg_trap

* STEPS TO REPRODUCE:

  1. cd webkit root
  2. Place in ./LayoutTests/http/tests/media/video-play-stall-after-meta-data.html
  3. Run ./Tools/Scripts/run-webkit-httpd
  4. Open 127.0.0.1:8000/media/video-play-stall-after-meta-data.html in Safari.

* NOTES:
• I don't know if we can write a reliable test case for this that DumpRenderTree will catch.
• The window.onload event doesn't fire, I am working on a separate bug to fix that.

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