Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514958 - net-libs/webkit-gtk-2.4.9 x11-libs/pixman-0.32.4 - segmentation fault in sse2_blt () at .../work/pixman-0.32.4/pixman/pixman-sse2.c:4767
Summary: net-libs/webkit-gtk-2.4.9 x11-libs/pixman-0.32.4 - segmentation fault in sse2...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 19:56 UTC by tlirwin
Modified: 2016-01-30 13:04 UTC (History)
2 users (show)

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


Attachments
backtrace (surf-backtrace,8.00 KB, text/plain)
2014-06-24 19:56 UTC, tlirwin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tlirwin 2014-06-24 19:56:44 UTC
Created attachment 379618 [details]
backtrace

Get a segmentation fault when viewing a specific video with surf or uzbl (other videos play without fault).

[5121552.226905] surf[32414]: segfault at 7f3a27fffd98 ip 00007f3aa59f4cd0 sp 00007fff9a1cb1e8 error 4 in libpixman-1.so.0.32.4[7f3aa596e000+96000]
[5122221.170740] uzbl-core[1082]: segfault at 7f1d47fff000 ip 00007f1dcf70fcdd sp 00007fff474ee828 error 4 in libpixman-1.so.0.32.4[7f1dcf689000+96000]


Version info:
www-client/uzbl-2012.05.14
www-client/surf-0.6-r1
x11-libs/cairo-1.12.14-r4
net-libs/webkit-gtk-2.2.6-r200:2
x11-libs/pixman-0.32.4
Comment 1 tlirwin 2014-06-24 19:58:15 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.15-r3, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     3799332 total,   2762620 free
KiB Swap:   16386288 total,  14138264 free
Timestamp of tree: Sun, 22 Jun 2014 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.2.6b
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo nixphoeni x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -ggdb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -ggdb"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nixphoeni /usr/local/portage"
USE="X acl acpi amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gif iconv ipv6 jpeg jpeg2 lm_sensors mmx modules multilib ncurses nls nptl openmp pam pcre png readline session sse sse2 ssl tcpd tiff truetype unicode 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" 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" 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_2" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Branko Grubic 2015-05-25 13:03:39 UTC
Not sure is this related, I reported one bug with crash in same pixman function, around same code line in newer pixman release

webkitgtk bugzilla report
https://bugs.webkit.org/show_bug.cgi?id=133621
freedesktop (pixman) bugzilla report
https://bugs.freedesktop.org/show_bug.cgi?id=90627 

currently here 
net-libs/webkit-gtk-2.4.9
x11-libs/pixman-0.32.6
Comment 3 Branko Grubic 2015-05-25 13:06:41 UTC
(In reply to tlirwin from comment #1)
> Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.15-r3,
> 3.0.6-gentoo x86_64)
> =================================================================
> System uname:
> Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
> KiB Mem:     3799332 total,   2762620 free
> KiB Swap:   16386288 total,  14138264 free
> Timestamp of tree: Sun, 22 Jun 2014 14:30:01 +0000
> ld GNU ld (GNU Binutils) 2.23.2
> app-shells/bash:          4.2_p45
> dev-java/java-config:     2.2.0
> dev-lang/python:          2.6.8-r3, 2.7.5-r3, 3.2.5-r3, 3.3.3
> dev-util/cmake:           2.8.11.2
> dev-util/pkgconfig:       0.27.1
> sys-apps/baselayout:      2.2
> sys-apps/openrc:          0.12.4
> sys-apps/sandbox:         2.6-r1
> sys-devel/autoconf:       2.13, 2.68
> sys-devel/automake:       1.10.3, 1.11.1, 1.12.6, 1.13.4
> sys-devel/binutils:       2.23.2
> sys-devel/gcc:            4.5.4, 4.7.3-r1
> sys-devel/gcc-config:     1.7.3
> sys-devel/libtool:        2.2.6b
> sys-devel/make:           3.82-r4
> sys-kernel/linux-headers: 3.13 (virtual/os-headers)
> sys-libs/glibc:           2.15-r3
> Repositories: gentoo nixphoeni x-portage
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="* -@EULA"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=core2 -pipe -ggdb"
> 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 /etc/texmf/language.dat.d
> /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
> CXXFLAGS="-O2 -march=core2 -pipe -ggdb"
> 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"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> 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"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/var/lib/layman/nixphoeni /usr/local/portage"
> USE="X acl acpi amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm
> gif iconv ipv6 jpeg jpeg2 lm_sensors mmx modules multilib ncurses nls nptl
> openmp pam pcre png readline session sse sse2 ssl tcpd tiff truetype unicode
> 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"
> 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" 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_2"
> RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon"
> 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, LANG, LC_ALL,
> MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

Not sure how important this is, but looks weird (at least)
AMD_Phenom-tm-_II_X4_965_Processor  
and you use 
CFLAGS="-O2 -march=core2 -pipe -ggdb"
CXXFLAGS="-O2 -march=core2 -pipe -ggdb"

using -march=core2 for athlon is wrong?
Comment 4 Branko Grubic 2015-05-25 13:09:10 UTC
(In reply to bitlord from comment #3)
> (In reply to tlirwin from comment #1)
> > Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.15-r3,
> > 3.0.6-gentoo x86_64)
> > =================================================================
...
> 
> Not sure how important this is, but looks weird (at least)
> AMD_Phenom-tm-_II_X4_965_Processor  
> and you use 
> CFLAGS="-O2 -march=core2 -pipe -ggdb"
> CXXFLAGS="-O2 -march=core2 -pipe -ggdb"
> 
> using -march=core2 for athlon is wrong?

Sorry for the noise, probably I missed something, like you are using another box for building packages?
Comment 5 Siarhei Siamashka 2016-01-27 21:24:41 UTC
BTW, sse2_blt is nothing else but a 2D variant of memcpy. It is a rather lightweight function, which does no special sanity checking for the input arguments and expects the caller to always use it correctly.

Segfaulting in sse2_blt and blaming pixman is very similar to segfaulting in memcpy and blaming glibc.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-01-27 23:12:11 UTC
Reassigning to webkit-gtk maintainers
Comment 7 Pacho Ramos gentoo-dev 2016-01-30 13:04:55 UTC
This won't be fixed ever for 2.4 webkit, please verify if this is still valid with a browser using webkit-gtk:4 slot, try with 2.10.x versions