Bug 174932

Summary: Playing remote webrtc stream in video tag and using webaudio for the audio causes intermittent crashes and lockups
Product: WebKit Reporter: Andrew Morris <andrew>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andj2223, jer.noble, jonlee, msander, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
crash dump
none
crash dump high sierra none

Description Andrew Morris 2017-07-28 01:13:29 PDT
Created attachment 316625 [details]
crash dump

https://output.jsbin.com/zulabic

Click start, call.

Expected: See two video tags with local and remote copies of webcam playing, and plays audio.

Actual: Crashes / locks up 50%+ of the time. Also generally plays buzzing noise instead of correct audio when it does come through.
Comment 1 Alexey Proskuryakov 2017-07-29 11:45:51 PDT
Thread 21 Crashed:: com.apple.audio.IOThread.client
0   com.apple.WebCore             	0x000000010f325659 WebCore::AudioChannel::sumFrom(WebCore::AudioChannel const*) + 9
1   com.apple.WebCore             	0x000000010f323ccb WebCore::AudioBus::speakersSumFrom(WebCore::AudioBus const&) + 59
2   com.apple.WebCore             	0x000000010f32f60b WebCore::AudioNodeInput::pull(WebCore::AudioBus*, unsigned long) + 139
...
Comment 2 Radar WebKit Bug Importer 2017-07-29 11:46:19 PDT
<rdar://problem/33608835>
Comment 3 Alexey Proskuryakov 2017-07-29 11:46:43 PDT
*** Bug 174933 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Morris 2017-07-30 20:31:34 PDT
Created attachment 316755 [details]
crash dump high sierra
Comment 5 Andrew Morris 2017-07-30 20:31:57 PDT
@Jon Lee I reproduced this on High Sierra. New crash dump attached.
Comment 6 youenn fablet 2017-09-29 10:54:37 PDT
It might have been fixed by http://trac.webkit.org/changeset/219737.
Andrew, do you see any such crash?
If not, can we close this bug?
Comment 7 Andrew Morris 2017-10-02 17:28:55 PDT
@youenn Yep can't reproduce this anymore :-).