Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175884 - Xorg-x11 7.2 and xorg-server 1.3.0.0 crash when switching from virtual terminal
Summary: Xorg-x11 7.2 and xorg-server 1.3.0.0 crash when switching from virtual terminal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 16:51 UTC by Kevin Lacquement
Modified: 2009-02-12 07:29 UTC (History)
2 users (show)

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


Attachments
log of crash (Xorg.0.log.old,35.87 KB, text/plain)
2007-04-24 16:52 UTC, Kevin Lacquement
Details
xorg.conf causing crash (xorg.conf,2.70 KB, text/plain)
2007-05-02 09:51 UTC, Kevin Lacquement
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Lacquement 2007-04-24 16:51:31 UTC
If I switch to a virtual terminal from X (ctrl-alt-F1, for example), when I return to X I get a (text-mode) screen of junk, then a few seconds later X restarts.

Reproducible: Always

Steps to Reproduce:
1.  From X, go to a virtual terminal (ctrl-alt-F1)
2.  From the virtual terminal, go to X (alt-F8)


Actual Results:  
X crashes, gdm restarts it

Expected Results:  
Return to my X session

From emerge --info:

kevin@lacqui ~ $ emerge --info
Portage 2.1.2.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r5 i686)
=================================================================
System uname: 2.6.20-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 24 Apr 2007 15:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /lib/modules"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_CA"
LC_ALL="en_CA"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/custom-kernels /usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 3ds 64bit 7zip X X509 Xaw3d a52 aac aalib ace acl acpi ada addbookmarks admin adns akode alias alisp allegro alsa altenburgcards amarok amavis amazon amd amr amrr animgif ao aoss aotuv apache2 apm arj arts artswrappersuid artworkextra asf asm async auctex audacious audiofile autoipd automount avalon avalon-framework avalon-logkit ax25 bash-completion battery bbdb bcmath beep berkdb bigpatch binfilter bitmap-fonts bittorrent bl blender-game bonjour bonusscripts boo bookmarks branding bzip2 c++ c3p0 cairo cal3d calendar caps catalogs ccache cdaudio cdb cdda cddb cdf cdinstall cdparanoia cdr cdrom cdsound cegui chardet chipcard chipcard2 chm chroot clamav clamd cli clisp clock-screen colordiff commons-digester compress contactnotes contentcache contrib corba cpio cpudetection cpufreq cpulimit cracklib crosscompile crypt crypto_openssl cscope css ctype cups curl curlwrappers cvs cvsgraph daap dbus dbx deprecated devhelp dga dio discard-path discouraged divx djbfft djvu doc dolby-record-switch doomsday dovecot-sasl dri dssi dtaus dts dv dvb dvbplayer dvd dvdr dvdread dvi ecc editor eds effects elisp emacs emacs-w3 emboss emovix enca encode epydoc erandom esd evo examples exif extras fam fame fbsplash ffmpeg fftw finger firefox flac flash flatfile fltk fluidsynth fmod foomaticdb force-cgi-redirect fortran fping fpx ftp fuse gd gdbm geoip gif gimp gimpprint gkrellm glep glibc-omitfp glut gmail gmedia gmp gnokii gnome gnome-print gnutls gocr gpgme gphoto2 gpm graphicsmagick graphviz gs gsm gssapi gstreamer gtalk gtk gtk2 gtkhtml gtkspell guile gzip gzip-el hal hardenedphp hash hbci hpn html http httpd ibam ical icecast icon iconv id3 idea ieee1394 ilbc image imagemagick imap imlib inifile inkjar insecure-savers iplsrc ipsec irc jabber jack jack-tmpfs jai java java5 javamail javascript jce jcs jikes jimi jingle john jpeg jpeg2k jumpplay junit kcal kde kdecards kdepim keyring kipi ladcca ladspa lame lash latex lcd lha libcaca libg++ libnotify libsexy libwww live lm_sensors log4j logrotate lua lzo lzw mad maildir markdown math matroska max-idx-128 mcal mccp md5 md5sum memlimit mew mhash midi mikmod mime mimencode ming mixer mjpeg mmap mmkeys mmx mmxext mng mod modplug mono motif mouse mozbranding mozcalendar mozdevelop mozdom mozilla mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer msdav msn msnextras mtp multiuser musepack music musicbrainz mysql nas ncurses netbeans nethack netjack network new-login nfs nls nntp normalizemime nowin nptl nptlonly nsplugin oav objc objc++ objc-gc ocaml ocrad octave odbc ode odk offensive office ofx ogg oggvorbis ole on-the-fly-crypt openal openexr opengl osc oss pam pam_chroot pam_console pam_timestamp patented pcntl pcre pda pdf pdfkit pdo perl perlsuid planner player plugin pmu png polling pop portaudio posix postfix postgres ppds preview-latex print procmail pulseaudio pysolcards python qhull qt3 qt3support qt4 quicktime quotes rar rc5 rdesktop readline real realmedia received reflection regex reiserfs replytolist rpm rrdtool rss rtc rtsp ruby samba sasl sbcl scanner scenarios sdk sdl sensord serpentine server servlet-2.4 servletapi session sftp shout sid simplexml skins slp smime sms smtp sndfile soap sockets sound sounds source sox spamassassin speedo speex spell spl sql sqlite srt sse sse-filters sse2 ssl startup-notification stream streamripper submenu subtitles subversion suid svg swat sysfs syslog sysvipc szip tagwriting tcl tcltk tcpd tcsim tesseract tetex themes theora threads thumbnail thunderbird tidy tiff timestats timidity tk tokenizer toolbar tools totem transcode trayicon truetype truetype-fonts tta type1-fonts unicode unzip upnp usb userlocales utempter uudeview uuencode v4l v4l2 vcd vdr vidix vim vim-pager vim-syntax vim-with-x visualization vlm vnc vncviewer voice vorbis vorbis-psy wavpack wddx web webdav widescreen wifi win32codecs wireshark wlan wma wma123 wmf wmp wordperfect wxwindows x264 x86 xanim xcf xcomposite xext xface xforms xhtml xine xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xrandr xscreensaver xsettings xskatcards xsl xslt xv xvid xvmc xvnc yaepg yaz yp yv12 zeroconf zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard magictouch mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

