Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607454 - =www-client/chromium-56.0.2924.76[-system-ffmpeg]: crashes ( "Aw, Snap!" ) on some pages
Summary: =www-client/chromium-56.0.2924.76[-system-ffmpeg]: crashes ( "Aw, Snap!" ) on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 607742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-28 09:22 UTC by Anton Kuleshov
Modified: 2017-02-27 07:13 UTC (History)
14 users (show)

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


Attachments
emerge --info (emerge-info.log,17.93 KB, text/x-log)
2017-01-28 09:22 UTC, Anton Kuleshov
Details
crash log (crash.log,1.03 KB, text/x-log)
2017-01-28 09:23 UTC, Anton Kuleshov
Details
emerge --info (info.txt,5.63 KB, text/plain)
2017-01-28 17:06 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
backtrace (backtrace.txt,21.25 KB, text/plain)
2017-01-29 20:30 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kuleshov 2017-01-28 09:22:36 UTC
Created attachment 461672 [details]
emerge --info

After today's update chromium crashes on some pages. This happens for example on https://steamcommunity.com/chat ( not sure, but logon may be required ).
Let me know if you want more information.
Comment 1 Anton Kuleshov 2017-01-28 09:23:47 UTC
Created attachment 461674 [details]
crash log
Comment 2 Anton Kuleshov 2017-01-28 09:34:31 UTC
Other examples: vk.com faceit.com
Comment 3 Daniel Augustin 2017-01-28 09:39:39 UTC
Happens for me too. Another example would be play.google.com/music/listen.

From what I can tell, google-chrome-56 renders all those pages just fine.
Comment 4 Anton Kuleshov 2017-01-28 09:44:16 UTC
Extension Checker Plus for Gmail also crashes when receiving notification of a new email.
Comment 5 wbrana 2017-01-28 09:59:19 UTC
It seems to be related to USE="system-ffmpeg" on my system.
Duplicate of https://bugs.gentoo.org/show_bug.cgi?id=606992
Comment 6 nE0sIghT 2017-01-28 10:00:35 UTC
Confirming. Downgraded to 55.

Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.4.39-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.3
KiB Mem:    16390376 total,   6319712 free
KiB Swap:    2095100 total,   2046096 free
Timestamp of repository gentoo: Fri, 27 Jan 2017 14:03:21 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 5.4.0-r2::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: -1

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay/
    masters: gentoo

vortex
    location: /var/db/repos/vortex
    sync-type: git
    sync-uri: https://github.com/nE0sIghT/vortex-overlay.git
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /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="-O3 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/portage"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" 	http://mirror.yandex.ru/gentoo-distfiles/ 	http://mirror.mdfnet.se/gentoo 	http://mirror.leaseweb.com/gentoo/ 	http://ftp.uni-erlangen.de/pub/mirrors/gentoo 	http://trumpetti.atm.tut.fi/gentoo/ "
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="7zip X a-like-o a52 aac aacplus aacs aalib acl acpi alsa alsa-plugin amd64 androiddump apng applet archive argyllcms artworkextra audacious audiofile autoconf-archive automount avx bazaar berkdb bidi bittorrent bittorrent-external blksha1 bluray branding broadway bsf bzip2 cairo caps ccid chardet chdir cjk cli client colord cover cracklib cron crypt css cuda cue cupsddk curl cxx dbus dconf device-mapper dga dhcp dhcpcd dht diff dirac disk-partition divx djvu dnsretry dos drawing dri driver drm dv eap-tls edit elfutils enca encode exceptions exif experimental extensions extras facedetect fat fbcondecor ffmpeg fftw filecaps fileinfo firmware flac fontconfig fortran frei0r fts3 fuse g-sorcery g3dvl gd gdbm gdm geoip gif glade glib glitz gnome gnome-keyring gnome-online-accounts gnome-shell gnuefi gpg gphoto2 gpl gpm gptfdisk graphite grp grub gstreamer gtk gtk3 gtkstyle gudev gzip harfbuzz hash hddtemp highlight histman hog http hvm hwdb iconsets iconv icq id3tag idle idn imagemagick infinality inifile intl introspection ioemu iptables ipv6 iso jabber java javascript jdbc jemalloc jemalloc3 jingle jit joystick jpeg jpeg2k kate keymap kinetic kmod kms kvm ladspa lame lcms libass libcaca libguess libkms libmpv libnotify libsamplerate libsecret libtiger lights lm_sensors loop-aes lto lucene lyrics lz4 lzma lzo mad magic matroska mbox melt mercurial mime minizip mmxext mng modern-top modules mp2 mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpris mpu401 mtp mudflap multilib multimedia musepack mvl mysql mysqli natspec nautilus netplay network nls nptl nscd nss nss-pem ntfs ntfsprogs nvidia offensive ofx ogg ogm oodict openal opencore-amr opengl openmp openssl opensslcrypt optimization optimized-qmake oscar osmesa pam pango parse-clocks passwordsave pcap pcf pch pcre pcre16 pdf pdo pgo phar php player plugins png policykit posix postproc postscript ppapi ppds pppd projectm proprietary-codecs psf pulseaudio purple qml qpak quicktime rar readline realmedia realtime reiserfs resolvconf romio rtsp ru-dv ru-g ru-i ru-k run-exes s3tc sanitize scale0tilt screen screenshot sdl secure-delete sendto session simplexml skins slang slp smp sndfile socialweb sockets sound sounds speex spell split-ucode sqlite sqlite3 sse2_4way sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssh-agent ssl ssse3 staging startup-notification stream stroke strong-optimization subtitles subversion svc svg sync-plugin-portage syslog system-icu system-jpeg systemd t1lib taglib tcpd textures theora threads thunderbird tiff tint2conf tk tls tokenizer toolbar tools tracepath trayicon truetype tta tweak-mode twolame udev udisks unicode unzip upower usb utils uvm v4l2 vaapi vala vdpau verse vf-dlopen video vkontakte vorbis vorbis-psy vpx vulkan wad wav wavpack webgl webkit webp webphoto webstart whiteboarding widevine winbind wma wmf wmp x264 x265 xanim xattr xcb xcomposite xdg xhtml xinetd xkb xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xslt xv xvfb xvid xz youtube zip zlib" ABI_X86="64" CAMERAS="ptp2" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev joystick" KERNEL="linux" L10N="ru ru_RU en" LINGUAS="ru ru_RU en" NETBEANS_MODULES="apisupport cnd enterprise harness ide j2ee java nb php profiler webcommon websvccommon xml" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia"
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

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

