Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134395 - xorg-server-1.0.99.903 crashes in libglx
Summary: xorg-server-1.0.99.903 crashes in libglx
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
: 140981 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-26 03:37 UTC by Michal Suchanek
Modified: 2006-11-01 06:45 UTC (History)
5 users (show)

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


Attachments
X log (Xorg.0.log.old,93.82 KB, text/plain)
2006-05-26 03:38 UTC, Michal Suchanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Suchanek 2006-05-26 03:37:13 UTC
I got the same backtrace quite a few times already. Upgrading xorg-server and mesa did not help. DRI is disabled because it leaves the screen unusable when it crashes.

Backtrace:
0: X(xf86SigHandler+0x9f) [0x80ce768]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions/libGLcore.so(_swrast_write_rgba_span+0x614) [0xaf8d5b3d]
3: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8c13a2]
4: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8c23f8]
5: /usr/lib/xorg/modules/extensions/libGLcore.so(_swrast_Line+0x23) [0xaf8910ea]
6: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8e5baa]
7: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_RenderClippedLine+0x23) [0xaf902a47]
8: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8fc299]
9: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8ff0fd]
10: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf902b31]
11: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_run_pipeline+0x145) [0xaf8ee28d]
12: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_playback_vertex_list+0x4e3) [0xaf90308b]
13: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf817ac7]
14: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8159a6]
15: /usr/lib/xorg/modules/extensions/libGLcore.so(_mesa_CallList+0x4e) [0xaf817f45]
16: /usr/lib/xorg/modules/extensions/libglx.so [0xb7ba79ba]
17: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xb4) [0xb7ba3640]
18: /usr/lib/xorg/modules/extensions/libglx.so [0xb7ba6885]
19: X(Dispatch+0x1a9) [0x8086324]
20: X(main+0x4ab) [0x806e46b]
21: /lib/libc.so.6(__libc_start_main+0xef) [0xb7c48f33]

Fatal server error:
Caught signal 11.  Server aborting

Portage 2.1_pre10-r2 (hardened/x86/2.6, gcc-3.4.5-vanilla, glibc-2.3.6-r3, 2.6.15-gentoo-r4 i686)
=================================================================
System uname: 2.6.15-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.3.5-r2, 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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks maketest metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
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="X a52 aac accessibility aim alsa apache2 berkdb bzip2 canna crypt cups debug dga dlloader dmx doc dri dts dvd examples fbcon ffmpeg flac foomaticdb fpx gif gimpprint glitz glut gnutls gpm gs gtk hardened icq icu ipv6 irc jabber java jbig jpeg kerberos krb4 lcms ldap libclamav matroska mmx mng mono mozilla mp3 mpeg msn nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl pam pic png ppds readline samba sasl speex spell sse ssl svg tcpd theora threads tiff truetype truetype-fonts unicode userlocales vcd vorbis win32codecs wmf x86 xml xml2 xosd xv zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard input_devices_kbd input_devices_joystick kernel_linux userland_GNU video_cards_mga video_cards_radeon video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

*  media-libs/mesa
      Latest version available: 6.5-r3
      Latest version installed: 6.5-r3
      Size of files: 2,990 kB
      Homepage:      http://mesa3d.sourceforge.net/
      Description:   OpenGL-like graphic library for Linux
      License:       LGPL-2

 
*  x11-base/xorg-server
      Latest version available: 1.0.99.903
      Latest version installed: 1.0.99.903
      Size of files: 9,164 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org X servers
      License:       xorg-server MIT
Comment 1 Michal Suchanek 2006-05-26 03:38:01 UTC
Created attachment 87548 [details]
X log
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-26 09:33:36 UTC
Is this still a problem with xorg-server 1.1 and mesa-6.5-r3?
Comment 3 Michal Suchanek 2006-06-02 04:05:19 UTC
(In reply to comment #2)
> Is this still a problem with xorg-server 1.1 and mesa-6.5-r3?
> 
yes. The weird thing is the backtrace is almost the same.

*  media-libs/mesa
      Latest version available: 6.5-r3
      Latest version installed: 6.5-r3
*  x11-base/xorg-server
      Latest version available: 1.1.0
      Latest version installed: 1.1.0


Backtrace:
0: X(xf86SigHandler+0x9f) [0x80ce908]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions/libGLcore.so(_swrast_write_rgba_span+0x614) [0xaf960b3d]
3: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf94c3a2]
4: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf94d3f8]
5: /usr/lib/xorg/modules/extensions/libGLcore.so(_swrast_Line+0x23) [0xaf91c0ea]
6: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf970baa]
7: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_RenderClippedLine+0x23) [0xaf98da47]
8: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf987299]
9: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf98a0fd]
10: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf98db31]
11: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_run_pipeline+0x145) [0xaf97928d]
12: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_playback_vertex_list+0x4e3) [0xaf98e08b]
13: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8a2ac7]
14: /usr/lib/xorg/modules/extensions/libGLcore.so [0xaf8a09a6]
15: /usr/lib/xorg/modules/extensions/libGLcore.so(_mesa_CallList+0x4e) [0xaf8a2f45]
16: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c2e9ba]
17: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xb4) [0xb7c2a640]
18: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c2d885]
19: X(Dispatch+0x1a9) [0x8086424]
20: X(main+0x4ab) [0x806e56b]
21: /lib/libc.so.6(__libc_start_main+0xef) [0xb7ccff33]


Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-06-04 12:00:17 UTC
Hmm, this is likely a hardened-only issue.  I'll CC the hardened folks to bring it to their attention.
Comment 5 Kevin F. Quinn (RETIRED) gentoo-dev 2006-06-04 13:05:45 UTC
hmm; nothing indicates a hardened issue from where we're sitting.  I'd guess the author built X with the vanilla compiler, is using a non-hardened kernel, and according to the emerge info is still using the vanilla compiler.
Comment 6 Michal Suchanek 2006-06-04 13:59:23 UTC
The X server refuses to build with hardened gcc. That's why the vanilla compiler.