kevin@lacqui ~ $
Comment 1 Kevin Lacquement 2007-04-24 16:52:32 UTC
Created attachment 117155 [details]
log of crash

This is the X.org log of the most recent crash
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-05-02 07:25:27 UTC
Please attach your xorg.conf too.
Comment 3 Kevin Lacquement 2007-05-02 09:51:13 UTC
Created attachment 117932 [details]
xorg.conf causing crash
Comment 4 Alan Hourihane 2007-09-24 20:27:02 UTC
Try upgrading to the xf86-video-intel 2.1 driver.
Comment 5 Wendall Cada 2008-05-06 18:54:17 UTC
This is an AIGLX issue, documented here:
https://bugs.freedesktop.org/show_bug.cgi?id=11726

I resolved the issue with:
xorg-server-1.4.0.90-r3
x11-drivers/xf86-video-i810-2.3.0
media-libs/mesa-7.0.3

The 2.3.0 driver (or any other) did not work with xorg-server-1.3.0.0-r5 and media-libs/mesa-6.5.2-r1. I have not tried to see if the 2.1.1 i810 driver works with the latest xorg-server and mesa. Please let me know if you need more testing on this.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2008-05-07 03:13:18 UTC
OK, another reason why we should get an xorg 1.4 ebuild + mesa 7 stable...
Comment 7 Audiodef 2009-01-16 14:33:21 UTC
I have a similar issue with xorg-server-1.5.3-r1, only with phyiscal switching between two computers attached to the same KVM. Sometimes X will restart. It seems like there is something in X that has not been addressed for several versions. 

Maybe it's mesa, maybe it's video drivers, but whatever it is, X seems to not cater well to switching terminals, virtual or physical. I'd like to see this stablized. 
Comment 8 Wendall Cada 2009-02-12 01:17:22 UTC
This bug can be closed. It was fixed well over six months ago and doesn't effect >= 1.4.x
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-02-12 07:29:33 UTC
Closing then. Thanks for the follow up.