www-client/chromium-55.0.2883.75::gentoo was built with the following:
USE="(gn) gnome gnome-keyring (pic) proprietary-codecs pulseaudio widevine -cups -custom-cflags (-gtk3) -hangouts -kerberos (-neon) (-selinux) -suid (-system-ffmpeg) -tcmalloc -test" ABI_X86="64" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW"
CFLAGS="-march=native -pipe -O2"
CXXFLAGS="-march=native -pipe -O2 -fno-delete-null-pointer-checks"
Comment 7 Anton Kuleshov 2017-01-28 10:07:56 UTC
wbrana@gmail.com, yes, it seems so. But system-ffmpeg use flag is masked now.
Comment 8 wbrana 2017-01-28 10:15:34 UTC
Correction: Crash occurs with USE="-system-ffmpeg"
Comment 9 manu 2017-01-28 10:59:10 UTC
Same problem here
Comment 10 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2017-01-28 14:29:35 UTC
This seems to be related to ogg/mp3 playback.
On one of the sites that crash here, the last thing that gets loaded are .ogg and .mp3 files. You can see this in the Developer Tool (F12).
Comment 11 Vladimir Pavljuchenkov (SpiderX) 2017-01-28 17:06:02 UTC
Created attachment 461734 [details]
emerge --info

The same is for me too.
Comment 12 Paul Osmialowski 2017-01-28 19:39:48 UTC
When started in console, it prints following on every "Aw, snap!" (which happens pretty often for me):

[12219:12249:0128/193658.797111:ERROR:nss_util.cc(808)] After loading Root Certs, loaded==false: NSS error code: -8018
Received signal 11 SEGV_MAPERR 000000000000
#0 0x55ca3ba9fe8e <unknown>
#1 0x55ca3baa024b <unknown>
#2 0x7fde1c4d8e50 <unknown>
#3 0x55ca3f460b7e <unknown>
#4 0x55ca3b2df5bc <unknown>
#5 0x55ca3baf9d7c <unknown>
#6 0x55ca3bb2813e <unknown>
#7 0x55ca3bac0038 <unknown>
#8 0x55ca3bac1d4d <unknown>
#9 0x55ca3bac2c45 <unknown>
#10 0x55ca3bac2f39 <unknown>
#11 0x55ca3babef12 <unknown>
#12 0x55ca3bae077a <unknown>
#13 0x55ca3bafdce7 <unknown>
#14 0x55ca3baf9c22 <unknown>
#15 0x7fde1c4cf45a <unknown>
#16 0x7fde137d1c0d clone
  r8: 0000000000000000  r9: 000001db6e2bd280 r10: fffffe26205972c8 r11: fffffffd51ae2ec8
 r12: 0000000000000000 r13: 0000000000000000 r14: 000001db6f06ea80 r15: 000001db6df44400
  di: 000001db6e2bd200  si: 000001db6e2bd280  bp: 000001db6f34cc00  bx: 0000000000000000
  dx: 0000000000000001  ax: 0000000000000000  cx: 0000000000000003  sp: 00007fde01dc3330
  ip: 000055ca3f460b7e efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Comment 13 Paul Osmialowski 2017-01-28 19:41:56 UTC
Ignore the first line on NSS util: it happens right at startup and is seen only once.
Comment 14 Mircea Sava 2017-01-28 22:16:10 UTC
Also, minds.com and pornhub.com

