Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468132 - =www-client/chromium-26.0.1410.63 - "Aw, snap!" on several sites when built with media-libs/harfbuzz-0.9.16
Summary: =www-client/chromium-26.0.1410.63 - "Aw, snap!" on several sites when built w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://code.google.com/p/chromium/is...
Whiteboard:
Keywords:
Depends on: 470920
Blocks: gnome-3.8
  Show dependency tree
 
Reported: 2013-05-01 12:32 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2013-05-27 18:47 UTC (History)
1 user (show)

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


Attachments
chromium-system-harfbuzz-r0.patch (chromium-system-harfbuzz-r0.patch,654 bytes, patch)
2013-05-01 23:22 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger (iamnr3) 2013-05-01 12:32:43 UTC
If chromium is build with media-libs/harfbuzz-0.9.16 i'll get "Aw, snap" on several sites. I could reproduce it when visit the login page of google+ or google translate. Also on youtube it happens quite often.

However, i found this chromium bug [1], which mentioned harfbuzz and downgrading to media-libs/harfbuzz-0.9.12 fixed the issue for me.

Maybe we could adjust the dependencies?


[1] https://code.google.com/p/chromium/issues/detail?id=223500



emerge --info chromium
Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.9.0-rc8 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.0-rc8-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16356904 total,  13344584 free
KiB Swap:    8388600 total,   8388600 free
Timestamp of tree: Sat, 27 Apr 2013 04:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-local sunrise gamerlay hasufell
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=bdver1 -mno-movbe -mno-fma -mno-bmi -mno-tbm -mpopcnt --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-O2 -pipe -march=bdver1 -mno-movbe -mno-fma -mno-bmi -mno-tbm -mpopcnt --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1"
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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"                                                                                                                                                                                                                  
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                                                                  
MAKEOPTS="-j8"                                                                                                                                                                                                                     
PKGDIR="/usr/portage/packages"                                                                                                                                                                                                     
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                                             
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                    
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                                                          
PORTDIR="/usr/portage"                                                                                                                                                                                                             
PORTDIR_OVERLAY="/media/public/overlays/local /media/public/overlays/layman/sunrise /media/public/overlays/layman/gamerlay /media/public/overlays/layman/hasufell"                                                                 
SYNC="rsync://192.168.2.60/gentoo-portage"                                                                                                                                                                                         
USE="acl alsa amd64 avx berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri exif fftw flac fortran gallium gdbm gif gpm graphite iconv icu ipv6 jabber jpeg kde kipi lzma mad mmx mmxext modules mp3 mp4 mudflap multilib ncurses nls nptl opengl openmp pam pcre phonon png policykit qt4 readline sdl semantic-desktop session sip sse sse2 sse3 sse4_1 ssl ssse3 svg tcpd threads tiff truetype unicode v4l2 vdpau vorbis vpx webp x264 xcb 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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="krita sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="r600 radeon radeonsi" 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/chromium-26.0.1410.63 was built with the following:                                                                                                                                                                     
USE="cups -bindist -custom-cflags -gnome -gnome-keyring -gps -kerberos (-pulseaudio) (-selinux) -system-ffmpeg (-tcmalloc) -test" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -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="-O2 -pipe -march=bdver1 -mno-movbe -mno-fma -mno-bmi -mno-tbm -mtune=bdver1"
CXXFLAGS="-O2 -pipe -march=bdver1 -mno-movbe -mno-fma -mno-bmi -mno-tbm -mtune=bdver1"
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-05-01 23:22:18 UTC
Created attachment 347090 [details, diff]
chromium-system-harfbuzz-r0.patch

Thanks for providing the link.

We have a WebKit patch here: http://trac.webkit.org/changeset/143337/trunk/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp?format=diff&new=143337

I've attached a patch that can be used inside the ebuild.

Note however that harfbuzz-0.9.16 is ~arch, and latest ~arch chromium (27) doesn't have this issue.

If any developer wants to apply the patch, it's fine for me (except for ebuilds currently marked as stable), but I'd rather not take action here.
Comment 2 Pacho Ramos gentoo-dev 2013-05-24 17:28:42 UTC
We need to take care of this issue before an hypothetical future stabilization of newer gnome stuff
Comment 3 Mike Gilbert gentoo-dev 2013-05-24 17:31:41 UTC
(In reply to comment #2)

Chromium 27 has an open STABLEREQ.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-05-27 18:47:59 UTC
(In reply to Mike Gilbert from comment #3)
> Chromium 27 has an open STABLEREQ.

And now it can be closed as 27 is stable.