Bug 179995 - Safari 11 Crash in com.apple.WebKit.WebContent(void WebCore::DOMMapLike::set<WebCore::IDLDOMString, WebCore::IDLDictionary<WebCore::RTCStatsReport::CertificateStats> >(WebCore::IDLDOMString::ParameterType&&, WebCore::IDLDictionary<WebCore::RTCStatsReport)
Summary: Safari 11 Crash in com.apple.WebKit.WebContent(void WebCore::DOMMapLike::set<...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 11
Hardware: PC Unspecified
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-24 00:51 PST by xpeng
Modified: 2017-12-14 19:09 PST (History)
3 users (show)

See Also:


Attachments
Crashdump (107.02 KB, text/plain)
2017-11-24 00:51 PST, xpeng
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xpeng 2017-11-24 00:51:12 PST
Created attachment 327526 [details]
Crashdump

Safari 11 crashes when using webrtc.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x000000010a2ff95a void WebCore::DOMMapLike::set<WebCore::IDLDOMString, WebCore::IDLDictionary<WebCore::RTCStatsReport::CertificateStats> >(WebCore::IDLDOMString::ParameterType&&, WebCore::IDLDictionary<WebCore::RTCStatsReport::CertificateStats>::ParameterType&&) + 26
1   com.apple.WebCore             	0x000000010a2fd364 WTF::Function<void ()>::CallableWrapper<WebCore::LibWebRTCMediaEndpoint::StatsCollector::OnStatsDelivered(rtc::scoped_refptr<webrtc::RTCStatsReport const> const&)::$_1>::call() + 5780
2   com.apple.JavaScriptCore      	0x000000010be4ac68 WTF::dispatchFunctionsFromMainThread() + 216
3   com.apple.Foundation          	0x00007fff9487e52a __NSThreadPerformPerform + 326
4   com.apple.CoreFoundation      	0x00007fff92e3c321 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
5   com.apple.CoreFoundation      	0x00007fff92e1d21d __CFRunLoopDoSources0 + 557
6   com.apple.CoreFoundation      	0x00007fff92e1c716 __CFRunLoopRun + 934
7   com.apple.CoreFoundation      	0x00007fff92e1c114 CFRunLoopRunSpecific + 420
8   com.apple.HIToolbox           	0x00007fff9237cebc RunCurrentEventLoopInMode + 240
9   com.apple.HIToolbox           	0x00007fff9237ccf1 ReceiveNextEventCommon + 432
10  com.apple.HIToolbox           	0x00007fff9237cb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
11  com.apple.AppKit              	0x00007fff90915a54 _DPSNextEvent + 1120
12  com.apple.AppKit              	0x00007fff910917ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
13  com.apple.AppKit              	0x00007fff9090a3db -[NSApplication run] + 926
14  com.apple.AppKit              	0x00007fff908d4e0e NSApplicationMain + 1237
15  libxpc.dylib                  	0x00007fffa87fd8c7 _xpc_objc_main + 775
16  libxpc.dylib                  	0x00007fffa87fc2e4 xpc_main + 494
17  com.apple.WebKit.WebContent   	0x0000000108abe695 0x108abd000 + 5781
18  libdyld.dylib                 	0x00007fffa85a4235 start + 1
Comment 1 youenn fablet 2017-11-27 07:48:50 PST
Thanks xpeng,do you know a way to reproduce this crash?
Comment 2 xpeng 2017-12-14 18:38:25 PST
join a webrtc video meeting. 
there is no demo now.
Comment 3 xpeng 2017-12-14 18:43:16 PST
There are lots of crashes(crash in different place) when using webrtc in safari 11. I added sysdiagnose and  reported them to Apple. but no response from them.
Comment 4 youenn fablet 2017-12-14 19:05:52 PST
xpeng, can you retry with latest Safari Technology Preview?
If it does still happen, would you be able to detail how to reproduce the crash.
Can you share a link to the web site you were using when experiencing the crash?
Comment 5 youenn fablet 2017-12-14 19:09:03 PST
(In reply to youenn fablet from comment #4)
> xpeng, can you retry with latest Safari Technology Preview?

The issue might already have been resolved in bugs such as https://bugs.webkit.org/show_bug.cgi?id=180045
Some of the fixes might be in STP45 but the one I mention will probably make it in the next release.