Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822492 - www-client/firefox-94 stall when using webrtc
Summary: www-client/firefox-94 stall when using webrtc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://test.webrtc.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-08 22:28 UTC by Михаил
Modified: 2021-12-02 21:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Михаил 2021-11-08 22:28:53 UTC
firefox hangs if open webrtc site. Looks like firefox deadlock self silently.

Reproducible: Always

Steps to Reproduce:
1. Open page with webrtc. https://test.webrtc.org/
2. Allow microphone / camera
3. Press start button on page to use webrtc.
Actual Results:  
Firefox stall in 3-6 secs. Stop responding to input events and stop painting.

Expected Results:  
Handle input events and pass webrtc test.

Run browser in safe mode didn't fix.


After terminating by ctrl+c writes to console:
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.



emerge --info www-client/firefox
Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r7, 5.15.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-glibc2.33
KiB Mem:    16119784 total,   5870924 free
KiB Swap:   23068664 total,  23040760 free
Timestamp of repository gentoo: Mon, 08 Nov 2021 12:36:33 +0000
Head commit of repository gentoo: 5ac7cf39ee75e9d73998d3e7c9c31261b8ff6021

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.7_p1::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000
    sync-git-verify-commit-signature: yes

ml-local-overlay
    location: /usr/local/portage
    masters: gentoo

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fpic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fpic"
DISTDIR="/var/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe -fpic"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fpic"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="10bit 256-color X a52 aac accessibility acl acpi ads aio alsa alt-svc amd64 amr amrenc ap apng avif base bash-completion berkdb blink bluetooth bluray brotli bzip2 bzlib cairo caps cdb celt cgroups clang cleartype cli conntrack corefonts crt crypt cryptsetup css cue cups curl daemon dav1d dbus dcc_video declarative default-lld devil dga dirac distinct-l djvu dns-over-tls dri drm dtmf dv dvb dvd dvdr dvdread eap-tls egl elfutils enca encode epoll epub evdev exceptions exif faac faad farstream fbcon ffmpeg fftw firebird flac fontconfig frei0r ftp fts3 g3dvl gbm gles gles2 gmp gnome googledrive gost graphite gsm gui h224 h281 h323 haptic hardened harfbuzz hdri heif http http2 hwaccel icccm icecast iceweasel iconv icu idn ilbc importd inotify inspector introspection iproute2 ipv6 jabber java jpeg jpeg2k json jumbo-build kbd kde kdenlive kdexdeltas kdrive lame large-stack lcms leaps-timezone libcxx libdrm libglvnd libkms libtirpc lm-sensors localstorage lspclient lto lvm lyrics lz4 lzma lzo mad mdnsresponder-compat melt minizip mmap mmx mng mod modemmanager modern-top modplug mount mozdevelop mp3 mtp multilib multitarget musepack nat natspec ncurses netlink network networkmanager newnet nftables nightly nls nptl nptlonly nsplugin nss nvidia ogg openal opencl openexr opengl openmp openssl opus otf otr pam parallel-compiler pch pcre pcre16 pcre32 pic png policykit postgres postproc printsupport private-headers proprietary-codecs pulseaudio python qml qos qrcode qt5 quiche rav1e raw readline realtime redland rfc3779 rls rtmp ru-dv ru-i ru-k sbc schroedinger screencast scripttools sdl sdl2 seccomp secure-delete semantic-desktop sensors sieve sip sipim smp soap speex split-usr sqlite srtp sse sse2 sse3 ssl ssse3 staging static-pie svc svg svt-av1 system-bootstrap system-cairo system-cxx-headers system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-sqlite systemd taglib tdls text tftp theora threads threadsafe thunderbolt tiff tray truetype twolame type1 udev uncommon-eap-types unicode unicode3 unlock-notify urandom usb user-session uvm v4l v4l2 vaapi video vorbis vpx vtv vulcan vulkan wasm wav wayland webchannel webkit webp webui widgets win32codecs wma x264 x265 xattr xcb xephyr xfs xft xinerama xkb xml xmlrpc xmp xscreensaver xtables xulrunner xv xvfb xvid xxhash z3 zeroconf zic-slim zink zlib zram zrtp zstd" ABI_X86="64" ADA_TARGET="gnat_2019" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse4_1 sse4_2 sse3 ssse3 aes avx avx2 f16c" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="scripting-javascript wiki-publisher" LLVM_TARGETS="AMDGPU BPF NVPTX X86 AArch64 ARM Hexagon Lanai MSP430 Mips PowerPC Sparc SystemZ XCore RISCV WebAssembly ARC AVR" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="i965 intel iris nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-94.0::gentoo was built with the following:
USE="clang dbus geckodriver gmp-autoupdate hardened hwaccel lto openh264 pulseaudio screencast system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland wifi -debug -eme-free -jack -pgo (-selinux) -sndio" ABI_X86="(64)" L10N="ru -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW"
CFLAGS="-march=native -pipe -fpic"
CXXFLAGS="-march=native -pipe -fpic"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags"
Comment 1 Михаил 2021-11-09 13:19:41 UTC
Found workaround to avoid freeze.

set pref media.cubeb.sandbox to false.
Comment 2 Larry the Git Cow gentoo-dev 2021-11-09 20:53:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9940a9394e7a0311bb9d5987e0d442d7188c52

commit ef9940a9394e7a0311bb9d5987e0d442d7188c52
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-11-09 20:51:51 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-11-09 20:53:32 +0000

    www-client/firefox: fix runtime errors
    
    Closes: https://bugs.gentoo.org/822492
    Closes: https://bugs.gentoo.org/822138
    Bug: https://bugs.gentoo.org/821505
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest                        |  100 +-
 ...efox-94.0.1.ebuild => firefox-94.0.1-r1.ebuild} |    2 +-
 www-client/firefox/firefox-94.0.ebuild             | 1209 --------------------
 3 files changed, 2 insertions(+), 1309 deletions(-)
Comment 3 Chris Henhawke 2021-12-02 21:12:42 UTC
Hi, sorry for the bump, I seem to have this issue on www-client/firefox-91.3.0, the about:config fix is working here as well.  Cheers