Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132981 - Xorg crashes when one client connects and then exits
Summary: Xorg crashes when one client connects and then exits
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-11 00:37 UTC by Dima Ryazanov
Modified: 2007-08-22 05:37 UTC (History)
0 users

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


Attachments
Xorg log (Xorg.1.log,49.55 KB, text/plain)
2006-05-11 00:38 UTC, Dima Ryazanov
Details
Second crash log (Xorg.1.log,42.07 KB, text/plain)
2006-09-10 23:03 UTC, Dima Ryazanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2006-05-11 00:37:08 UTC
I start a second copy of X by running "X :1".

Then, I run any program there, e.g. "DISPLAY=:1 xclock". After it starts, I kill the program with Ctrl-C.

X crashes:

Backtrace:
0: X(xf86SigHandler+0x86) [0x80b7af6]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions/libglx.so [0xb7e880e6]
3: /usr/lib/xorg/modules/extensions/libglx.so(__glXInitScreens+0xa2) [0xb7e65c92]
4: /usr/lib/xorg/modules/extensions/libglx.so(GlxExtensionInit+0x193) [0xb7e64d03]
5: X(InitExtensions+0xa2) [0x80eb252]
6: X(main+0x2dc) [0x806de8c]
7: /lib/libc.so.6(__libc_start_main+0xdf) [0x4327287f]
8: X(FontFileCompleteXLFD+0x91) [0x806d581]

Fatal server error:
Caught signal 11.  Server aborting


I will attach the complete log.

emerge --info:
Portage 2.1_pre10-r5 (default-linux/x86/2005.1, gcc-4.0.3, glibc-2.4-r1, 2.6.16-suspend2-r4 i686)
=================================================================
System uname: 2.6.16-suspend2-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.noved.org/"
LC_ALL="en_US.UTF-8"
LINGUAS="en uk ru de es"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acl acpi aim alsa asf audiofile avi bcmath berkdb bitmap-fonts browserplugin bzip2 cairo cdparanoia cli crypt css cups curl dbus dga directfb divx4linux dri dvd dvdr emboss encode fbcon fbsplash ffmpeg flash foomaticdb gcj gdbm gif glut gpm gstreamer gtk gtk2 hal icq idn imlib ipv6 isdnlog javascript jikes jpeg jpeg2k kde kdeenablefinal lcms lesstif libg++ libwww litz live lm_sensors logitech-mouse mad mikmod mmx mng mp3 mpeg mplayer msn musicbrainz ncurses nls nptl nsplugin offensive ogg oggvorbis openexr opengl oscar pam pcre pdf pdflib perl pic png povray ppds pppd qt quicktime rdesktop readline real reflection rtc samba scanner sdl session sftplogging slp snmp speex spell spl sse ssl startup-notification subversion svg tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts unicode usb vorbis wifi win32codecs xcomposite xine xinerama xml2 xorg xprint xscreensaver xv xvid yahoo zeroconf zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_en linguas_uk linguas_ru linguas_de linguas_es userland_GNU video_cards_radeon video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dima Ryazanov 2006-05-11 00:38:12 UTC
Created attachment 86589 [details]
Xorg log
Comment 2 Dima Ryazanov 2006-05-11 02:24:57 UTC
Not sure if it's the same bug...

If I run "xrandr" (as before, while I'm at :0, not :1), then the first time, it causes X to switch to vt8, with the :1 X running.

If I run it again, X crashes:

Backtrace:
0: X(xf86SigHandler+0x86) [0x80b7af6]
1: [0xffffe420]
2: /lib/libc.so.6(vsnprintf+0xb4) [0x432bac64]
3: X(LogVWrite+0x4e) [0x819f6ae]
4: X(LogVMessageVerb+0xed) [0x819f95d]
5: /usr/lib/xorg/modules/linux/libdrm.so [0xb7f1aebf]
6: /usr/lib/xorg/modules/linux/libdrm.so [0xb7f1d7b9]
7: /usr/lib/xorg/modules/linux/libdrm.so(drmOpen+0x4b) [0xb7f1dabb]
8: /usr/lib/xorg/modules/extensions/libglx.so [0xb7e86101]
9: /usr/lib/xorg/modules/extensions/libglx.so(__glXInitScreens+0xa2) [0xb7e63c92]
10: /usr/lib/xorg/modules/extensions/libglx.so(GlxExtensionInit+0x193) [0xb7e62d03]
11: X(InitExtensions+0xa2) [0x80eb252]
12: X(main+0x2dc) [0x806de8c]
13: /lib/libc.so.6(__libc_start_main+0xdf) [0x4327287f]
14: X(FontFileCompleteXLFD+0x91) [0x806d581]

Fatal server error:
Caught signal 11.  Server aborting
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2006-05-13 08:39:52 UTC
Please unmask and give 7.1 a try.  There are a lot of crash fixes that have gone in since 7.0.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-20 23:06:26 UTC
Please reopen when you reply.
Comment 5 Dima Ryazanov 2006-08-16 19:57:36 UTC
Sorry for taking so long...

I tried this with xorg-server-1.1.1 - and I still get the same crash.
Comment 6 Dima Ryazanov 2006-09-10 23:02:26 UTC
Here's another crash... It might be related - also caused by glx.

I started a second X server (so my main one doesn't crash :-/), and ran StarCraft, with Wine set to run programs in a 1000x800 window.

This resulted in a crash:

Backtrace:
0: X(xf86SigHandler+0x81) [0x80c3501]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions/libGLcore.so(_mesa_resize_framebuffer+0x140) [0xb388a2c0]
3: /usr/lib/xorg/modules/extensions/libGLcore.so(xmesa_resize_buffers+0x4d) [0xb39b071d]
4: /usr/lib/xorg/modules/extensions/libGLcore.so(XMesaResizeBuffers+0x66) [0xb39ac466]
5: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb39abdd0]
6: /usr/lib/xorg/modules/extensions/libglx.so [0xb7becbaa]
7: X(ResizeChildrenWinSize+0x197) [0x8074657]
8: X(miSetShape+0xda) [0x811ffda]
9: X [0x812b28a]
10: X [0x812b4a8]
11: X(Dispatch+0x18d) [0x8086add]
12: X(main+0x47e) [0x806e73e]
13: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cc887c]
14: X(FontFileCompleteXLFD+0xa5) [0x806da71]
Comment 7 Dima Ryazanov 2006-09-10 23:03:21 UTC
Created attachment 96663 [details]
Second crash log
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-12-17 08:01:07 UTC
You should try this one more against Xorg 7.2 when it's released.  If it's still a problem, we'll move the issue upstream.

If you want to give it a try early, just unmask Mesa 6.5.2 and xorg-server 1.1.99*.
Comment 9 Dima Ryazanov 2007-01-26 08:29:14 UTC
Still the same with Xorg 7.2

Btw, this only happens if DRI is not working - if I start a second X server, or if DRI is not enabled in the kernel.
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2007-02-17 17:25:54 UTC
(In reply to comment #9)
> Still the same with Xorg 7.2
> 
> Btw, this only happens if DRI is not working - if I start a second X server, or
> if DRI is not enabled in the kernel.
> 

Alright, please find/file a bug at https://bugs.freedesktop.org and post the link here when done.  Thanks!
Comment 11 Dima Ryazanov 2007-08-22 05:37:12 UTC
I filed the bug upstream a while ago, and it got fixed, but I forgot to post the link here.

Here it is: https://bugs.freedesktop.org/show_bug.cgi?id=11340