Deadlock while playing streaming video in a WebView.

Originator:michael.melanson
Number:rdar://16346346 Date Originated:17-Mar-2014
Status:Duplicate of 15755200 Resolved:
Product:OSX SDK Product Version:
Classification: Reproducible:
 
Summary:
While playing a live streamed video within a WebView, the application occasionally freezes (beachball) forever and must be killed.

Steps to Reproduce:
1. Run attached sample application (VideoPlaybackDeadlock.zip).
2. Wait ~10-60 minutes.

Expected Results:
The live video stream (NASA TV) should play indefinitely, reloading every 10 seconds.

Actual Results:
After a period of time, typically 10-60 minutes, the application will deadlock and hang. I have attached thread dumps / stacktraces showing the process state during two separate reproductions.

Version:
Reproduced on 27-inch Mid 2011 iMac running OS X 10.8, and a Mac Mini.

Notes:


Configuration:
It only appears to occur while streaming video. We have other setups where we load videos off the network or file system, where the video is buffered all at once, and this does not occur in those situations.

It appears that packet loss seems to have an effect. It may be my imagination, but using Network Link Conditioner (Wifi Lossy, with packets dropped increased to 2% down / 2% up) seems to aggravate it.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!