Bug 1892887 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Initially reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069683:

It seems that the gmp code does not expect the executable to be called something other than `firefox`:

GMPChild::MakeCDMHostVerificationPaths (https://searchfox.org/mozilla-esr115/source/dom/media/gmp/GMPChild.cpp#424) calls AppendHostPath with /usr/lib/firefox-esr/firefox, but that file doesn't exist, so AppendHostPath fails, and we end up calling into VerifyCdmHost_0 (https://searchfox.org/mozilla-esr115/source/dom/media/gmp/GMPChild.cpp#422) with aNumFiles==2, which fails the assertion that it's equal to NumExpectedHostFiles (4).

Initially seen with Debian's "firefox-esr" package, where the binary is `/usr/lib/firefox-esr/firefox-esr`; Mike suggested I file this upstream since it could affect others like seamonkey.
Initially reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069683:

It seems that the gmp code does not expect the executable to be called something other than `firefox`:

[GMPChild::MakeCDMHostVerificationPaths](https://searchfox.org/mozilla-esr115/rev/d80a6646e597210be779f6cdbd8af0044e94312b/dom/media/gmp/GMPChild.cpp#424) calls AppendHostPath with /usr/lib/firefox-esr/firefox, but that file doesn't exist, so AppendHostPath fails, and we end up calling into [VerifyCdmHost_0](https://searchfox.org/mozilla-esr115/rev/d80a6646e597210be779f6cdbd8af0044e94312b/media/gmp-clearkey/0.1/gmp-clearkey.cpp#152) with aNumFiles==2, which fails the assertion that it's equal to NumExpectedHostFiles (4).

Initially seen with Debian's "firefox-esr" package, where the binary is `/usr/lib/firefox-esr/firefox-esr`; Mike suggested I file this upstream since it could affect others like seamonkey.

Back to Bug 1892887 Comment 0