Crash in [@ mozilla::gmp::GMPChild::GetUTF8LibPath]
Categories
(Core :: Audio/Video: GMP, defect, P3)
Tracking
()
People
(Reporter: aosmond, Assigned: aosmond)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
Crash report: https://crash-stats.mozilla.org/report/index/b304089d-e157-4d77-b772-4288f0230420
MOZ_CRASH Reason: MOZ_CRASH(Failed to normalize plugin file)
Top 10 frames of crashing thread:
0 libxul.so mozilla::gmp::GMPChild::GetUTF8LibPath dom/media/gmp/GMPChild.cpp:278
1 libxul.so mozilla::gmp::GMPChild::RecvStartPlugin dom/media/gmp/GMPChild.cpp:496
2 libxul.so mozilla::gmp::PGMPChild::OnMessageReceived ipc/ipdl/PGMPChild.cpp:787
3 libxul.so mozilla::ipc::MessageChannel::DispatchSyncMessage ipc/glue/MessageChannel.cpp:1767
3 libxul.so mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:1723
4 libxul.so mozilla::ipc::MessageChannel::RunMessage ipc/glue/MessageChannel.cpp:1525
4 libxul.so mozilla::ipc::MessageChannel::MessageTask::Run ipc/glue/MessageChannel.cpp:1623
5 libxul.so MessageLoop::RunTask ipc/chromium/src/base/message_loop.cc:492
5 libxul.so MessageLoop::DeferOrRunPendingTask ipc/chromium/src/base/message_loop.cc:501
5 libxul.so MessageLoop::DoWork ipc/chromium/src/base/message_loop.cc:576
Assignee | ||
Comment 1•1 years ago
|
||
The recent crash reports provide the evidence that it is indeed the path normalization/resolving links that is failing in the plugin process. Windows specifically is hitting a permission denied failure case.
The solution is just to not do this in the plugin process. We already are supposed to be resolving links/normalizing the path passed into the plugin process, so there is no need to do it again. Our only option is to just trust the path since we aren't privileged enough to verify it anyways.
Assignee | ||
Comment 2•1 years ago
|
||
This patch makes the parent process fully normalize paths before
passing it to the GMP plugin process. Now the plugin process can
avoid trying to normalize itself and run into sandboxing issues.
This was causing one form of startup crashes for Widevine.
Comment 4•1 years ago
|
||
bugherder |
Comment 5•1 years ago
|
||
Backed out for causing build bustages at GMPProcessParent.cpp
Backout: https://hg.mozilla.org/mozilla-central/rev/a5a273e3b1fdbeb8890d8bdd48d56cdee6ddbcb3
Comment 7•1 years ago
|
||
bugherder |
Updated•1 years ago
|
Description
•