Is !system-ffmpeg restriction temporary or is there a decision to phase it off completely?
Comment 15 Mircea Sava 2017-01-28 23:11:09 UTC
Yeah! Amazon too.
Comment 16 Daniel Augustin 2017-01-28 23:25:11 UTC
(In reply to Mircea Sava from comment #14)
> Is !system-ffmpeg restriction temporary or is there a decision to phase it
> off completely?

You'll find the answer in package.use.stable.mask:

# Mike Gilbert <floppym@gentoo.org> (26 Jan 2017)
# Needs >=media-video/ffmpeg-3
www-client/chromium system-ffmpeg
Comment 17 Dmitry 2017-01-29 16:22:01 UTC
I have the same problem. Chromium-56.0.2924.76 with "system-ffmpeg" flag disabled crashing in some web pages, such as gmail.com (with hangouts chat enabled in gmail settings), twitter.com with some video content on page and some other sites.
And now I can't rollback to previous version, because it was removed from portage tree.
Comment 18 Mircea Sava 2017-01-29 16:43:10 UTC
(In reply to ghost99 from comment #17)
> I have the same problem. Chromium-56.0.2924.76 with "system-ffmpeg" flag
> disabled crashing in some web pages, such as gmail.com (with hangouts chat
> enabled in gmail settings), twitter.com with some video content on page and
> some other sites.
> And now I can't rollback to previous version, because it was removed from
> portage tree.

You can still recover the previous ebuild by going over to the changelog section on the package page where it says 'remove old', copying and pasting the diff output (red stuff only) to a new file and removing the first column from every single line (minus sigh) then save it to your local overlay.
Comment 19 Mike Gilbert gentoo-dev 2017-01-29 19:08:03 UTC
I have restored chromium-55.0.2883.75 so that people can downgrade to a working version until this issue has been resolved.

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

commit 5506620e69cb618783bce364861f147b5218bae6
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jan 29 14:00:30 2017 -0500

    Revert "www-client/chromium: remove old"
    
    This reverts commit abd3b23c1ba34373d1512a2bce3e00d0a2935691.
    M56 is broken with system-ffmpeg disabled.
    
    Bug: https://bugs.gentoo.org/607454

 www-client/chromium/Manifest                       |   1 +
 ...2924.76.ebuild => chromium-55.0.2883.75.ebuild} | 176 ++++++++++++++++-----
 www-client/chromium/metadata.xml                   |   1 +
 3 files changed, 138 insertions(+), 40 deletions(-)
Comment 20 Mike Gilbert gentoo-dev 2017-01-29 20:30:07 UTC
Created attachment 461858 [details]
backtrace
Comment 21 Mike Gilbert gentoo-dev 2017-01-29 20:36:57 UTC
Source code referenced in stack frame 0.

https://chromium.googlesource.com/chromium/src/+/56.0.2924.76/media/filters/ffmpeg_demuxer.cc#1216
Comment 22 Mike Gilbert gentoo-dev 2017-01-30 02:24:33 UTC
I do not experience the problem when building manually with a minimal args.gn:

is_debug = false
is_clang = false
use_sysroot = false
use_gold = false
use_gnome_keyring = false
linux_use_bundled_binutils = false
ffmpeg_branding = "Chrome"
enable_nacl = false
treat_warnings_as_errors = false
use_kerberos = false
proprietary_codecs = true

I'm guessing there is some bad interaction with bundled ffmpeg and one of the other un-bundled libraries.
Comment 23 Mike Gilbert gentoo-dev 2017-01-30 06:18:44 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cda6edb27c2288e01ced3a797afb86b5bd9f2b1

commit 9cda6edb27c2288e01ced3a797afb86b5bd9f2b1
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Mon Jan 30 01:10:02 2017 -0500

    www-client/chromium: conditionally apply system-ffmpeg patch
    
    This patch causes chromium to segfault when using the bundled ffmpeg.
    
    Bug: https://bugs.gentoo.org/607454
    Package-Manager: Portage-2.3.3_p42_p352298, Repoman-2.3.1_p35_p352298

 ...6.0.2924.76.ebuild => chromium-56.0.2924.76-r1.ebuild} | 15 ++++++++-------
 www-client/chromium/chromium-57.0.2987.13.ebuild          | 12 +++++++-----
 2 files changed, 15 insertions(+), 12 deletions(-)
Comment 24 Ben Kohler gentoo-dev 2017-01-30 18:08:10 UTC
*** Bug 607742 has been marked as a duplicate of this bug. ***
Comment 25 Mike Gilbert gentoo-dev 2017-01-30 18:20:25 UTC
*** Bug 607742 has been marked as a duplicate of this bug. ***
Comment 26 Mircea Sava 2017-02-25 12:29:01 UTC
Not really pertinent to the bug itself but, ffmpeg-3 has been out and about for some time now in the stable branch, so shouldn't the system-ffmpeg restriction be removed now?
Comment 27 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-02-27 07:13:14 UTC
(In reply to Mircea Sava from comment #26)
> Not really pertinent to the bug itself but, ffmpeg-3 has been out and about
> for some time now in the stable branch, so shouldn't the system-ffmpeg
> restriction be removed now?

Done in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac1d420e8cf377c1e714665f1f520e062a816c50 .

Note comments on old closed bugs may be hard to notice, so in the future please consider just filing a new bug in such cases.

Thanks for the suggestion.