Bug 206760

Summary: REGRESSION: (r254815) [ iOS ]webrtc/peerconnection-page-cache.html is flaky crashing
Product: WebKit Reporter: Jacob Uphoff <jacob_uphoff>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
crash log none

Description Jacob Uphoff 2020-01-24 10:46:45 PST
Created attachment 388707 [details]
crash log

webrtc/peerconnection-page-cache.html is flaky crashing on iOS, this started around commit 254815 
I did not try to reproduce the crash

History:


Crash:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [10613]

VM Regions Near 0xbbadbeef:
--> 
    __TEXT                 0000000103309000-000000010330a000 [    4K] r-x/r-x SM=COW  /Volumes/VOLUME/*/*.Development

Application Specific Information:
CoreSimulator 681.12 - Device: Managed 5 (ADBD6AD0-DAF8-47F2-B910-340A892F3B52) - Runtime: iOS 13.1 (17A844) - DeviceType: iPhone SE
CRASHING TEST: webrtc/peerconnection-page-cache.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x00000004aebb2c0e WTFCrash + 14 (Assertions.cpp:305)
1   com.apple.WebCore             	0x00000004b38cfe5b WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebCore             	0x00000004b6d2437f WebCore::PlatformMediaSessionManager::setCurrentSession(WebCore::PlatformMediaSession&) + 303 (PlatformMediaSessionManager.cpp:282)
3   com.apple.WebCore             	0x00000004b6d23e9b WebCore::PlatformMediaSessionManager::sessionWillBeginPlayback(WebCore::PlatformMediaSession&) + 59 (PlatformMediaSessionManager.cpp:202)
4   com.apple.WebCore             	0x00000004b4d15ee7 WebCore::MediaSessionManagerCocoa::sessionWillBeginPlayback(WebCore::PlatformMediaSession&) + 39 (MediaSessionManagerCocoa.mm:146)
5   com.apple.WebCore             	0x00000004b6d22216 WebCore::PlatformMediaSession::clientWillBeginPlayback() + 182 (PlatformMediaSession.cpp:217)
6   com.apple.WebCore             	0x00000004b634f74f WebCore::MediaElementSession::clientWillBeginPlayback() + 31 (MediaElementSession.cpp:150)
7   com.apple.WebCore             	0x00000004b622f3ce WebCore::HTMLMediaElement::updatePlayState() + 638 (HTMLMediaElement.cpp:5387)
8   com.apple.WebCore             	0x00000004b628016c WebCore::HTMLMediaElement::scheduleUpdatePlayState()::$_32::operator()() const + 108 (HTMLMediaElement.cpp:5347)
9   com.apple.WebCore             	0x00000004b62800d9 WTF::Detail::CallableWrapper<WebCore::HTMLMediaElement::scheduleUpdatePlayState()::$_32, void>::call() + 25 (Function.h:52)
10  com.apple.WebCore             	0x00000004b38e3faa WTF::Function<void ()>::operator()() const + 138 (Function.h:84)
11  com.apple.WebCore             	0x00000004b627f746 WebCore::DeferrableTask<WebCore::HTMLMediaElement>::scheduleTask(WTF::Function<void ()>&&)::'lambda'()::operator()() const + 166 (DeferrableTask.h:61)
12  com.apple.WebCore             	0x00000004b627f599 WTF::Detail::CallableWrapper<WebCore::DeferrableTask<WebCore::HTMLMediaElement>::scheduleTask(WTF::Function<void ()>&&)::'lambda'(), void>::call() + 25 (Function.h:52)
13  com.apple.WebCore             	0x00000004b38e3faa WTF::Function<void ()>::operator()() const + 138 (Function.h:84)
14  com.apple.WebCore             	0x00000004b5e06f89 WebCore::EventLoopFunctionDispatchTask::execute() + 25 (EventLoop.cpp:134)
15  com.apple.WebCore             	0x00000004b5e036ea WebCore::EventLoop::run() + 378 (EventLoop.cpp:99)
16  com.apple.WebCore             	0x00000004b5f85321 decltype(*(std::__1::forward<WebCore::WindowEventLoop*&>(fp0)).*fp()) std::__1::__invoke<void (WebCore::EventLoop::*&)(), WebCore::WindowEventLoop*&, void>(void (WebCore::EventLoop::*&)(), WebCore::WindowEventLoop*&) + 113 (type_traits:4302)
17  com.apple.WebCore             	0x00000004b5f85280 std::__1::__bind_return<void (WebCore::EventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<>, __is_valid_bind_return<void (WebCore::EventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (WebCore::EventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, 0ul, std::__1::tuple<> >(void (WebCore::EventLoop::*&)(), std::__1::tuple<WebCore::WindowEventLoop*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) + 64 (functional:2644)
18  com.apple.WebCore             	0x00000004b5f8522c std::__1::__bind_return<void (WebCore::EventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<>, __is_valid_bind_return<void (WebCore::EventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (WebCore::EventLoop::*&)(), WebCore::WindowEventLoop*>::operator()<>() + 60 (functional:2677)
19  com.apple.WebCore             	0x00000004b5f851c9 WTF::Detail::CallableWrapper<std::__1::__bind<void (WebCore::EventLoop::*&)(), WebCore::WindowEventLoop*>, void>::call() + 25 (Function.h:52)
20  com.apple.WebCore             	0x00000004b38e3faa WTF::Function<void ()>::operator()() const + 138 (Function.h:84)
21  com.apple.WebCore             	0x00000004b399dd49 WebCore::Timer::fired() + 25 (Timer.h:127)
22  com.apple.WebCore             	0x00000004b6cee62a WebCore::ThreadTimers::sharedTimerFiredInternal() + 650 (ThreadTimers.cpp:129)
23  com.apple.WebCore             	0x00000004b6cf7211 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const + 33 (ThreadTimers.cpp:69)
24  com.apple.WebCore             	0x00000004b6cf71c9 WTF::Detail::CallableWrapper<WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0, void>::call() + 25 (Function.h:52)
25  com.apple.WebCore             	0x00000004b38e3faa WTF::Function<void ()>::operator()() const + 138 (Function.h:84)
26  com.apple.WebCore             	0x00000004b6caf2a7 WebCore::MainThreadSharedTimer::fired() + 135 (MainThreadSharedTimer.cpp:84)
27  com.apple.WebCore             	0x00000004b6d556a6 WebCore::timerFired(__CFRunLoopTimer*, void*) + 38 (MainThreadSharedTimerCF.cpp:75)
28  com.apple.CoreFoundation      	0x00007fff23b0d994 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
29  com.apple.CoreFoundation      	0x00007fff23b0d682 __CFRunLoopDoTimer + 1026
30  com.apple.CoreFoundation      	0x00007fff23b0ccda __CFRunLoopDoTimers + 266
31  com.apple.CoreFoundation      	0x00007fff23b07a4e __CFRunLoopRun + 2238
32  com.apple.CoreFoundation      	0x00007fff23b06e66 CFRunLoopRunSpecific + 438
33  com.apple.Foundation          	0x00007fff2569694f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
34  com.apple.Foundation          	0x00007fff25696b67 -[NSRunLoop(NSRunLoop) run] + 76
35  libxpc.dylib                  	0x00007fff519154e6 _xpc_objc_main + 297
36  libxpc.dylib                  	0x00007fff51917b87 xpc_main + 132
37  com.apple.WebKit              	0x00000004a07dca19 WebKit::XPCServiceMain(int, char const**) + 841 (XPCServiceMain.mm:160)
38  com.apple.WebKit              	0x00000004a19805bb WKXPCServiceMain + 27 (WKMain.mm:33)
39  com.apple.WebKit.WebContent   	0x0000000103309d72 main + 34 (AuxiliaryProcessMain.cpp:30)
40  libdyld.dylib                 	0x00007fff516ecd29 start + 1
Comment 1 Radar WebKit Bug Importer 2020-01-24 10:47:07 PST
<rdar://problem/58873102>
Comment 2 Alexey Proskuryakov 2020-01-27 23:05:38 PST

*** This bug has been marked as a duplicate of bug 206661 ***