Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157573 - x11-drivers/xf86-video-v4l - running xvinfo crashes X server
Summary: x11-drivers/xf86-video-v4l - running xvinfo crashes X server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 23:39 UTC by Volker Hemmann
Modified: 2007-01-28 22:37 UTC (History)
0 users

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


Attachments
my xorg.conf. (xorg.conf,5.03 KB, text/plain)
2007-01-13 19:01 UTC, Volker Hemmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2006-12-08 23:39:01 UTC
Hi,

whenever xvinfo is run, X segfaults.
From Xorg.0.log, X started with -verbose 5:

(II) NVIDIA(0): v4l: memPhysBase=0xb0000000

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x71) [0x48bc61]
1: /lib/libc.so.6 [0x3b5702ff10]
2: /usr/bin/X(Dispatch+0x120) [0x447f50]
3: /usr/bin/X(main+0x44d) [0x430ddd]
4: /lib/libc.so.6(__libc_start_main+0xf4) [0x3b5701d944]
5: /usr/bin/X(FontFileCompleteXLFD+0x209) [0x4300d9]

Fatal server error:
Caught signal 11.  Server aborting

crash happens with nvidia and nv driver

x11-libs/libXv-1.0.2
x11-base/xorg-server-1.1.1-r3
sys-libs/glibc-2.5

emerge --info
Portage 2.1.2_rc2-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19 x86_64)
=================================================================
System uname: 2.6.19 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 22:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
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.50.0.8
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
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 /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/nxsty /usr/portage/local/layman/xwing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip S3TC X Xaw3d a52 aac acpi addbookmarks aiglx aim aio akode alias alsa alsa_cards_emu10k1 altenburgcards amarok aotuv aqua_theme asf athena audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdda cddb cdinstall cdparanoia cdr cdsound cegui cg clamav cli cracklib crypt css curl dio divx dlloader dnd double-precision dpms dri dts dv dvd dvdr dvdread elibc_glibc emul-linux-x86 encode exif expat exscalibar fame fasttrack ffmpeg fftw flac fortran ftp gadu gcc64 gdbm gif gimp glitz glut glx gnokii gnutella gpm gtk gtk2 highlight history iconv icq id3 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse irmc isdnlog jabber java javascript jce joystick jpeg jpeg2k kcal kde kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kernel_linux kexi kipi kqemu lame lcms lesstif libg++ libwww linguas_de lm_sensors logitech-mouse lzo lzw mad magic maps matroska mime mjpeg mmap mng mp3 mp4 mpeg mpeg2 mplayer msn mule musepack ncurses neXt net ngui nls no-old-linux nocd nosendmail nowin nowlistening nptl nptlonly nsplugin nvidia offensive ogg openexr opengl oscar pam paste64 pch pcre pdf perl physfs player png posix ppds pppd python qt3 qt4 quicktime rar readline recode reflection reiserfs remix resolvconf rogue rtc scanner sdl sdl-sound sendfile server session sharedmem smp sms sndfile sockets sounds spell spl sqlite sqlite3 srt sse-filters sse3 ssl startup-notification statistics stats stencil-buffer stroke subp subtitles svg sysfs sysvipc szip tcpd textures tga theora threads tiff timidity tk toolbar tools transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userland_GNU userlocales v4l v4l2 vcd video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga videos visualization vorbis webdav wmf wxwindows x264 xanim xcomposite xemacs xext xface xine xml xorg xosd xpm xrandr xscreensaver xskatcards xv xvid xvmc yiff yv12 zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

parts of my system are still build with 'ricer flags' (-march=k8 -O2 -fweb -ftracer -fpeel-loops -ftree-vectorize -frename-registers -floop-optimize2 -msse3 -pipe)

but glibc, xorg-server, libXv and xvinfo are not (I started switching to sane CFLAGS sometime ago), they are built with march=k8 -02 pipe.

Is there an easy way to rebuilt everything X related (x11-*)?

Just using xv (like watching vids with xine or mplayer) does not result in any crashes. My box is pretty stable. Only xvinfo means certain death of X.
Comment 1 Andreas Arens 2006-12-09 00:04:51 UTC
Do you load "v4l" in your modules section?
It did also crash for me as long as I had it in there. Problem went
away when commenting it out. It did only happen with nvidia driver,
not nv driver to me though.
Comment 2 Volker Hemmann 2006-12-09 00:19:04 UTC
Thanks, commenting v4l out, solved it. Strange, that it happens with both drivers for me and only nvidia for you.
Comment 3 Volker Hemmann 2006-12-09 11:37:41 UTC
Hi,

I rebuild xf86-video-v4l-0.1.1 with this flags: -march=k8 -O2 -pipe

and it still crashs, when the v4l module is loaded and xvinfo is run.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2007-01-13 18:18:16 UTC
Attach your xorg.conf please.
Comment 5 Volker Hemmann 2007-01-13 19:01:22 UTC
Created attachment 106830 [details]
my xorg.conf.
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2007-01-27 18:06:43 UTC
Can you reliably reproduce this problem with the 'nv' driver, even with X 7.2?
Comment 7 Volker Hemmann 2007-01-27 22:32:48 UTC
Hi,

with xorg 7.2 nv and nvidia both do not crash anymore.

I could reproduce the crash reliable with earlier xorg versions and the nv driver.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2007-01-28 22:37:44 UTC
(In reply to comment #7)
> Hi,
> 
> with xorg 7.2 nv and nvidia both do not crash anymore.
> 
> I could reproduce the crash reliable with earlier xorg versions and the nv
> driver.
> 

Awesome, good to hear.