Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505574 - x11-libs/glamor-0.6.0 crashes X server while viewing Wasteland 1 game in Desura
Summary: x11-libs/glamor-0.6.0 crashes X server while viewing Wasteland 1 game in Desura
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: http://www.desura.com/games/wasteland...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-24 23:39 UTC by Andrei Slavoiu
Modified: 2014-03-30 19:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2014-03-24 23:39:29 UTC
[ 59823.160] (EE) Backtrace:
[ 59823.160] (EE) 0: /usr/bin/X (xorg_backtrace+0x3f) [0x57c0ef]
[ 59823.160] (EE) 1: /usr/bin/X (0x400000+0x17fc09) [0x57fc09]
[ 59823.160] (EE) 2: /lib64/libpthread.so.0 (0x7f30c9b18000+0x100c0) [0x7f30c9b280c0]
[ 59823.160] (EE) 3: /usr/lib64/dri/radeonsi_dri.so (0x7f30c5ea8000+0x3699e0) [0x7f30c62119e0]
[ 59823.160] (EE) 4: /usr/lib64/dri/radeonsi_dri.so (0x7f30c5ea8000+0x3688f2) [0x7f30c62108f2]
[ 59823.160] (EE) 5: /usr/lib64/dri/radeonsi_dri.so (0x7f30c5ea8000+0x185e4d) [0x7f30c602de4d]
[ 59823.160] (EE) 6: /usr/lib64/dri/radeonsi_dri.so (0x7f30c5ea8000+0x162af6) [0x7f30c600aaf6]
[ 59823.160] (EE) 7: /usr/lib64/dri/radeonsi_dri.so (0x7f30c5ea8000+0xfec5b) [0x7f30c5fa6c5b]
[ 59823.160] (EE) 8: /usr/lib64/xorg/modules/libglamoregl.so (0x7f30ca538000+0x1948) [0x7f30ca539948]
[ 59823.160] (EE) 9: /usr/lib64/xorg/modules/libglamoregl.so (glamor_egl_create_argb8888_based_texture+0x83) [0x7f30ca539c33]
[ 59823.160] (EE) 10: /usr/lib64/libglamor.so.0 (0x7f30c8100000+0x26fbc) [0x7f30c8126fbc]
[ 59823.160] (EE) 11: /usr/lib64/libglamor.so.0 (0x7f30c8100000+0x27736) [0x7f30c8127736]
[ 59823.160] (EE) 12: /usr/lib64/libglamor.so.0 (glamor_create_pixmap+0x290) [0x7f30c8104898]
[ 59823.160] (EE) 13: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f30c67e8000+0x4ac33) [0x7f30c6832c33]
[ 59823.161] (EE) 14: /usr/bin/X (0x400000+0x32ade) [0x432ade]
[ 59823.161] (EE) 15: /usr/bin/X (0x400000+0x36a7e) [0x436a7e]
[ 59823.161] (EE) 16: /usr/bin/X (0x400000+0x3a76a) [0x43a76a]
[ 59823.161] (EE) 17: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f30c8789a45]
[ 59823.161] (EE) 18: /usr/bin/X (0x400000+0x263ee) [0x4263ee]
[ 59823.161] (EE) 
[ 59823.161] (EE) Segmentation fault at address 0x10
[ 59823.161] (EE) 
Fatal server error:
[ 59823.161] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 59823.161] (EE) 
[ 59823.161] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[ 59823.161] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 59823.161] (EE) 
[ 59823.161] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 59823.165] (EE) Server terminated with error (1). Closing log file.


Reproducible: Always

Steps to Reproduce:
1. Open Desura and log in
2. Search for the Wasteland 1 game
3. Open the game description
Actual Results:  
Notice that X crashes when trying to display that page (NOTE it works to view it in a browser, tried with konqueror)

Expected Results:  
View the game description and be able to install the game

Portage 2.2.9-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.18-r1, 3.14.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.0-rc6-x86_64-AMD_A10-7850K_APU_with_Radeon-TM-_R7_Graphics-with-gentoo-2.2
KiB Mem:    30756800 total,  22225992 free
KiB Swap:   66803708 total,  66803708 free
Timestamp of tree: Mon, 24 Mar 2014 19:15:01 +0000
ld GNU gold (GNU Binutils 2.24) 1.11
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.6, 3.3.4
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo gamerlay x-portage
Installed sets: @games
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip parallel-fetch parallel-install 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://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org"
LANG="ro_RO.utf8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7 -l8"
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/gamerlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus aalib accessibility acl acpi alsa amd64 amr analitza autoipd avahi avx berkdb branding bzip2 cairo caps cdda cdr clang cli client cmake consolekit cracklib crypt curl cxx dbus declarative doc dos dot dri dts dvd dvdr egl emboss encode exif fam fbcondecor ffmpeg firefox flac fma4 fortran gbm gcrypt gd gdbm gif gles1 gles2 gmp gnutls gold gpm http iconv icu idn ipv6 jadetex jpeg jpeg2k kde kdenlive kdepim kipi lcms libcaca libnotify llvm-shared-libs lm_sensors lzma mad mdnsresponder-compat melt metalink midi mikmod mmx mmxext mng mod modules mp3 mp4 mpeg multimedia ncurses nettle network networkmanager nls nptl ntp ogg openal opencl opengl openmp openssl openvg opus pam pango pch pcntl pcre pdf phonon plasma png policykit ppds qt3support qt4 r600-llvm-compiler readline rtmp samba schroedinger sdk sdl semantic-desktop session sndfile sound speex spell spice sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg symlink systemtap tcpd theora threads tiff timidity truetype udev udisks unicode upower usb valgrind vdpau videos voice vorbis vpx webkit webp x264 xattr xcb xcomposite xinerama xml xrandr xv xvfb xvid zeroconf zip zlib" ABI_X86="64 32" 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" GRUB_PLATFORMS="efi-64" 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" LINGUAS="ro en eo" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi modesetting" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

x11-libs/glamor-0.6.0 was built with the following:
USE="xv -gles -static-libs"


x11-base/xorg-server-1.15.0 was built with the following:
USE="doc ipv6 nptl suid udev xorg xvfb -dmx -kdrive -minimal (-selinux) -static-libs -tslib -unwind -xnest"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"


x11-drivers/xf86-video-ati-7.3.0 was built with the following:
USE="glamor udev"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"


media-libs/mesa-9999 was built with the following:
USE="classic egl gallium gbm gles1 gles2 llvm llvm-shared-libs nptl opencl openvg r600-llvm-compiler vdpau -bindist -debug -osmesa -pax_kernel -pic (-selinux) -wayland -xa -xvmc" ABI_X86="32 64 -x32" VIDEO_CARDS="radeon radeonsi -freedreno -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -vmware"
Comment 1 Andrei Slavoiu 2014-03-24 23:40:41 UTC
I believe this patch fixes the crash, I'm going to try it next http://cgit.freedesktop.org/xorg/driver/glamor/commit/?id=cccfea4454949e3e376be42bb230603848997195
Comment 2 Andrei Slavoiu 2014-03-24 23:45:46 UTC
I can confirm that after rebiding glamor 0.6.0 with the mentioned patch applied I was able to view and install the game.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-03-30 19:06:21 UTC
Applied in 0.6.0-r1