Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409193 - x11-drivers/xf86-video-ati-6.14.3-r1 with x11-base/xorg-server-1.12 - segmentation fault in radeon_drv.so
Summary: x11-drivers/xf86-video-ati-6.14.3-r1 with x11-base/xorg-server-1.12 - segment...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 16:12 UTC by Massimo Balestra
Modified: 2012-07-07 20:53 UTC (History)
6 users (show)

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


Attachments
here is the full Xorg.0.log file (Xorg.0.log,20.86 KB, text/plain)
2012-03-21 16:13 UTC, Massimo Balestra
Details
Trace with xf86-video-ati-6.14.4-r1 (xf86-video-ati-6.14.4-r1.Xorg.0.log,57.05 KB, text/plain)
2012-07-07 15:13 UTC, Mickaël Bucas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Balestra 2012-03-21 16:12:44 UTC
After the upgrade of xorg-server to version 1.12 I get the following error in the Xorg.0.log.
-----------------------------------
..................
[   151.110] Backtrace:
[   151.110] 0: /usr/bin/X (xorg_backtrace+0x4f) [0x81ae43b]
[   151.110] 1: /usr/bin/X (0x8048000+0x169b4a) [0x81b1b4a]
[   151.110] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb779940c]
[   151.110] 3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0xb71be000+0x3483f) [0xb71f283f]
[   151.110] 4: /usr/bin/X (InitOutput+0x861) [0x80b764f]
[   151.110] 5: /usr/bin/X (0x8048000+0x1da40) [0x8065a40]
[   151.110] 6: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb748f32e]
[   151.110] 7: /usr/bin/X (0x8048000+0x1d7e1) [0x80657e1]
[   151.110] 
[   151.110] Segmentation fault at address (nil)
[   151.110] 
Fatal server error:
[   151.110] Caught signal 11 (Segmentation fault). Server aborting
........................
---------------------------------

As a conseguence the Xwindows does not start.
I use xfce as desktop manager and slim as login manager.

I already recompiled (several times) the 
x11-drivers/xf86-input-evdev
x11-drivers/xf86-video-ati
x11-drivers/xf86-video-fbdev
x11-drivers/xf86-video-vesa
x11-base/xorg-drivers

with no change.

I am using the kernel 3.3.0 and I tried also with version 3.2.9 with the same result.

It worked well with the previous version (1.11). I am going to mask the version 1.12 on my system and recompile to see what happens.

Here is my emerge --info
--------------------------------------------------
Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.3.0-gentoo i686)
=================================================================
System uname: Linux-3.3.0-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-2.1
Timestamp of tree: Wed, 21 Mar 2012 02:30:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5.1-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=native "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /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 -mtune=native "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.osuosl.org/ ftp://mirror.its.uidaho.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.cs.uni.edu/ ftp://mirror.datapipe.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ "
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US it en"
MAKEOPTS="-j1"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa apache2 apm apng audiofile auto-hinter bash-completion bluetooth branding bzip2 cairo cdda cdr chromedriver cleartype cli clucene clutter consolekit cracklib crypt css cups cxx dbus declarative device-mapper doc dri dts dv dvd dvdr eds emboss enca encode evo examples exif extras faac fam ffmpeg firefox flac fluidsynth fontconfig fortran frei0r ftp gd gdbm gdu gif gimp glx gnome gnutls gpm graphviz gstreamer gtk gtk3 gtkstyle guile gzip handbook hddtemp hunspell iconv icu id3tag ieee1394 ipod ipv6 ithreads jadetex java jpeg kde kdrive lcms libnotify libwww lm_sensors mad melt midi minizip mmx mng modules mp3 mp4 mpeg mplayer msn mudflap mysql ncurses networking nls nptl nptlonly odk offlinehelp ogg openexr opengl openmp oss pam pango pcre pdf pdfimport perl php plasma png policykit ppds pppd pulseaudio python qt3support qt4 quicktime rar readline rtmp samba sasl scanner sdl semantic-desktop sensord session sip smtp sndfile snmp sockets spell sql sqlite ssl startup-notification subversion svg sysfs tcpd templates threads tiff timidity tk tls tools truetype udev unicode unrar unzip upnp usb useland_GNU utils v4l v4l2 vala vba video vim-syntax vnc vorbis vpx wav weather webkit wifi win32codecs wxwidgets x264 x86 xbase xcb xcomposite xfce xfcr4 xfwm4 xine xml xorg xscreensaver xulrunner xv xvfb xvid yahoo yv12 zip zlib" ALSA_CARDS="intel8x0" 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="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 stage tables krita karbon braindump" 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" LINGUAS="en_US it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