It used to crash only with dri (1.0.2 I think), now it crashes always.
Try running random xscreensaver hacks for a few days. If it does not crash there it is probably somehow specific to my system.
Comment 7 solar (RETIRED) gentoo-dev 2006-06-04 15:59:59 UTC
x11 team. add hardened back to the CC: if needed.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-06-05 20:27:22 UTC
(In reply to comment #6)
> The X server refuses to build with hardened gcc. That's why the vanilla
> compiler.

What parts of X have you compiled vanilla/hardened?

Comment 9 Michal Suchanek 2006-06-06 07:08:44 UTC
Is it possible to tell from the package database?

There is the X server and X drivers for which the ebuild requires vanilla gcc.

Mesa (and probably libdrm) should be compiled with hardened. I am not sure about the rest of the packages that do not upgrade so often. At least at one occasion I compiled some stuff with vanilla gcc because I forgot to switch it back. 
Comment 10 mrsteven 2006-06-12 07:50:17 UTC
I can confirm the crashes. I use an ATI Mobility Radeon 9600 (alias M10) graphics chip with the open source ati driver (no DRI) and I've also found a way to trigger this: Just start glxgears and try to resize the window. You might have to switch to console and back to X before you play around with glxgears...

Backtrace:
0: /usr/bin/X(xf86SigHandler+0xa2) [0x80cb642]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions/libGLcore.so(_swrast_Triangle+0x2a) [0xb38be1fa]
3: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb38d8cba]
4: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb38d8d08]
5: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb38f77cd]
6: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb38f8519]
7: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_run_pipeline+0x13d) [0xb38ed2ad]
8: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_playback_vertex_list+0x2a3) [0xb38fac
13]
9: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb3856161]
10: /usr/lib/xorg/modules/extensions/libGLcore.so(_mesa_CallList+0x4e) [0xb385663e]
11: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c41e46]
12: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xb0) [0xb7c3d780]
13: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c40c03]
14: /usr/bin/X(Dispatch+0x1c6) [0x80874c6]
15: /usr/bin/X(main+0x498) [0x806e3f8]
16: /lib/tls/libc.so.6(__libc_start_main+0xd4) [0xb7d0af14]
17: /usr/bin/X(FontFileCompleteXLFD+0x81) [0x806d901]

emerge info:
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16.20 i686)
=================================================================
System uname: 2.6.16.20 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
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.17
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/gcc-config: 1.3.13-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=pentium-m -O2 -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 /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.du.se/pub/os/gentoo http://gentoo.mirror.solnet.ch"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
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.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi akode alsa apache2 arts audacious audiofile avi berkdb bitmap-fonts bzip2 cddb cdparanoia cli crypt cups curl dri dvd dvdread emacs emboss encode exif ffmpeg firefox flac fortran gdbm gif gimpprint glut gmp gtk gtk2 idn imlib isdnlog java javascript jpeg kde kdeenablefinal libg++ libwww live logrotate mad mikmod mng motif mp3 mpeg mule ncurses network nls no_wxgtk1 nptl ogg opengl pam pcmcia pcre pdf pdflib perl png pnp povray pppd python qt quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf x264 xcomposite xine xml xorg xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-06-12 20:40:10 UTC
Alright, this likely isn't a hardened issue then.

mrsteven (or either of you, really), please find or create a bug at https://bugs.freedesktop.org and post the link here.  Thanks!
Comment 12 mrsteven 2006-06-13 02:45:27 UTC
Ok, here you are: https://bugs.freedesktop.org/show_bug.cgi?id=7205
Comment 13 Joshua Baergen (RETIRED) gentoo-dev 2006-07-25 19:17:10 UTC
*** Bug 140981 has been marked as a duplicate of this bug. ***