Crash in CFPasteboardPromiseDataUsingBlock
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox64 | --- | unaffected |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | fixed |
People
(Reporter: marcia, Assigned: dminor)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
This bug was filed from the Socorro interface and is
report bp-a61fb8d4-1591-4b51-aa44-34bbf0190111.
Seen while reviewing nightly crash stats - 1 Mac crash so far in 20190110093854 with MOZ_CRASH(Unhandled exception) as the crash reason.
Top 10 frames of crashing thread:
0 XUL CrashReporter::TerminateHandler toolkit/crashreporter/nsExceptionHandler.cpp:1374
1 libc++abi.dylib std::__terminate
2 libc++abi.dylib __cxa_throw
3 libobjc.A.dylib objc_begin_catch
4 CoreFoundation CFPasteboardPromiseDataUsingBlock
5 CoreFoundation __CFStringDecodeByteStream3
6 XUL +[DeviceInfoIosObjC captureDeviceForIndex:] media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm:50
7 XUL +[DeviceInfoIosObjC deviceNameForIndex:] media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm:66
8 XUL webrtc::videocapturemodule::DeviceInfoIos::GetDeviceName media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info.mm:92
9 XUL mozilla::media::LambdaRunnable<mozilla::camera::CamerasParent::RecvGetCaptureDevice dom/media/systemservices/CamerasParent.cpp:632
=============================================================
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
This looks like a regression from the switchover to the newer OS X video capture code in Bug 1376873. The crashes on November 15th and December 10th with this signature appear to be same problem.
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
All the URLs for these crashes are youtube - one example is https://www.youtube.com/watch?v=GIZWi8JZ0dQ. The crashes appear to be all 10.13 users as well.
Comment 3•6 years ago
|
||
no recent crashes in 66
Assignee | ||
Comment 4•6 years ago
|
||
Looking at the code at [1] and [2], I don't see anything in this function or any of the functions in the stack that ensure that index is less than the number of capture devices. The older video capture library used to do checks like this [3].
Since we get the number of capture devices and then ask for the device name in separate calls over IPC [4], it's not impossible that the number of capture devices has changed between getting the number and asking for the name, maybe if a device were unplugged.
[1] https://searchfox.org/mozilla-central/rev/00f3836a87b844b5e4bc82f698c559b9966e4be2/media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm#51
[2] https://searchfox.org/mozilla-central/rev/00f3836a87b844b5e4bc82f698c559b9966e4be2/media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm#66
[3] https://hg.mozilla.org/mozilla-central/file/e1faf5fa77a6/media/webrtc/trunk/webrtc/modules/video_capture/mac/avfoundation/video_capture_avfoundation_info_objc.mm#l231
[4] https://searchfox.org/mozilla-central/rev/00f3836a87b844b5e4bc82f698c559b9966e4be2/dom/media/webrtc/MediaEngineWebRTC.cpp#84
Assignee | ||
Comment 5•6 years ago
|
||
Comment 7•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Description
•