Tim van der Molen (2019-11-10 12:58 +0100): > Landry Breuil (2019-11-08 23:48 +0100): > > https://packages.rhaalovely.net/ has amd64 pkgs for 71.0b8 built from > > this branch, and i'm running it now. This needs more testing from anyone > > actually using firefox in weird environments so that we figure out more > > missing paths. > > Firefox doesn't play audio unless I add "/usr/lib r" to unveil.content. > I can reproduce this with an empty homedir and an audio-only .ogg file > in /tmp. > > Firefox writes this to stderr: > > [Child 99779, MediaDecoderStateMachine #1] WARNING: 17d3e855100 Can't get > cubeb context!: file > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/dom/media/AudioStream.cpp, > line 281 > [Child 99779, MediaDecoderStateMachine #1] WARNING: Decoder=17d3db0c800 > [OnMediaSinkAudioError]: file > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/dom/media/MediaDecoderStateMachine.cpp, > line 3639 > [Child 99779, MediaDecoderStateMachine #1] WARNING: Decoder=17d3db0c800 > Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - > OnMediaSinkAudioError: file > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/dom/media/MediaDecoderStateMachine.cpp, > line 3308 > [Parent 6521, Gecko_IOThread] WARNING: pipe error: Broken pipe: file > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, > line 728 > > ktrace -di shows this: >
I missed this line: 99779 firefox CALL open(0x17e0b204289,0x10000<O_RDONLY|O_CLOEXEC>) > 99779 firefox NAMI "/usr/lib/libsndio.so.7.0" > 99779 firefox RET open -1 errno 2 No such file or directory By the way, I also noticed this: 99779 firefox CALL open(0x17ddbbba1e0,0x30000<O_RDONLY|O_CLOEXEC|O_DIRECTORY>) 99779 firefox NAMI "/usr/local/lib/firefox" 99779 firefox RET open -1 errno 2 No such file or directory unveil.gpu and unveil.main have a line for that dir, but unveil.content does not.
