Bug 169224 - ASSERTION FAILED: numberOfChannels == 2 in WebCore::RealtimeIncomingAudioSource::OnData
Summary: ASSERTION FAILED: numberOfChannels == 2 in WebCore::RealtimeIncomingAudioSour...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-03-06 15:14 PST by Ryan Haddad
Modified: 2017-03-06 16:09 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2017-03-06 15:29 PST, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-03-06 15:14:40 PST
ASSERTION FAILED: numberOfChannels == 2
/Volumes/Data/slave/sierra-debug/build/Source/WebCore/platform/mediastream/mac/RealtimeIncomingAudioSource.cpp(84) : virtual void WebCore::RealtimeIncomingAudioSource::OnData(const void *, int, int, size_t, size_t)
1   0x107693b8d WTFCrash
2   0x10cf2a9c5 WebCore::RealtimeIncomingAudioSource::OnData(void const*, int, int, unsigned long, unsigned long)
3   0x10cf2adab non-virtual thunk to WebCore::RealtimeIncomingAudioSource::OnData(void const*, int, int, unsigned long, unsigned long)
4   0x1049a2bba webrtc::RemoteAudioSource::OnData(webrtc::AudioSinkInterface::Data const&)
5   0x1049a361a webrtc::RemoteAudioSource::Sink::OnData(webrtc::AudioSinkInterface::Data const&)
6   0x104338fcc webrtc::voe::Channel::GetAudioFrameWithMuted(int, webrtc::AudioFrame*)
7   0x104339b9d webrtc::voe::Channel::GetAudioFrameWithInfo(int, webrtc::AudioFrame*)
8   0x1043549ec webrtc::voe::ChannelProxy::GetAudioFrameWithInfo(int, webrtc::AudioFrame*)
9   0x10428ae7a webrtc::internal::AudioReceiveStream::GetAudioFrameWithInfo(int, webrtc::AudioFrame*)
10  0x10428aeb2 non-virtual thunk to webrtc::internal::AudioReceiveStream::GetAudioFrameWithInfo(int, webrtc::AudioFrame*)
11  0x1041eb053 webrtc::AudioMixerImpl::GetAudioFromSources()
12  0x1041ea2f6 webrtc::AudioMixerImpl::Mix(unsigned long, webrtc::AudioFrame*)
13  0x1045f3539 webrtc::AudioTransportProxy::PullRenderData(int, int, unsigned long, unsigned long, void*, long long*, long long*)
14  0x10cad35ac WebCore::LibWebRTCAudioModule::PollFromSource()
15  0x10cad32f7 WebCore::LibWebRTCAudioModule::StartPlayoutOnAudioThread()
16  0x10cad32c8 WebCore::LibWebRTCAudioModule::OnMessage(rtc::Message*)
17  0x10cad339c non-virtual thunk to WebCore::LibWebRTCAudioModule::OnMessage(rtc::Message*)
18  0x104515f16 rtc::MessageQueue::Dispatch(rtc::Message*)
19  0x10492e20d rtc::Thread::ProcessMessages(int)
20  0x10492e12a rtc::Thread::Run()
21  0x10492de4e rtc::Thread::PreRun(void*)
22  0x7fffd5f67aab _pthread_body
23  0x7fffd5f679f7 _pthread_body
24  0x7fffd5f671fd thread_start

Seen with LayoutTest webrtc/audio-peer-connection-webaudio.html	

https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK2%20(Tests)/r213458%20(2455)/results.html
Comment 1 Ryan Haddad 2017-03-06 15:14:52 PST
<rdar://problem/30856811>
Comment 2 youenn fablet 2017-03-06 15:29:08 PST
Created attachment 303571 [details]
Patch
Comment 3 WebKit Commit Bot 2017-03-06 16:09:22 PST
Comment on attachment 303571 [details]
Patch

Clearing flags on attachment: 303571

Committed r213478: <http://trac.webkit.org/changeset/213478>
Comment 4 WebKit Commit Bot 2017-03-06 16:09:26 PST
All reviewed patches have been landed.  Closing bug.