Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558150 - =www-client/firefox-40.0.2 random crashes
Summary: =www-client/firefox-40.0.2 random crashes
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 2 votes (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
: 563426 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-19 11:46 UTC by Adrien D
Modified: 2017-08-26 18:08 UTC (History)
49 users (show)

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


Attachments
Version of firefox and USE used (firefox-version.txt,1.43 KB, text/plain)
2015-08-19 12:11 UTC, Adrien D
Details
emerge --info --verbose (emerge_info_v.txt,18.02 KB, text/plain)
2015-09-04 08:15 UTC, abandoned account disabled email
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien D 2015-08-19 11:46:40 UTC
Hi all,

Since i updated Firefox to 40.0.2, Firefox often crash.
It's difficult to reproduce the problem because it's random.

I tried to launch Firefox from console and there are no explicit error at crash. Just "Erreur de segmentation".

I tried to remove flash-plugin but firefox crash without this plug-in. 
I tried to create a new profile, but firefox crash too.

Examples of crash :
- When i close a tab
- When i go on twitter
- When i scroll on http://www.wsopen.com/

But i can't reproduce because it happened only once.

I don't know how can i help you to fix this bug but i report it.

For information, I don't have this bug on my professional PC on Windows7, so I think that is a problem with firefox on Gentoo. 

Some infos : http://pastebin.calculate-linux.org/en/show/11197

Thanks

Reproducible: Couldn't Reproduce
Comment 1 Adrien D 2015-08-19 12:11:45 UTC
Created attachment 409432 [details]
Version of firefox and USE used
Comment 2 Adrien D 2015-08-19 16:21:09 UTC
emerge --info www-client/firefox
Portage 2.2.20.1 (python 2.7.9-final-0, !../../var/lib/layman/distros/profiles/CLD/amd64, gcc-4.8.4, glibc-2.20-r2, 4.1.5-calculate x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.5-calculate-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-14.16.2
KiB Mem:     8053916 total,   5743340 free
KiB Swap:    8384808 total,   8384808 free
Timestamp of repository gentoo: Tue, 18 Aug 2015 13:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://git.calculate.ru/calculate/portage.git
    priority: -1000

distros
    location: /var/lib/layman/distros
    masters: calculate gentoo
    priority: 0

calculate
    location: /var/lib/layman/calculate
    masters: gentoo
    priority: 1

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 2

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 3

Installed sets: @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/var/calculate/remote/distfiles"
EMERGE_DEFAULT_OPTS=" --binpkg-respect-use=y --quiet-build=n --with-bdeps=y --buildpkg-exclude='sys-apps/calculate-utils app-emulation/virtualbox-modules app-emulation/vmware-modules net-wireless/broadcom-sta x11-drivers/ati-drivers x11-drivers/nvidia-drivers' --jobs=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/calculate/remote/packages/x86_64"
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"
PORTAGE_TMPDIR="/var/calculate/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx berkdb bittorrent bluetooth bzip2 cairo cdda cddb cdparanoia cdr chm cli consolekit cpudetection cracklib crypt css cue cups cxx dbus djvu dri dv dvd dvdr dvdread ebook encode exif faac ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gd gdbm gif gphoto2 gpm gstreamer gtk iconv id3tag ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k kde libnotify libwww lm_sensors logrotate lzo mad matroska mbox mikmod mmx mmxext modules mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp oscar padlock pam pcre pdf png policykit popcnt portaudio ppp pulseaudio qt3support quicktime raw rdesktop readline real samba scanner sdl seccomp semantic-desktop session smp speex spell srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg tcpd tga theora threads tiff truetype udev udisks unicode usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vorbis wavpack webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xcomposite xinerama xop xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="* ptp2" CL="builder client desktop console consolegui" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow mmx sse sse2 * mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev mutouch synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en bg de es es_ES fr it pl pt pt_BR ro ru ru_RU uk" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20 ruby21" THEMES="CLD" USERLAND="GNU" VIDEO_CARDS="i915 i965 intel nouveau nv nvidia r100 r200 r300 r600 radeon vesa glint mach64 mga r128 savage sis tdfx trident vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

www-client/firefox-40.0.2::gentoo was built with the following:
USE="dbus gmp-autoupdate gstreamer jemalloc3 jit minimal pulseaudio system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -startup-notification -test -wifi" ABI_X86="64" LINGUAS="bg de es_ES fr it pl pt_BR ro ru uk -af -ar -as -ast -be -bn_BD -bn_IN -br -bs -ca -cs -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_MX -et -eu -fa -fi -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pt_PT -rm -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -vi -xh -zh_CN -zh_TW"
CFLAGS="-march=x86-64 -pipe"
CXXFLAGS="-march=x86-64 -pipe"
Comment 3 Luca Longinotti 2015-08-19 16:29:55 UTC
Same here, seeing totally random crashes since updated to 40.0.2. Disabling Flash and plugins doesn't help. I'm also sure Flash wasn't running when the crashes happened (disabled by default, ask to activate).
Once it happened after a while of using FF, while opening a new tab... Last time just after opening the browser and a few new tabs... No correlation of what sites, or how many tabs, or complexity of site... Though usually seems to happen when loading a new site, after clicking a link or new tab; so maybe something when it tries to render a new page, just supposition.
Here my emerge --info:

Portage 2.2.20.1 (python 2.7.9-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.5, glibc-2.21-r1, 4.1.4-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.4-hardened-x86_64-Intel-R-_Core-TM-_i7-4771_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32882024 total,  30033948 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Wed, 19 Aug 2015 15:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-unmerge-warn --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
MAKEOPTS="-j8 -s"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/portcomp"
USE="X a52 acl acpi aes aio alsa amd64 avx avx2 bash-completion bzip2 cairo caps cddb cdio crypt css cups cxx dbus dts dvd dvdnav encode exif faac faad ffmpeg flac fma3 fontconfig gd gif glamor glib gmp gnutls gtk gtk3 gzip hardened iconv icu idn introspection ipc ipv6 ithreads java jpeg jpeg2k keymap latex libav lm_sensors lzma lzo mad mmx mmxext mp3 ncurses network nls nptl ogg opengl openmp openrc openssl opus pam pax_kernel pcre pdf pic pie png popcnt posix ppds python python3 quicktime rar readline real rtmp seccomp session smp sockets spell sse sse2 sse3 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg theora threads tiff truetype udev unicode urandom usb vorbis vpx webm webp x264 x265 xattr xinerama xml xmlrpc xorg xscreensaver xsl xv xvid xz zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" COLLECTD_PLUGINS="apcups cpu cpufreq disk entropy interface load memory processes rrdtool sensors swap uptime users vmem wireless" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_US" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

www-client/firefox-40.0.2::gentoo was built with the following:
USE="dbus hardened jemalloc3 startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -egl (-gmp-autoupdate) -gstreamer -gstreamer-0 -jit -minimal (-neon) (-pgo) -pulseaudio (-selinux) -test -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-march=native -pipe"
CXXFLAGS="-march=native -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed -Wl,-z,relro,-z,now"
Comment 4 avx 2015-08-19 20:08:00 UTC
Same here (~amd64), tried with disabling any plugins, limiting connections/downloads (via noscript/adblock/request policy), completely fresh profile, same outcome, crashes out of nowhere.

Once it happened while being idle, as in away from the machine for a few minutes, came back to a closed browser.
Comment 5 Jakub Caban 2015-08-20 12:12:30 UTC
Same here.

I once got the crash with firefox run via gdb and backtrace was all the way up to some library from nss and nspr. Recompiling both and than firefox didn't help, so that could be wrong lead. Unfortunately I didn't save backtrace to share.
Comment 6 Guillaume Castagnino 2015-08-20 14:23:56 UTC
I have a backtrace of this, but sadly without debug symbols… So not very useful

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4c6afb4 in ?? () from /usr/lib64/firefox/libxul.so
(gdb) bt
#0  0x00007ffff4c6afb4 in ?? () from /usr/lib64/firefox/libxul.so
#1  0x00007ffff4d9cdbd in ?? () from /usr/lib64/firefox/libxul.so
#2  0x00007ffff4d880d1 in ?? () from /usr/lib64/firefox/libxul.so
#3  0x00007ffff505236b in ?? () from /usr/lib64/firefox/libxul.so
#4  0x00007ffff50529be in ?? () from /usr/lib64/firefox/libxul.so
#5  0x00007ffff5053634 in ?? () from /usr/lib64/firefox/libxul.so
#6  0x00007ffff50538f5 in ?? () from /usr/lib64/firefox/libxul.so
#7  0x00007ffff5054e4e in ?? () from /usr/lib64/firefox/libxul.so
#8  0x00007ffff395ef28 in ?? () from /usr/lib64/firefox/libxul.so
#9  0x00007ffff318b37b in ?? () from /usr/lib64/firefox/libxul.so
#10 0x00007ffff318b657 in ?? () from /usr/lib64/firefox/libxul.so
#11 0x00007ffff3189e5f in ?? () from /usr/lib64/firefox/libxul.so
#12 0x00007ffff319f1f9 in ?? () from /usr/lib64/firefox/libxul.so
#13 0x00007ffff337275e in ?? () from /usr/lib64/firefox/libxul.so
#14 0x00007ffff335430d in ?? () from /usr/lib64/firefox/libxul.so
#15 0x00007ffff4368b00 in ?? () from /usr/lib64/firefox/libxul.so
#16 0x00007ffff48c8b91 in ?? () from /usr/lib64/firefox/libxul.so
#17 0x00007ffff48fcf43 in ?? () from /usr/lib64/firefox/libxul.so
#18 0x00007ffff48fd22e in ?? () from /usr/lib64/firefox/libxul.so
#19 0x00007ffff48fd459 in XRE_main () from /usr/lib64/firefox/libxul.so
#20 0x0000000000404ecb in ?? ()
#21 0x00000000004046f6 in ?? ()
#22 0x00007ffff70357b0 in __libc_start_main () from /lib64/libc.so.6
#23 0x0000000000404869 in _start ()



I’m currently trying the firefox-bin, and so far, I do not have crash for now. May be only related to custom build.






Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.2
KiB Mem:    16317640 total,   8229816 free
KiB Swap:    5938176 total,   5938176 free
Timestamp of repository gentoo: Thu, 20 Aug 2015 11:30:01 +0000
Timestamp of repository xwing: Thu, 20 Aug 2015 11:00:05 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

rion
    location: /usr/local/portage/rion
    sync-type: git
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo

gcpan_overlay
    location: /usr/local/portage/gcpan-portage/
    masters: gentoo
    priority: 50

local
    location: /usr/local/portage/local-portage/
    masters: gentoo
    priority: 50

seden
    location: /usr/local/portage/seden
    sync-type: git
    sync-uri: git://anongit.gentoo.org/user/seden.git
    masters: gentoo
    priority: 50

xwing
    location: /usr/local/portage/xwing
    sync-type: rsync
    sync-uri: rsync://gentoo.xwing.info/xwing-overlay
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch use
rpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/     http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.tiscali.nl/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi additions adobe-cff alsa amd64 bash-completion branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvb dvd dvdnav dvdr emboss encode exif extensions firefox flac fontconfig fpm g3dvl gif glamor gpm gtk gtkstyle icon
v icu idn inotify iproute2 ipv6 ithreads jpeg kde kmod lcms libkms libnotify live llvm lzma mad matroska minizip mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses network nls nptl nsplugin ofx ogg opengl openmp openssl pam pango pcre pdf png policykit postproc qt3support
 qt4 rdesktop readline sasl scanner seccomp session spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-pager vim-syntax vnc vorbis x264 xattr xcb xml xorg xv xvid xvmc zip z
lib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 c
gi 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="kexi words flo
w plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm ear
thmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb2
16 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi gzip headers_more limit_req limit_conn map proxy realip referer rewrite stub_status
upstream_ip_hash userid" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ip
p2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

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

www-client/firefox-40.0.2::gentoo was built with the following:
USE="dbus gmp-autoupdate gstreamer jemalloc3 jit minimal startup-notification system-cairo system-icu system-jpeg system-libvpx -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) -pulseaudio (-selinux) -system-sqlite -test -wifi"
ABI_X86="64" LINGUAS="fr -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_
NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-march=native -mtune=native -pipe"
CXXFLAGS="-march=native -mtune=native -pipe"
Comment 7 Balint SZENTE 2015-08-20 18:11:25 UTC
Same here. No issues with firefox-39.x, but with 40.0.2 I have the random crashes.

Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.4, glibc-2.20-r2, 4.1.6-gentoo x86_64)
=================================================================
System uname: Linux-4.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4702MQ_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8079856 total,   6427964 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 20 Aug 2015 17:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ro.gentoo.org/gentoo-portage
    priority: -1000

causelay
    location: /var/lib/layman/causelay
    sync-type: laymansync
    sync-uri: https://github.com/causes-/causelay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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"
DISTDIR="/usr/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude='/lost+found'"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X alsa amd64 berkdb bzip2 cdio cli crypt cxx dri drm flac fontconfig gdbm gif gpm iconv icu jpeg lzma mmx mmxext modules mp3 ncurses nls nptl ogg opengl openmp pcre png readline seccomp session slang sse sse2 ssl svg theora threads tiff truetype unicode usb v4l vaapi vorbis vpx xcb xft xinerama xv zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

===========================================

These are the packages that would be merged, in order:

Calculating dependencies  ..... done!
[ebuild   R   ~] www-client/firefox-40.0.2::gentoo  USE="gmp-autoupdate jemalloc3 jit minimal system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -dbus -debug -egl -gstreamer -gstreamer-0 -hardened (-neon) (-pgo) -pulseaudio (-selinux) -startup-notification {-test} -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 8 Adrian Bassett 2015-08-20 19:18:28 UTC
(In reply to Adrien D from comment #0)
> Hi all,
> 
> Since i updated Firefox to 40.0.2, Firefox often crash.
> It's difficult to reproduce the problem because it's random.


Same here.

As a suggestion the thread on the gentoo forums at https://forums.gentoo.org/viewtopic-p-7801224.html?sid=83716dc2bfb2b4724b51c7f6bb312445 claims that 'toggling off layers.offmainthreadcomposition.enabled' helps.

So, turning it off to see whether it does in fact help.
Comment 9 Michal Špondr 2015-08-20 21:38:55 UTC
Same problem. gdb says:

(gdb) bt
#0  0x00007fed5f32d009 in raise () from /lib64/libpthread.so.0
#1  0x00007fed5bfcd31f in ?? () from /usr/lib64/firefox/libxul.so
#2  0x00007fed5c38b6c1 in ?? () from /usr/lib64/firefox/libxul.so
#3  <signal handler called>
#4  0x00007fed5c607594 in ?? () from /usr/lib64/firefox/libxul.so
#5  0x00007fed5c607914 in ?? () from /usr/lib64/firefox/libxul.so
#6  0x00007fed5c630ee2 in ?? () from /usr/lib64/firefox/libxul.so
#7  0x00007fed5c63143a in ?? () from /usr/lib64/firefox/libxul.so
#8  0x00007fed5c476663 in ?? () from /usr/lib64/firefox/libxul.so
#9  0x00007fed5c476912 in ?? () from /usr/lib64/firefox/libxul.so
#10 0x00007fed5c8043a0 in ?? () from /usr/lib64/firefox/libxul.so
#11 0x00007fed5c4769ed in ?? () from /usr/lib64/firefox/libxul.so
#12 0x00007fed5c4781f8 in ?? () from /usr/lib64/firefox/libxul.so
#13 0x00007fed5c62a8d9 in ?? () from /usr/lib64/firefox/libxul.so
#14 0x00007fed5f739630 in ?? ()
#15 0x0000000000000000 in ?? ()

and another core dump:
Core was generated by `/usr/lib64/firefox/plugin-container /opt/google/talkplugin/libnpgoogletalk.so -'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000004082bc in WebCore::Decimal::operator/(WebCore::Decimal const&) const ()
(gdb) bt
#0  0x00000000004082bc in WebCore::Decimal::operator/(WebCore::Decimal const&) const ()
#1  0x6f727265206c656e in ?? ()
#2  0x656c6966203a2e72 in ?? ()
#3  0x6f702f706d742f20 in ?? ()
#4  0x77772f6567617472 in ?? ()
#5  0x746e65696c632d77 in ?? ()
#6  0x786f66657269662f in ?? ()
#7  0x2f322e302e30342d in ?? ()
#8  0x7a6f6d2f6b726f77 in ?? ()
#9  0x6c65722d616c6c69 in ?? ()
#10 0x6370692f65736165 in ?? ()
#11 0x654d2f65756c672f in ?? ()
#12 0x6168436567617373 in ?? ()
#13 0x7070632e6c656e6e in ?? ()
#14 0x3120656e696c202c in ?? ()
#15 0x0000000000393536 in ?? ()
#16 0x0000000000000005 in ?? ()
#17 0x0000000000000000 in ?? ()


michal@bestia ~ $ emerge --info www-client/firefox
Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     8141448 total,    420572 free
KiB Swap:   23437276 total,  23437276 free
Timestamp of repository gentoo: Thu, 20 Aug 2015 18:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://gentoo.prz.rzeszow.pl/gentoo http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl rsync://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cli colord cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fontconfig gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gudev http2 iconv imagemagick introspection ipv6 jabber jemalloc jingle jpeg jpeg2k lcms ldap libav libnotify libsecret mad matroska mmap mms mmx mmxext mng modules mp3 mp4 mpeg multilib musicbrainz nautilus ncurses networkmanager nls nptl nvidia ogg openal opencl opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session sharedmem sound spell sse sse2 sse3 ssl startup-notification svg systemd tcpd threads tiff tracker truetype udev udisks unicode upower usb vdpau vorbis webp wxwidgets x264 xcb xft xinerama xml xmpp xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DRACUT_MODULES="systemd" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

www-client/firefox-40.0.2::gentoo was built with the following:
USE="dbus gmp-autoupdate gstreamer jemalloc3 jit minimal pulseaudio startup-notification system-cairo system-icu system-jpeg -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -system-libvpx -system-sqlite -test -wifi" ABI_X86="64" LINGUAS="cs -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-pipe -march=native"
CXXFLAGS="-pipe -march=native"
Comment 10 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-21 03:19:03 UTC
I can confirm that setting layers.offmainthreadcomposition.enabled to false 'fixes' it for me.  This was a feature mozilla enabled prematurely (not had a crash since I turned it off the night of release).
Comment 11 abandoned account disabled email 2015-08-21 03:51:41 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #10)
> I can confirm that setting layers.offmainthreadcomposition.enabled to false
> 'fixes' it for me.  This was a feature mozilla enabled prematurely (not had
> a crash since I turned it off the night of release).

Thanks for this! It's the only comment that I read from here and it fixes the following* for me:

> just watching the video normally is now problematic, because the video inevitably freezes after a period of time between several seconds and a minute or so. When it freezes the picture is stuck while the audio continues. Move the mouse just a bit and the video starts moving again from where the audio is (the audio works throughout), and everything seems fine, until it happens again.

src: https://bugzilla.mozilla.org/show_bug.cgi?id=912521#c10
* I had no firefox crashes though.
Comment 12 Adrian Bassett 2015-08-21 07:48:32 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #10)
> I can confirm that setting layers.offmainthreadcomposition.enabled to false
> 'fixes' it for me.  This was a feature mozilla enabled prematurely (not had
> a crash since I turned it off the night of release).

Glad the suggestion worked.  I too have had no crashes or other video problems since turning it off.
Comment 13 Mart Raudsepp gentoo-dev 2015-08-21 13:42:00 UTC
I would like to point out and stress that once it does start working in a crash-free manner for everyone in a later version or whatnot, don't forget to reset the about:config option later on, as to receive all the great benefits of the separate thread composition work.
It hasn't crashed for one of the Gentoo machines I maintain though that has a firefox 40 user though, to my knowledge.
Comment 14 Ian Stakenvicius (RETIRED) gentoo-dev 2015-08-22 01:01:40 UTC
(In reply to Mart Raudsepp from comment #13)
> I would like to point out and stress that once it does start working in a
> crash-free manner for everyone in a later version or whatnot, don't forget
> to reset the about:config option later on, as to receive all the great
> benefits of the separate thread composition work.
> It hasn't crashed for one of the Gentoo machines I maintain though that has
> a firefox 40 user though, to my knowledge.

Curious - do you have the system-* USE flags set?

It seems most people that have the crash issues are enabling all of the system-* flags.  If anyone having this bug is not using system-* flags (or a different subset) could you post to confirm?  It might be that this new feature is cross-related to something that mozilla has done in the bundled libs.
Comment 15 Ian Stakenvicius (RETIRED) gentoo-dev 2015-08-22 01:31:03 UTC
Regarding the prefs setting -- do people feel it is worthwhile to revbump firefox-40.0.2 with layers.offmainthreadcomposition.enabled=false set in global prefs, until the feature is fixed in ff41 in 4-5 weeks?
Comment 16 Jory A. Pratt gentoo-dev 2015-08-22 02:06:14 UTC
(In reply to Ian Stakenvicius from comment #15)
> Regarding the prefs setting -- do people feel it is worthwhile to revbump
> firefox-40.0.2 with layers.offmainthreadcomposition.enabled=false set in
> global prefs, until the feature is fixed in ff41 in 4-5 weeks?

negative, very very bad ideal. We just need an ewarn added to ebuild with instructions.
Comment 17 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-22 03:36:38 UTC
Which system-* flag do you think it is?  I'm willing to test :D  I think it's likely to be the system-cairo myself.
Comment 18 Guillaume Castagnino 2015-08-22 05:46:07 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #17)
> Which system-* flag do you think it is?  I'm willing to test :D  I think
> it's likely to be the system-cairo myself.

Yes indeed. I have tested firefox-bin and encountered no crash with offmainthreadcomposition enabled.
I think too that cairo looks like a good candidate, but I yet I had no time to recompile firefox with system-cairo disabled to test.
Comment 19 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-22 06:24:39 UTC
I'm testing with it now, no crashes yet, but it's only been an hour or so.  Let me have the rest of 'today', which is now saturday.
Comment 20 Bob Wya 2015-08-22 06:50:25 UTC
I've been using my Suse patched version of firefox 40.0 without any issues:

[ebuild   R   ~] www-client/firefox-kde-opensuse-40.0::bobwya  USE="dbus gmp-autoupdate hardened jemalloc3 jit kde minimal pulseaudio startup-notification system-icu system-jpeg system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer -gstreamer-0 -gtk3 (-neon) -pgo (-selinux) -system-cairo -system-libvpx {-test}" LINGUAS="en_GB -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" 0 KiB

That would strengthen the case for the disabled system-cairo USE flag. I have been enjoying the extra rendering speed though!
Comment 21 abandoned account disabled email 2015-08-22 06:51:29 UTC
I never had the crashes(in 40.0.2), I only had the video freezing(which is gone now as per that setting to false), but here are(/were) my USE flags, if this helps:

# emerge --info firefox
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/no-multilib, gcc-5.1.0, glibc-2.21-r1, 4.2.0-rc6-g45b4b78 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.0-rc6-g45b4b78-x86_64-AMD_A6-3400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     8160232 total,   5557684 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 22 Aug 2015 00:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
ccache version 3.2.3 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.3::gentoo
dev-util/cmake:           3.3.1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo, 5.1.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fakeroot fixlafiles force-mirror installsources ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch parallel-install prelink-checksums preserve-libs sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-backup unmerge-logs userfetch userpriv usersandbox webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://tux.rainside.sk/gentoo/ http://de-mirror.org/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X acl amd64 berkdb bindist btrfs bzip2 cli consolekit cracklib cscope cxx dbus dri egl extensions gdbm git gpg gpm gtk3 iconv jpeg lock mmx mmxext modules ncurses nptl openmp pam pcre policykit pulseaudio qt4 readline seccomp session sse sse2 sse3 ssl startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite xcomposite zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" XFCE_PLUGINS="brightness clock trash battery power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

www-client/firefox-40.0.2::gentoo was built with the following:
USE="bindist dbus egl gstreamer jemalloc3 pulseaudio startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite -custom-cflags -custom-optimization -debug -gmp-autoupdate -gstreamer-0 -hardened -jit -minimal (-neon) (-pgo) (-selinux) -test -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer"
CXXFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer"
Comment 22 abandoned account disabled email 2015-08-22 08:38:02 UTC
I recompiled firefox(with same USE flags) after having updated cairo to -9999 (aka git) and the video freezes are much rarer now: I can watch 5+ minutes of video or more before any freezing occurs(previously it would happen several times in 1 minute consistently). I still never had a single crash though(firefox 40.0.2) I only ever had this video freezes. This with layers.offmainthreadcomposition.enabled set to true (aka default).

I am currently recompiling firefox with USE=-system-cairo and will report back.
Comment 23 abandoned account disabled email 2015-08-22 10:27:53 UTC
Unless I'm missing something, I can confirm that recompiling firefox(40.0.2) with USE=-system-cairo and keeping about:config option layers.offmainthreadcomposition.enabled set to true (aka default) I'm experiencing no youtube video freezes, just like if I keep USE=system-cairo and set layers.offmainthreadcomposition.enabled set to false

I am keeping the first variant.

# emerge --info firefox
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/no-multilib, gcc-5.1.0, glibc-2.21-r1, 4.2.0-rc6-g45b4b78 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.0-rc6-g45b4b78-x86_64-AMD_A6-3400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     8160232 total,   4822728 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 22 Aug 2015 00:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
ccache version 3.2.3 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.3::gentoo
dev-util/cmake:           3.3.1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo, 5.1.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fakeroot fixlafiles force-mirror installsources ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch parallel-install prelink-checksums preserve-libs sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-backup unmerge-logs userfetch userpriv usersandbox webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://tux.rainside.sk/gentoo/ http://de-mirror.org/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X acl amd64 berkdb bindist btrfs bzip2 cli consolekit cracklib cscope cxx dbus dri egl extensions gdbm git gpg gpm gtk3 iconv jpeg lock mmx mmxext modules ncurses nptl openmp pam pcre policykit pulseaudio qt4 readline seccomp session sse sse2 sse3 ssl startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite xcomposite zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" XFCE_PLUGINS="brightness clock trash battery power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

www-client/firefox-40.0.2::gentoo was built with the following:
USE="bindist dbus egl gstreamer jemalloc3 pulseaudio startup-notification system-icu system-jpeg system-libvpx system-sqlite -custom-cflags -custom-optimization -debug -gmp-autoupdate -gstreamer-0 -hardened -jit -minimal (-neon) (-pgo) (-selinux) -system-cairo -test -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer"
CXXFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer"
Comment 24 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-22 20:17:12 UTC
ok, I'm comfortable enough saying that disabling system-cairo 'fixes' this issue.  At least in my testing.
Comment 25 Ian Stakenvicius (RETIRED) gentoo-dev 2015-08-23 01:35:55 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #24)
> ok, I'm comfortable enough saying that disabling system-cairo 'fixes' this
> issue.  At least in my testing.

Thank you!  I'll follow up with some comparisons between current stable/~arch cairo and the bundled one and see if there's anything different going on that might be contributing to this..

It's interesting that this is occurring with system-cairo enabled, given that upstream switched to gtk3 which iirc -requires- system-cairo...
Comment 26 Adrien D 2015-08-23 07:53:00 UTC
Hi all,

Since I updated layers.offmainthreadcomposition.enabled to false, it's OK

This workaround works !

I didn't tested tu remove the stsrem-cairo FLAG.
Comment 27 Dirk Olmes 2015-08-25 05:56:21 UTC
One more info supporting the system-cairo theory: I rebuilt with -system-cairo and firefox survived a full working day yesterday. That involved a bit of video and a lot of flash interaction.
Comment 28 Marcin Kowalski 2015-08-28 09:31:48 UTC
I am also observing the random crashes and they seem to originate in pango library. I don't have backtrace at hand atm, but there is a function with pixman and 32 in the name. I'll post a backtrace once i make it happen again.

Note, using youtube and native html5 player greatly increases the occurence of the problem. Just run a video, and let it run in a background tab . I get the crash every few minutes this way.
Comment 29 Marcin Kowalski 2015-08-28 09:32:25 UTC
(In reply to Marcin Kowalski from comment #28)
> I am also observing the random crashes and they seem to originate in pango
> library. I don't have backtrace at hand atm, but there is a function with
> pixman and 32 in the name. I'll post a backtrace once i make it happen again.
> 
> Note, using youtube and native html5 player greatly increases the occurence
> of the problem. Just run a video, and let it run in a background tab . I get
> the crash every few minutes this way.

I obviously meant pixman, not pango. Sorry for confusion.
Comment 30 Marcin Kowalski 2015-08-31 07:26:00 UTC
Rebuilding with -system-cairo has one other beneficial side effect. 

60fps html5 videos on youtube finally play smoothly in windowed mode - it would only work well fullscreen before, otherwise it would drop a lot of frames.

webkit browsers had no playback issues.
Comment 31 abandoned account disabled email 2015-09-04 08:15:10 UTC
Created attachment 410974 [details]
emerge --info --verbose

The html5 videos (youtube) freezing still happens for me with the updated firefox 40.0.3 when built with system-cairo, on a hardened gentoo(this time) with grsecurity enabled.

For me, it still doesn't crash though.

Here's my emerge --info firefox

# emerge --info firefox
Portage 2.2.20.1 (python 3.4.3-final-0, hardened/linux/amd64/no-multilib, gcc-5.2.0, glibc-2.21-r1, 4.1.6-hardened-r1-g45b4b78 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.6-hardened-r1-g45b4b78-x86_64-AMD_A6-3400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:    10809864 total,   8943576 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 03 Sep 2015 00:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.3 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 5.2.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2 -fstack-protector-all -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -pipe -march=native -ggdb -fvar-tracking-assignments -fno-omit-frame-pointer -ftrack-macro-expansion=2 -fstack-protector-all -fPIC"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fakeroot fixlafiles force-mirror installsources ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch parallel-install prelink-checksums preserve-libs sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-backup unmerge-logs userfetch userpriv usersandbox webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://tux.rainside.sk/gentoo/ http://de-mirror.org/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X acl amd64 berkdb bindist btrfs bzip2 cli consolekit cracklib crypt cryptsetup cscope cxx dbus device-mapper dri egl extensions gdbm git gpg gpm gtk3 hardened iconv jpeg justify lock mmx mmxext modules mosh-hardening ncurses nptl openmp pam pax_kernel pcre pie policykit pulseaudio qt4 readline seccomp session sse sse2 sse3 ssl ssp startup-notification strong-security system-icu system-jpeg system-libvpx system-sqlite urandom xattr xcomposite xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" XFCE_PLUGINS="brightness clock trash battery power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

www-client/firefox-40.0.3::gentoo was built with the following:
USE="bindist dbus egl gstreamer hardened jemalloc3 pulseaudio startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite -custom-cflags -custom-optimization -debug (-gmp-autoupdate) -gstreamer-0 -jit -minimal (-neon) (-pgo) (-selinux) -test -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer -fstack-protector-all -fPIC"
CXXFLAGS="-pipe -march=native -ggdb -fno-omit-frame-pointer -fstack-protector-all -fPIC"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro,-z,now"
Comment 32 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-09-05 02:20:02 UTC
I was still getting crashes.  It seems like upstream doesn't care to support --system-cairo anymore though
Comment 33 abandoned account disabled email 2015-09-05 07:51:57 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #32)
> I was still getting crashes.  It seems like upstream doesn't care to support
> --system-cairo anymore though

I'm getting the video freezes much rarely with x11-libs/cairo-9999 (& firefox 40.0.3) and they recover automatically after at most 6 seconds and at least 2 sec.
Comment 34 MZ 2015-09-11 22:13:45 UTC
same problem  www-client/firefox-41.0_beta9

update 

layers.offmainthreadcomposition.async-animations;false
layers.offmainthreadcomposition.enabled;false

helps
Comment 35 Beelzebubbie 2015-09-25 13:48:52 UTC
Confirming, all firefoxes 40+ (offmainthreadcomposition enabled and built with system-* flags on) crashing with SIGSEGV. I'll see if -system-cairo helps. BTW, firefox-bin is crashing too.
Comment 36 Beelzebubbie 2015-09-26 07:00:56 UTC
rebuilt 41.0-r1 with -system-cairo, no more crashes – at least within a day. offmainthreadcomposition enabled.
Comment 37 Christian Jumpertz 2015-09-27 21:04:53 UTC
Confirmed this Bug for firefox 41.0-r1, and that it worked with an unset system- cairo Useflag.

=================================================================
      GDB backtrace before recompilation without system-cairo
=================================================================
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4d8cb32 in void js::TraceManuallyBarrieredEdge<js::jit::JitCode*>(JSTracer*, js::jit::JitCode**, char const*) () from /usr/lib64/firefox/libxul.so
(gdb) bt
#0  0x00007ffff4d8cb32 in void js::TraceManuallyBarrieredEdge<js::jit::JitCode*>(JSTracer*, js::jit::JitCode**, char const*) () from /usr/lib64/firefox/libxul.so
#1  0x00007ffff503f14d in js::jit::ICStub::trace(JSTracer*) () from /usr/lib64/firefox/libxul.so
#2  0x00007ffff4f1bc9b in js::jit::BaselineScript::trace(JSTracer*) () from /usr/lib64/firefox/libxul.so
#3  0x00007ffff5121059 in JSScript::traceChildren(JSTracer*) () from /usr/lib64/firefox/libxul.so
#4  0x00007ffff4d8e162 in void js::TraceManuallyBarrieredEdge<JSScript*>(JSTracer*, JSScript**, char const*) () from /usr/lib64/firefox/libxul.so
#5  0x00007ffff50f7558 in fun_trace(JSTracer*, JSObject*) () from /usr/lib64/firefox/libxul.so
#6  0x00007ffff4d6b240 in js::GCMarker::drainMarkStack(js::SliceBudget&) () from /usr/lib64/firefox/libxul.so
#7  0x00007ffff5171082 in void js::gc::GCRuntime::markGrayReferences<js::gc::GCZoneGroupIter, js::CompartmentsIterT<js::gc::GCZoneGroupIter> >(js::gcstats::Phase) ()
   from /usr/lib64/firefox/libxul.so
#8  0x00007ffff51238a4 in js::gc::GCRuntime::endMarkingZoneGroup() () from /usr/lib64/firefox/libxul.so
#9  0x00007ffff515321e in js::gc::GCRuntime::sweepPhase(js::SliceBudget&) () from /usr/lib64/firefox/libxul.so
#10 0x00007ffff515876f in js::gc::GCRuntime::incrementalCollectSlice(js::SliceBudget&, JS::gcreason::Reason) () from /usr/lib64/firefox/libxul.so
#11 0x00007ffff5159365 in js::gc::GCRuntime::gcCycle(bool, js::SliceBudget&, JS::gcreason::Reason) () from /usr/lib64/firefox/libxul.so
#12 0x00007ffff515957d in js::gc::GCRuntime::collect(bool, js::SliceBudget, JS::gcreason::Reason) () from /usr/lib64/firefox/libxul.so
#13 0x00007ffff515a796 in JS::IncrementalGCSlice(JSRuntime*, JS::gcreason::Reason, long) () from /usr/lib64/firefox/libxul.so
#14 0x00007ffff3a0ad14 in nsJSContext::GarbageCollectNow(JS::gcreason::Reason, nsJSContext::IsIncremental, nsJSContext::IsShrinking, long) ()
   from /usr/lib64/firefox/libxul.so
#15 0x00007ffff32648c4 in nsTimerImpl::Fire() () from /usr/lib64/firefox/libxul.so
#16 0x00007ffff3264bb8 in nsTimerEvent::Run() () from /usr/lib64/firefox/libxul.so
#17 0x00007ffff3263445 in nsThread::ProcessNextEvent(bool, bool*) () from /usr/lib64/firefox/libxul.so
#18 0x00007ffff327cadc in NS_ProcessNextEvent(nsIThread*, bool) () from /usr/lib64/firefox/libxul.so
#19 0x00007ffff34401ef in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) () from /usr/lib64/firefox/libxul.so
#20 0x00007ffff3424559 in MessageLoop::Run() () from /usr/lib64/firefox/libxul.so
#21 0x00007ffff43b9f0b in nsBaseAppShell::Run() () from /usr/lib64/firefox/libxul.so
#22 0x00007ffff4928922 in nsAppStartup::Run() () from /usr/lib64/firefox/libxul.so
#23 0x00007ffff495e62b in XREMain::XRE_mainRun() () from /usr/lib64/firefox/libxul.so
#24 0x00007ffff495e907 in XREMain::XRE_main(int, char**, nsXREAppData const*) () from /usr/lib64/firefox/libxul.so
#25 0x00007ffff495eb64 in XRE_main () from /usr/lib64/firefox/libxul.so
#26 0x00000000004062db in do_main(int, char**, nsIFile*) ()
#27 0x0000000000405c0a in main ()
=================================================================

=================================================================
  Snipped of my emerge --info Firefox, past the Fix now.
=================================================================
Timestamp of repository gentoo: Fri, 25 Sep 2015 17:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.3.6-r1::gentoo, 4.4.7::gentoo, 4.5.4::gentoo, 4.6.4::gentoo, 4.7.3-r1::gentoo, 4.8.5::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"

USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gnome gpm gtk hal hvm iconv icu introspection ipv6 java jpeg lcms libnotify mad mmx mmxext mng modules mp1 mp2 mp3 mp4 mpeg mplayer multilib mysql ncurses nls nptl ntponly ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3 qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xine xinerama xml xmp xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions acpi alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python3_2 python2_7" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

www-client/firefox-41.0-r1::gentoo was built with the following:
USE="dbus gmp-autoupdate jemalloc3 jit minimal pulseaudio startup-notification system-icu system-jpeg -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -system-cairo -system-libvpx -system-sqlite -test -wifi" ABI_X86="64" LINGUAS="de -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-march=core2 -mtune=generic -pipe"
CXXFLAGS="-march=core2 -mtune=generic -pipe"
Comment 38 cronolio 2015-10-24 14:10:59 UTC
*** Bug 563426 has been marked as a duplicate of this bug. ***
Comment 39 Marc Joliet 2015-10-27 19:45:14 UTC
OK, the right bug this time:

FWIW, installing firefox with USE="-system-cairo" caused (most) crashes to stop on my laptop (with an Intel GPU).  My desktop (with a Radeon) only ever had intermittent crashes, and the USE flag change seemingly didn't affect anything.

Here's the emerge --info of my desktop (the USE flags of cairo and firefox are the same on the laptop, though):

% emerge --info firefox cairo
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.11-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.2
KiB Mem:     4045484 total,     53252 free
KiB Swap:    4194300 total,   4194240 free
Timestamp of repository gentoo: Tue, 27 Oct 2015 07:30:01 +0000
sh dash 0.5.8.2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

digint
    location: /var/lib/layman/digint
    sync-type: git
    sync-uri: git://dev.tty0.ch/portage/digint-overlay.git
    masters: gentoo

mjoliet
    location: /usr/local/portage/marcec
    masters: gentoo proaudio

proaudio
    location: /var/lib/layman/proaudio
    masters: gentoo
    priority: 0

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --nospinner --jobs 2 --load-average 3 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-s -j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo caps cdda cdinstall cdr cjk cli cracklib crypt css cups cxx dbus declarative dga djvu dri dssi dts dvd dvdr emboss encode exif fbcon ffmpeg fftw firefox fish-completion flac fortran ftp fuse gdbm gif glamor gmp gnutls iconv idn imlib inotify ipv6 jack jackmidi jpeg jpeg2k kde kipi ladspa lapack lash latex lcms libnotify libsamplerate logrotate lzma mad mmx mmxext mng modplug modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses nls nptl offensive ogg openexr opengl openmp opus osc pam pango pcre pdf phonon plasma plotutils png policykit ppds pulseaudio qt3support qt4 quicktime rar readline rtsp samba sasl seccomp semantic-desktop session sid slang smp sndfile speex spell sse sse2 ssl startup-notification svg systemd taglib tcpd theora threads tiff timidity truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis vpx webkit wma x264 xattr xcb xcomposite xface xml xmp xpm xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ice1724 hda-intel usb-audio" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 3dnow 3dnowext mmxext sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en en_GB de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

www-client/firefox-41.0.2::gentoo was built with the following:
USE="dbus gmp-autoupdate gstreamer jemalloc3 jit minimal pulseaudio startup-notification system-icu system-jpeg system-libvpx -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -system-cairo -system-sqlite -test -wifi" ABI_X86="64" LINGUAS="de en_GB -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-march=native -pipe"
CXXFLAGS="-march=native -pipe"


x11-libs/cairo-1.14.2::gentoo was built with the following:
USE="X glib opengl svg xcb (-aqua) -debug (-directfb) (-gles2) -static-libs -valgrind -xlib-xcb" ABI_X86="64 -32 -x32"
Comment 40 Coacher 2015-11-12 23:47:37 UTC
Hello.

I had random crashes with OMTC too. I've managed to get stable, working OMTC by rebuilding firefox with USE='-egl'. All 'system-*' USEs are enabled except for 'system-sqlite'. My configuration info can be found here: https://bugs.gentoo.org/show_bug.cgi?id=565042#c3
Comment 41 Heiko Baums 2015-11-13 00:15:57 UTC
(In reply to Coacher from comment #40)
> Hello.
> 
> I had random crashes with OMTC too. I've managed to get stable, working OMTC
> by rebuilding firefox with USE='-egl'. All 'system-*' USEs are enabled
> except for 'system-sqlite'. My configuration info can be found here:
> https://bugs.gentoo.org/show_bug.cgi?id=565042#c3

This can't have anything to do with USE="-egl", because I've already built firefox with USE="-egl" and get those random crashes very often.
Comment 42 Coacher 2015-11-13 00:33:08 UTC
(In reply to Heiko Baums from comment #41)
> This can't have anything to do with USE="-egl", because I've already built
> firefox with USE="-egl" and get those random crashes very often.

It does have everything to do with USE='-egl' for me. I didn't say it would fix crashes for you. But maybe it could help somebody else to avoid firefox crashes.
Comment 43 Kostiantyn Hermash 2016-02-09 18:05:21 UTC
I think i have the same with firefox-44.0.

[ebuild   R    ] www-client/firefox-44.0::gentoo  USE="dbus ffmpeg gmp-autoupdate gstreamer hwaccel jemalloc3 jit startup-notification -bindist -custom-cflags -custom-optimization -debug -gstreamer-0 -gtk3 -hardened (-neon) (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" LINGUAS="ru uk -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -vi -xh -zh_CN -zh_TW" 0 KiB

Crash happens on different sites. For example on http://ukrinform.ua, or when i try to watch this video https://www.youtube.com/watch?v=fcI2uqf1g8E in fullscreen. Not all videos make crash. This occurs every time on the same sites. Here is what firefox writes in terminal after crash:

kostya@cozy ~ $ firefox
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]: GLContext is disabled due to a previous crash.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]: GLContext is disabled due to a previous crash.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous crash.|[2][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]: GLContext is disabled due to a previous crash.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous crash.|[2][GFX1-]: GLContext is disabled due to a previous crash.|[3][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]: GLContext is disabled due to a previous crash.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous crash.|[2][GFX1-]: GLContext is disabled due to a previous crash.|[3][GFX1-]: GLContext is disabled due to a previous crash.|[4][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]: GLContext is disabled due to a previous crash.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous crash.|[2][GFX1-]: GLContext is disabled due to a previous crash.|[3][GFX1-]: GLContext is disabled due to a previous crash.|[4][GFX1-]: GLContext is disabled due to a previous crash.|[5][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]: GLContext is disabled due to a previous crash.
[2998] ###!!! ABORT: X_GLXDestroyPixmap: GLXBadPixmap; 2 requests ago: file /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/toolkit/xre/nsX11ErrorHandler.cpp, line 157
[2998] ###!!! ABORT: X_GLXDestroyPixmap: GLXBadPixmap; 2 requests ago: file /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/toolkit/xre/nsX11ErrorHandler.cpp, line 157
Ошибка сегментирования(Segmentation fault)
Comment 44 Kostiantyn Hermash 2016-02-09 18:10:45 UTC
(In reply to Konstantin Germash from comment #43)
> I think i have the same with firefox-44.0.
> 
> [ebuild   R    ] www-client/firefox-44.0::gentoo  USE="dbus ffmpeg
> gmp-autoupdate gstreamer hwaccel jemalloc3 jit startup-notification -bindist
> -custom-cflags -custom-optimization -debug -gstreamer-0 -gtk3 -hardened
> (-neon) (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg
> -system-libevent -system-libvpx -system-sqlite {-test} -wifi" LINGUAS="ru uk
> -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el
> -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL
> -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn
> -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT
> -rm -ro -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -vi -xh -zh_CN
> -zh_TW" 0 KiB
> 
> Crash happens on different sites. For example on http://ukrinform.ua, or
> when i try to watch this video https://www.youtube.com/watch?v=fcI2uqf1g8E
> in fullscreen. Not all videos make crash. This occurs every time on the same
> sites. Here is what firefox writes in terminal after crash:
> 
> kostya@cozy ~ $ firefox
> ATTENTION: default value of option force_s3tc_enable overridden by
> environment.
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled
> due to a previous crash.[GFX1-]: GLContext is disabled due to a previous
> crash.
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled
> due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous
> crash.[GFX1-]: GLContext is disabled due to a previous crash.
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled
> due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous
> crash.|[2][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]:
> GLContext is disabled due to a previous crash.
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled
> due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous
> crash.|[2][GFX1-]: GLContext is disabled due to a previous
> crash.|[3][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]:
> GLContext is disabled due to a previous crash.
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled
> due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous
> crash.|[2][GFX1-]: GLContext is disabled due to a previous
> crash.|[3][GFX1-]: GLContext is disabled due to a previous
> crash.|[4][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]:
> GLContext is disabled due to a previous crash.
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: GLContext is disabled
> due to a previous crash.|[1][GFX1-]: GLContext is disabled due to a previous
> crash.|[2][GFX1-]: GLContext is disabled due to a previous
> crash.|[3][GFX1-]: GLContext is disabled due to a previous
> crash.|[4][GFX1-]: GLContext is disabled due to a previous
> crash.|[5][GFX1-]: GLContext is disabled due to a previous crash.[GFX1-]:
> GLContext is disabled due to a previous crash.
> [2998] ###!!! ABORT: X_GLXDestroyPixmap: GLXBadPixmap; 2 requests ago: file
> /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/toolkit/xre/
> nsX11ErrorHandler.cpp, line 157
> [2998] ###!!! ABORT: X_GLXDestroyPixmap: GLXBadPixmap; 2 requests ago: file
> /var/tmp/portage/www-client/firefox-44.0/work/firefox-44.0/toolkit/xre/
> nsX11ErrorHandler.cpp, line 157
> Ошибка сегментирования(Segmentation fault)

I am sorry i forgot to put emerge --info:

Portage 2.2.27 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/kde, gcc-5.3.0, glibc-2.22-r1, 4.4.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.4.0-gentoo-r1-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.2
KiB Mem:     4048436 total,   2785548 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sat, 30 Jan 2016 08:30:01 +0000                                                                                                                               
sh bash 4.3_p42-r1                                                                                                                                                                            
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1                                                                                                                                                         
app-shells/bash:          4.3_p42-r1::gentoo                                                                                                                                                  
dev-lang/perl:            5.22.1::gentoo                                                                                                                                                      
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo                                                                                                                                 
dev-util/cmake:           3.4.3::gentoo                                                                                                                                                       
dev-util/pkgconfig:       0.29::gentoo                                                                                                                                                        
sys-apps/baselayout:      2.2::gentoo                                                                                                                                                         
sys-apps/openrc:          0.20.4::gentoo                                                                                                                                                      
sys-apps/sandbox:         2.10-r1::gentoo                                                                                                                                                     
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo                                                                                                                                       
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo                                                                                            
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss encode examples exif fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif gimp glamor glut gnuplot gphoto2 gpm gsl gstreamer gtk gzip iconv imagemagick ipv6 jabber jpeg jpeg2k kde kipi lame latex lcms ldap libnotify libwww lm_sensors lzma lzo mad matroska mmx mmxext mng modules mp3 mp4 mpeg mplayer mtp multilib ncurses nls nptl ogg openal opengl openmp oss pam pango pcre pdf perl phonon plasma plotutils png policykit ppds python qt3support qt4 quicktime raw readline rss sdl seccomp session smp spell sqlite sse sse2 ssl startup-notification svg szip tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vcd vdpau vnc vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xmpp xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru uk en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 45 cronolio 2016-02-09 18:58:03 UTC
(In reply to Konstantin Germash from comment #43)
> I think i have the same with firefox-44.0.
> 

please create another bug report
Comment 46 Franz Trischberger 2016-03-15 07:14:20 UTC
Instead of running apps in gdb and waiting for a crash you can enable core dumps:
https://terry.im/wiki/terry/Core+Dump.html

The last backtrace I got:
#0  0x00007fee4d8eed39 in raise (sig=11) at ../sysdeps/unix/sysv/linux/pt-raise.c:35
#1  0x00007fee4825a3f4 in nsProfileLock::FatalSignalHandler (signo=<optimized out>, info=<optimized out>, context=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/toolkit/profile/nsProfileLock.cpp:185
#2  <signal handler called>
#3  IsAboutToBeFinalizedInternal<js::ObjectGroup> (thingp=0x7ffc2545ed30) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/gc/Marking.cpp:2398
#4  js::gc::IsAboutToBeFinalizedUnbarriered<js::ObjectGroup*> (thingp=0x7ffc2545ed30) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/gc/Marking.cpp:2446
#5  0x00007fee488b17b3 in IsObjectKeyAboutToBeFinalized (keyp=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/vm/TypeInference.cpp:792
#6  js::ConstraintTypeSet::sweep (this=<optimized out>, zone=<optimized out>, oom=...) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/vm/TypeInference.cpp:4080
#7  0x00007fee4889e09f in JSScript::maybeSweepTypes (this=<optimized out>, oom=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/vm/TypeInference.cpp:4305
#8  0x00007fee48713f25 in SweepThing (script=0x7fede52d8300, oom=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:5361
#9  SweepArenaList<JSScript, js::AutoClearTypeInferenceStateOnOOM*> (arenasToSweep=<optimized out>, sliceBudget=..., args=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:5376
#10 js::gc::GCRuntime::sweepPhase (this=<optimized out>, sliceBudget=...) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:5417
#11 0x00007fee48716048 in js::gc::GCRuntime::incrementalCollectSlice (this=<optimized out>, budget=..., reason=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:6086
#12 0x00007fee487166f9 in js::gc::GCRuntime::gcCycle (this=<optimized out>, nonincrementalByAPI=<optimized out>, budget=..., reason=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:6278
#13 0x00007fee48716c6f in js::gc::GCRuntime::collect (this=<optimized out>, nonincrementalByAPI=<optimized out>, budget=..., reason=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:6384
#14 0x00007fee4871985c in js::gc::GCRuntime::gcSlice (this=0x7fee4103b3f8, millis=<optimized out>, reason=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:6457
#15 JS::IncrementalGCSlice (rt=<optimized out>, reason=JS::gcreason::INTER_SLICE_GC, millis=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/js/src/jsgc.cpp:7353
#16 0x00007fee46ef651a in nsJSContext::GarbageCollectNow (aReason=JS::gcreason::INTER_SLICE_GC, aIncremental=nsJSContext::IncrementalGC, aShrinking=nsJSContext::NonShrinkingGC, aSliceMillis=40)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/dom/base/nsJSEnvironment.cpp:1310
#17 0x00007fee46568681 in nsTimerImpl::Fire (this=0x7fedcbf03c50) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/xpcom/threads/nsTimerImpl.cpp:526
#18 0x00007fee4655f122 in nsTimerEvent::Run (this=0x7fee35cbbf70) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/xpcom/threads/TimerThread.cpp:282
#19 0x00007fee46561f97 in nsThread::ProcessNextEvent (this=<optimized out>, aMayWait=<optimized out>, aResult=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/xpcom/threads/nsThread.cpp:972
#20 0x00007fee46580411 in NS_ProcessNextEvent (aThread=0x7ffc2545ed30, aMayWait=false) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/xpcom/glue/nsThreadUtils.cpp:297
#21 0x00007fee467b9d3f in mozilla::ipc::MessagePump::Run (this=<optimized out>, aDelegate=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/ipc/glue/MessagePump.cpp:95
#22 0x00007fee46795b50 in MessageLoop::RunInternal (this=0x7fee49c00000 <vtable for nsImageMap+32>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/ipc/chromium/src/base/message_loop.cc:234
#23 MessageLoop::RunHandler (this=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/ipc/chromium/src/base/message_loop.cc:227
#24 MessageLoop::Run (this=0x7fee49c00000 <vtable for nsImageMap+32>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/ipc/chromium/src/base/message_loop.cc:201
#25 0x00007fee47b7b2fd in nsBaseAppShell::Run (this=0x7fee3ae19dc0) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/widget/nsBaseAppShell.cpp:156
#26 0x00007fee48228dda in nsAppStartup::Run (this=0x7fee3ae3b7e0) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/toolkit/components/startup/nsAppStartup.cpp:281
#27 0x00007fee4826269f in XREMain::XRE_mainRun (this=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/toolkit/xre/nsAppRunner.cpp:4296
#28 0x00007fee48262932 in XREMain::XRE_main (this=0x7ffc2545f438, argc=<optimized out>, argv=<optimized out>, aAppData=0x7ffc2545f670)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/toolkit/xre/nsAppRunner.cpp:4382
#29 0x00007fee48262bdd in XRE_main (argc=0, argv=0x7fee49cfe000 <js::UnboxedExpandoObject::class_+216>, aAppData=0x7fee49cfe050 <js::UnboxedPlainObject::class_>, aFlags=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/toolkit/xre/nsAppRunner.cpp:4484
#30 0x0000000000404ca7 in do_main (argc=<optimized out>, argv=<optimized out>, xreDirectory=<optimized out>)
    at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/browser/app/nsBrowserApp.cpp:212
#31 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/www-client/firefox-45.0/work/firefox-45.0/browser/app/nsBrowserApp.cpp:352

Other crashes happened in jit.
firefox-45.0^d(18:13:02 10.03.2016)(custom-cflags dbus ffmpeg gstreamer gtk3 hwaccel jemalloc3 jit pulseaudio system-cairo system-icu system-jpeg system-libevent system-libvpx system-sqlite -bindist -custom-optimization -debug -egl -gmp-autoupdate -gstreamer-0 -hardened -neon -pgo -selinux -startup-notification -test -wifi

As soon as it crashes again (happens once every 1-2 days) I will rebuild firefox with USE="-system-cairo".
Comment 47 Adrien D 2016-03-20 10:10:24 UTC
layers.offmainthreadcomposition.async-animations;false 
layers.offmainthreadcomposition.enabled;false
+
-system-cairo => solves the problem for me :)
Comment 48 junkmailnotread 2016-04-10 10:37:11 UTC
I too was experiencing constant firefox crashing from about firefox-40 onwards.

About a month ago I set -system-cairo and have had no crashes since. Currently using firefox-45.0.1.
Comment 49 boxcars 2016-04-11 16:31:42 UTC
(In reply to junkmailnotread from comment #48)

Same here. ISTM it might be worth forcing the flag off.
Comment 50 Jory A. Pratt gentoo-dev 2017-08-26 17:56:50 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team