Bug 174932 - Playing remote webrtc stream in video tag and using webaudio for the audio causes intermittent crashes and lockups
Summary: Playing remote webrtc stream in video tag and using webaudio for the audio ca...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 174933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-28 01:13 PDT by Andrew Morris
Modified: 2017-10-03 01:23 PDT (History)
6 users (show)

See Also:


Attachments
crash dump (120.01 KB, text/plain)
2017-07-28 01:13 PDT, Andrew Morris
no flags Details
crash dump high sierra (127.30 KB, text/plain)
2017-07-30 20:31 PDT, Andrew Morris
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 :-).