----------------------------------
Thank you
Massimo

Reproducible: Always

Steps to Reproduce:
1.compile and install xorg 1.12 and its drivers
2.start the x system
3.
Actual Results:  
the x server crashes with asegmentation fault error in the log

Expected Results:  
The x server starts
Comment 1 Massimo Balestra 2012-03-21 16:13:48 UTC
Created attachment 306197 [details]
here is the full Xorg.0.log file
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-21 16:36:30 UTC
Which version of x11-drivers/xf86-video-ati is that?
(Post your `emerge -vpq x11-drivers/xf86-video-ati` output, please.)
Comment 3 Massimo Balestra 2012-03-21 17:20:14 UTC
maxlin ~ # emerge -vpq x11-drivers/xf86-video-ati
[ebuild   R   ] x11-drivers/xf86-video-ati-6.14.3-r1

Thanks
Comment 4 Massimo Balestra 2012-03-21 18:31:31 UTC
I just tried to mask in /etc/portage/package.mask
>=x11-base/xorg-server-1.12.0
>=x11-base/xorg-drivers-1.12

and recompiled the 
xorg-server-1.11.4, 
xorg-drivers-1.11, 
xf86-input-evdev-2.6.0, 
xf86-video-ati-6.14.3-r1, 
xf86-video-fbdev-0.4.2, 
xf86-video-vesa-2.3.0-r1

and everything seems to start correctly (I am not able to see if the x-windows appars really on the screen because I am working remotely to my home pc), there are no errors in the Xorg.0.log

It seems really something related with the version 1.12 (the same behaviour was woth 1.12 and 1.12-r1)

Thanks
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-21 19:23:04 UTC
Can you try xf86-video-ati-9999 from the x11 overlay?
Comment 6 Massimo Balestra 2012-03-22 01:32:30 UTC
With xf86-video-ati-9999 it works with no problem.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-22 01:38:33 UTC
If you can find the commit which made it work, we can include the patch in the next revision of the ebuild. Else you will have to stay on -9999 until the next version of xf86-video-ati is released by upstream.

You can do a "manual" bisect by looking at the changes since 6.14.3 in http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/log/ and runnning

EGIT_COMMIT="..." emerge -1 =xf86-video-ati-9999
Comment 8 walter 2012-03-22 05:29:29 UTC
same problem here.After upgrading kernel to 3.3.0 and  xorg-server-1.12, the segment fault comes up.

# eselect  mesa  list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
  [1]   gallium *
r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
sw (Software renderer)
  [1]   classic
  [2]   gallium *

