Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374235 - x11-base/xorg-server-1.10.2 segfaults at random
Summary: x11-base/xorg-server-1.10.2 segfaults at random
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 14:13 UTC by Aljoscha Vollmerhaus
Modified: 2011-10-10 20:48 UTC (History)
2 users (show)

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


Attachments
xorg logs from the crash (Xorg.0.log.old,71.68 KB, text/plain)
2011-07-06 14:14 UTC, Aljoscha Vollmerhaus
Details
new log file, this time using classic instead of gallium (Xorg.0.log.old,54.20 KB, text/plain)
2011-07-10 16:45 UTC, Aljoscha Vollmerhaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aljoscha Vollmerhaus 2011-07-06 14:13:05 UTC
Since the upgrade to xorg-server 1.10.2, i get seemingly random segfaults - at least i was not able to spot a pattern. I´ll attach the Xorg.log.

Reproducible: Couldn't Reproduce




My graphics card as reported by lspci -k (i´m using kernel mode setting)

01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B65 [FireGL D1100 (PCIE)] (rev 80)
	Subsystem: ATI Technologies Inc Device 0402
	Kernel driver in use: radeon

ld50@nettop ~ $ sudo emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r1-x86_64-AMD_Athlon-tm-_II_X2_240e_Processor-with-gentoo-2.0.2
Timestamp of tree: Mon, 04 Jul 2011 18:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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=amdfam10"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://eis/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 automount bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gnutls gtk iconv icu jpeg lcms libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python rar readline sdl session smp sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vorbis x264 xcb xinerama xml xorg xulrunner xv xvid zlib" 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="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="braindump flow karbon kexi kpresenter krita tables 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" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aljoscha Vollmerhaus 2011-07-06 14:14:19 UTC
Created attachment 279231 [details]
xorg logs from the crash
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-07 23:10:52 UTC
Do you use compositing? If yes, does switching between classic and gallium with eselect mesa, or disabling compositing altogether make a difference?
Comment 3 Aljoscha Vollmerhaus 2011-07-10 13:09:03 UTC
This is what my mesa settings currently look like:


ld50@nettop ~ $ sudo eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel 965, G/Q3x, G/Q4x)
64bit r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   classic *
  [2]   gallium
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
32bit r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   classic *
  [2]   gallium
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


I´ll try switching 64bit r300 from gallium to classic...
Comment 4 Aljoscha Vollmerhaus 2011-07-10 16:44:09 UTC
Okay, segfaults keep happening even with classic.

I´ll attach the new log, I´m not an expert with the X server so I´m not sure whether it really differs from the one with gallium.
Comment 5 Aljoscha Vollmerhaus 2011-07-10 16:45:14 UTC
Created attachment 279653 [details]
new log file, this time using classic instead of gallium
Comment 6 Stefan Richter 2011-07-10 22:07:00 UTC
I get total lock-ups of the machine recently which I first attributed to kernel 3.0-rc*.  But reverting back to 2.6.39.1, the same happens, coincident with de-iconifying windows or scrolling in windows.  Also see bug 370305, which is a 1.10.2 bug that can be triggered in multiple ways.  I'll try 1.10.3 and see how it goes.
Comment 7 Aljoscha Vollmerhaus 2011-07-13 12:47:11 UTC
Okay, it seems like I´m able to reproduce, at least most of the time.

I´m using a dual-monitor setup, 2 screens at 1680x1050.

It seems like the bug can be triggered by updating large parts of both screens.

When I start Libreoffice on one screen and open a pdf in Evince on the other, both maximized, large portions of the screens have to be redrawn. This almost always triggers the bug. 

Tried with both gallium and classic.

Sometimes the server restarts automatically, sometimes it just hangs.
Comment 8 Stefan Richter 2011-07-13 18:40:49 UTC
The random system lockups that I experienced at some GUI operations with xorg-server-1.10.2 do no longer happen for me with xorg-server-1.10.3.  (This is after three days usage of 1.10.3 with same applications and same kernel as under 1.10.2.  The latter used to crash about twice per day if not even more frequently.)
Comment 9 Aljoscha Vollmerhaus 2011-07-16 17:05:06 UTC
Updated to 1.10.3, still segfaulting.
Comment 10 Aljoscha Vollmerhaus 2011-07-28 21:29:41 UTC
Any news on this? maybe somebody can try to reproduce? I´m almost unable to use the affected machine, getting X segfaults every day, some times 3 to 5 times in a row.
Comment 11 Stefan Richter 2011-08-01 06:58:26 UTC
Since 2011-07-10 when I updated to xorg-server-1.10.3, X crashed (only) a single time here.  There was no log message besides "kdm[6384]: X server for display :0 terminated unexpectedly".  This was during start or exit of an Xv client, dc1394_multiview from libdc1394.  I have got radeon on an AMD/ATI HD 3200 here, and a kernel between 3.0-rc7 and 3.0.

In other words, 1.10.3 is not 100.0 % stable for me either, but it is a huge difference to 1.10.2 which crashed multiple times daily.
Comment 12 Aljoscha Vollmerhaus 2011-10-10 20:48:28 UTC
okay, i upgraded to 1.10.4 - the problem vanished.