Bug 220448 - [macOS debug] Flaky crash under webrtc::internal::ReceiveStatisticsProxy::OnRenderedFrame
Summary: [macOS debug] Flaky crash under webrtc::internal::ReceiveStatisticsProxy::OnR...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-01-07 17:06 PST by Ryan Haddad
Modified: 2021-04-19 17:37 PDT (History)
3 users (show)

See Also:


Attachments
crash log (152.88 KB, text/plain)
2021-01-07 17:06 PST, Ryan Haddad
no flags Details
stderr (64.30 KB, text/plain)
2021-01-07 17:06 PST, Ryan Haddad
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2021-01-07 17:06:15 PST
Created attachment 417225 [details]
crash log

imported/w3c/web-platform-tests/webrtc/RTCRtpSender-encode-same-track-twice.https.html is a flaky crash on Big Sur and Catalina debug bots. The following is steen at the bottom of the stderr:

#
# Fatal error in: /Volumes/Data/slave/catalina-debug/build/Source/ThirdParty/libwebrtc/Source/webrtc/video/receive_statistics_proxy2.cc, line 909
# last system error: 316
# Check failed: frame_meta.width > 0 (0 vs. 0)
# #CRASHED - com.apple.WebKit.WebContent.Development (pid 90331)
LEAK: 3 WebProcessPool
LEAK: 2 WebPageProxy


Here is the crashing thread:

Thread 3 Crashed:: WebKitWebRTCSignaling
0   libsystem_kernel.dylib        	0x00007fff673fd33a __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff674b9e60 pthread_kill + 430
2   libsystem_c.dylib             	0x00007fff67384808 abort + 120
3   libwebrtc.dylib               	0x0000000274af9751 rtc::webrtc_checks_impl::FatalLog(char const*, int, char const*, rtc::webrtc_checks_impl::CheckArgType const*, ...) + 769
4   libwebrtc.dylib               	0x00000002752d73ff webrtc::internal::ReceiveStatisticsProxy::OnRenderedFrame(webrtc::internal::VideoFrameMetaData const&) + 1471
5   libwebrtc.dylib               	0x0000000275b06938 webrtc::internal::VideoReceiveStream2::OnFrame(webrtc::VideoFrame const&)::$_5::operator()() const + 744 (video_receive_stream2.cc:510)
6   libwebrtc.dylib               	0x0000000275b065ed webrtc::webrtc_new_closure_impl::SafetyClosureTask<webrtc::internal::VideoReceiveStream2::OnFrame(webrtc::VideoFrame const&)::$_5>::Run() + 77 (to_queued_task.h:51)
7   libwebrtc.dylib               	0x0000000275995b06 rtc::Thread::QueuedTaskHandler::OnMessage(rtc::Message*) + 230 (thread.cc:995)
8   libwebrtc.dylib               	0x0000000275993708 rtc::Thread::Dispatch(rtc::Message*) + 280 (thread.cc:685)
9   libwebrtc.dylib               	0x00000002759906ef rtc::Thread::ProcessMessages(int) + 383 (thread.cc:1093)
10  libwebrtc.dylib               	0x0000000275994e5a rtc::Thread::Run() + 26 (thread.cc:862)
11  libwebrtc.dylib               	0x00000002759949f8 rtc::Thread::PreRun(void*) + 88 (thread.cc:852)
12  libsystem_pthread.dylib       	0x00007fff674ba109 _pthread_start + 148
13  libsystem_pthread.dylib       	0x00007fff674b5b8b thread_start + 15


https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCRtpSender-encode-same-track-twice.https.html
Comment 1 Ryan Haddad 2021-01-07 17:06:37 PST
Created attachment 417226 [details]
stderr
Comment 2 Radar WebKit Bug Importer 2021-01-07 17:06:55 PST
<rdar://problem/72911072>
Comment 3 Ryan Haddad 2021-04-19 17:37:26 PDT
This doesn't appear to have happened recently.