# lspci | grep -i vga
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-22 08:28:07 UTC
(In reply to comment #8)
Same problem and also same solution as per comment 6?
Comment 10 Markus Wernig 2012-03-22 21:49:18 UTC
Hi all

I had 1.12.0-r1 segfault on kernel 3.2.9 and 3.3.0 with this "backtrace":

[   443.945] 
[   443.945] Backtrace:
[   443.945] 0: /usr/bin/X (xorg_backtrace+0x36) [0x56c676]
[   443.945] 1: /usr/bin/X (0x400000+0x170179) [0x570179]
[   443.945] 2: /lib64/libpthread.so.0 (0x7fa93d620000+0x103e0) [0x7fa93d6303e0]
[   443.945] 
[   443.945] Segmentation fault at address (nil)
[   443.946] 
Fatal server error:
[   443.946] Caught signal 11 (Segmentation fault). Server aborting


Will try with xf86-video-ati-9999
Comment 11 Massimo Balestra 2012-03-23 02:43:34 UTC
I think I did what youa sked me but ... it si strange.

I hope I did correctly (it is the first time I do something like this). I write here what I did so you can correct me.

I went to the page http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/log/ and for each commit in copy and pasted the "commit" hash string (not the tree, not the parent).
And I run the emerge setting the variable EGIT_COMMIT to that value and run the emerge, as you told me.
I went backwards: from the newest to the oldest.

Everything went ok for some time but at acertain point te compilation begun to fail with the error:
********************************************
.....................
  CC     radeon_dri2.lo
In file included from /var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:37:0:
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon.h:795:5: warning: 'PCITAG' is deprecated
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:532:17: error: field 'link' has incomplete type
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:536:19: error: field 'reference_list' has incomplete type
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c: In function 'ListAddDRI2ClientEvents':
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:564:5: warning: implicit declaration of function 'list_add'
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c: In function 'ListDelDRI2ClientEvents':
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:577:5: warning: implicit declaration of function 'list_del'
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c: In function 'radeon_dri2_client_state_changed':
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:591:9: warning: implicit declaration of function 'list_init'
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:599:13: warning: implicit declaration of function 'list_for_each_entry'
/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src/radeon_dri2.c:599:80: error: expected ';' before '{' token
make[2]: *** [radeon_dri2.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999_build/src'
make[1]: *** [all-recursive] Error 1
......................
*******************************************


Here is what I did.

radeon/kms: add TN pci idsHEADmaster
EGIT_COMMIT="6ed191c33caa33c12c2c6dafcba3a5ab1bf4a02f" emerge -1 =xf86-video-ati-9999
radeon/kms: add support for TN (trinity) APUs
EGIT_COMMIT="55d65fcf33eb383e3fbc7a1d469ab68a70a7ab37" emerge -1 =xf86-video-ati-9999
r6xx: initialize SX_MISC
EGIT_COMMIT="b5cf9bd693cf4090956add4c33c4fae9c3069a03" emerge -1 =xf86-video-ati-9999
DRI2: Unreference buffers immediately when event wait info is invalidated.
EGIT_COMMIT="355dc4295912c153f5333421594fa90aa119a056" emerge -1 =xf86-video-ati-9999
Re-register DRM FD wakeup handler for each server generation.
EGIT_COMMIT="fe51469b2e02e4d565050bab077985270fb58a9b" emerge -1 =xf86-video-ati-9999
Fix ConnectorTable crash in radeon_output.c
EGIT_COMMIT="878454ae8d8e96dd27a19d0b30940d014c4cd7e2" emerge -1 =xf86-video-ati-9999
radeon: avoid rounding errors in texture coords for textured xv
EGIT_COMMIT="688c8a54a00b01e73a11970ad2abe858f8c7c5c4" emerge -1 =xf86-video-ati-9999
radeon: r6xx-eg use linear general when using scratch bo
EGIT_COMMIT="2778b56252124ef6f636a493d2e1457b43911c37" emerge -1 =xf86-video-ati-9999
Handle new xorg_list API.
EGIT_COMMIT="c66ae235700f5efe64eb168327551b8f1d153c9c" emerge -1 =xf86-video-ati-9999
radeon: fix crash in drmmode_create_bo_pixmap()
EGIT_COMMIT="7ff277e22c629308915307bbee96eb25ff77f8b9" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon/kms: reusing fd message is not an error
EGIT_COMMIT="60b949f34df5db05e0e102cc3daa33469aa50cfc" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
EXA/r6xx+: Only set write domain or read domains, not both. (Bug #43893)
EGIT_COMMIT="e20284409937d784847339b5d466a95012d85940" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Fix UMS build failure.
EGIT_COMMIT="5a7f64c5170ca424c9dca739662018e30df13413" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Remove unused local variable 'height'.
EGIT_COMMIT="87f776b966f4200c97a989536d4b71822ae4c0b3" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
evergreen: Initialize source surface member for textured video.
EGIT_COMMIT="f63262e2f112a348c45f0dcecd891c8b6d9c5ee8" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: fix tiling for weird resolution
EGIT_COMMIT="c8f104d38870f14049402bbc14f662c151caeeef" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
r600-evergreen: use common surface allocator for tiling v11
EGIT_COMMIT="615033f2b5e3817e335e9d022fc9fdcf8ac8b11a" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Fix vline range calculations.
EGIT_COMMIT="36c190671081967bac6fff48aaf66d67b639a48c" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Check for empty vline ranges after clamping.
EGIT_COMMIT="bb0e1531ac6949d38025d7dcb19234fee33b2acf" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
EXA/r6xx+: fix rop setting for overlapping copies
EGIT_COMMIT="13b3aed4ef9afbcbaea1dcf0ed1acb162b240a3f" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
DPMS: Split non-modeset CRTC DPMS function.
EGIT_COMMIT="eb6d769a087b2ed5952f477fc3f0b0625810a287" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
UMS: Fix lockups in palette save/restore on pre-AVIVO chips.
EGIT_COMMIT="ac51e331895b216d288bc7bd108a38b362214668" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Update for new vgaHW API.
EGIT_COMMIT="0a8d04eeac95f4db9d03ee31070bd825a7feb0b2" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
DRI2: Can't use page flipping for pixmaps. (bug #42913)
EGIT_COMMIT="ae45d7e6d8e6844cd4586c9ee97c21b257fa788f" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: add some new pci ids
EGIT_COMMIT="aacbd629b02cbee3f9e6a0ee452b4e3f21376bd3" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: add original radeon to always tiled.
EGIT_COMMIT="bc54e415e2fd344939c5c788ea0686133a7e2c69" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: refine always tiled depth check
EGIT_COMMIT="ba46c7b0cf72d157748981eb3224d5eefb6200aa" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: r200 depth buffers are always tiled
EGIT_COMMIT="98b2d5fe1722a43c4bbe7711ed7180a3fb65305f" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Xv: Evergreen+ asics support 16k surfaces
EGIT_COMMIT="7dcefc69d9fbceae27cd03083c815e01a19b527e" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: add some new pci ids
EGIT_COMMIT="72e386d42516e7cd3c2cbf2fffc9174cd3ec8451" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
fixup xinerama since 9151f3b1c2ebcc34e63195888ba696f2183ba5e2
EGIT_COMMIT="3853c3020d05175ae180b9a188dec7c425bdd0b8" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
ddx/evergreen: Fix endian of ALU constants
EGIT_COMMIT="d669c34f140c000f88c4b4e464e44e6c8694f581" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
radeon: add missing FireMV pci id
EGIT_COMMIT="422bdd4fe6cb728e1dd08a56f6ee2d0f009cbfcb" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
ati: enable bg none when fbcon succeeds and we are built against ABI after 10.
EGIT_COMMIT="534fb6e413a909a9d1afd57d1c711844b7c5ddf4" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
UMS: Guard references to PCITAG / pciTag with XSERVER_LIBPCIACCESS (bug #42690)
EGIT_COMMIT="89452c08048c98fb5cc3dc551b3824be40d52cf2" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
DRI/DRI2: remove hard-coded limitation to 6 crtcs
EGIT_COMMIT="5ec34ed95948f7164184551615c1fc4c3eef3b98" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Turn compile time check into runtime check.
EGIT_COMMIT="4853ab2cdc3b97948c7cd69eaf4fff54f59774fc" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
check for xserver 1.9.4.901 to enable tiling by default
EGIT_COMMIT="bcdb54fe16ebf2e239b84eebf20e8adfe5094bff" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Bump version post release.
EGIT_COMMIT="edde94cba5321e6e51e7fd4d79dde5abc4944495" emerge -1 =xf86-video-ati-9999
-------------> Compile failed
Bump version for 6.14.3 release.
EGIT_COMMIT="93459f842c2d8dc178a1954b8e05150fcb96ac9a" emerge -1 =xf86-video-ati-9999
-------------> Compile failed

And this last is strange. Because if I run emerge -1 =xf86-video-ati-6.14.3-r1 it compiles (then it fails with the segmentation fault but at this point this is another problem).

If I recompile with the last working commit (it worked both, the compilation and the run: EGIT_COMMIT="c66ae235700f5efe64eb168327551b8f1d153c9c" emerge -1 =xf86-video-ati-9999) everything is ok. 

What did I do wrong?

Only to summarize 
 - xf86-video-ati-6.14.3-r1 fails with a segmentation fault 
      ONLY with xorg-server-1.12 (also with the r1)
 - I have the following videro card:
       01:04.0 VGA compatible controller: Advanced Micro Devices 
       [AMD] nee ATI RV280 [Radeon 9200 PRO] (rev 01)
 - If I use the last xf86-video-ati-9999 it works


Thanks
Massimo
Comment 12 Markus Wernig 2012-03-23 08:39:30 UTC
(In reply to comment #10)
> Will try with xf86-video-ati-9999

Using xf86-video-ati-9999 indeed did solve the segfault.

BTW: # lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Broadway PRO [Mobility Radeon HD 5800 Series]

But there was another problem (fonts, buttons, input fields drawn way too large, but that's most likely another bug), so I still had to downgrade to 1.11.4 again.
Comment 13 Massimo Balestra 2012-07-07 02:22:23 UTC
I just installed xf86-video-ati  version xf86-video-ati
with xorg-server 1.12.2 and everythings looks to work perfectly.

For me this ticket can be closed.
Comment 14 Massimo Balestra 2012-07-07 02:24:51 UTC
Sorry a mistake in the previous comment (impossible to edit)



I just installed xf86-video-ati  version 6.14.4-r1
with xorg-server 1.12.2 and everythings looks to work perfectly.

For me this ticket can be closed.
Comment 15 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-07 05:24:03 UTC
Marking as fixed per comment 14
Comment 16 Mickaël Bucas 2012-07-07 15:12:46 UTC
I still get a segfault with version 6.14.4-r1

Trace :

[1290197.831] (II) RADEON(0): Setting screen physical size to 508 x 285
[1290197.882] 
[1290197.882] Backtrace:
[1290197.882] 0: /usr/bin/X (xorg_backtrace+0x36) [0x59c476]
[1290197.882] 1: /usr/bin/X (0x400000+0x1a0789) [0x5a0789]
[1290197.882] 2: /lib64/libpthread.so.0 (0x7f33fe57c000+0x107f0) [0x7f33fe58c7f0]
[1290197.882] 3: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f33fb34c000+0xfd32e) [0x7f33fb44932e]
[1290197.882] 4: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f33fb34c000+0xfbbd9) [0x7f33fb447bd9]
[1290197.882] 5: /usr/lib64/xorg/modules/libexa.so (0x7f33fa8d1000+0x9ff2) [0x7f33fa8daff2]
[1290197.882] 6: /usr/lib64/xorg/modules/libexa.so (0x7f33fa8d1000+0xcc31) [0x7f33fa8ddc31]
[1290197.882] 7: /usr/bin/X (0x400000+0x1168de) [0x5168de]
[1290197.882] 8: /usr/bin/X (miPaintWindow+0x1ca) [0x57a58a]
[1290197.882] 9: /usr/bin/X (miWindowExposures+0xae) [0x57a72e]
[1290197.882] 10: /usr/lib64/xorg/modules/extensions/libdri.so (DRIWindowExposures+0x8b) [0x7f33fbccae6b]
[1290197.882] 11: /usr/bin/X (0x400000+0x95c06) [0x495c06]
[1290197.882] 12: /usr/bin/X (MapWindow+0x367) [0x46b327]
[1290197.882] 13: /usr/bin/X (0x400000+0x24ed6) [0x424ed6]
[1290197.882] 14: /lib64/libc.so.6 (__libc_start_main+0xec) [0x7f33fd4972ec]
[1290197.882] 15: /usr/bin/X (0x400000+0x24a89) [0x424a89]
[1290197.882] 
[1290197.882] Segmentation fault at address 0x9c
[1290197.882] 
Fatal server error:
[1290197.882] Caught signal 11 (Segmentation fault). Server aborting


Versions installed :
# emerge -p xorg-server xf86-video-ati xorg-drivers

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

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.12.2
[ebuild   R    ] x11-drivers/xf86-video-ati-6.14.4-r1
[ebuild   R    ] x11-base/xorg-drivers-1.12
Comment 17 Mickaël Bucas 2012-07-07 15:13:28 UTC
Created attachment 317496 [details]
Trace with xf86-video-ati-6.14.4-r1
Comment 18 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-07 20:53:51 UTC
The backtrace in comment 16 looks very different from the one in the original report, so is probably a different bug.