Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 54134

Summary: media-libs/xvid-1.0.1 segmentation fault on amd64
Product: Gentoo Linux Reporter: Ralf Schmelter <ralf.schmelter>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix segmentation fault on amd64

Description Ralf Schmelter 2004-06-16 16:06:27 UTC
The media-libs/xvid-1.0.1 codec cores on amd64 (and probably on all 64bit machines). 

Reproducible: Always
Steps to Reproduce:
1. emerge transcode and dvdrip	
2. rip a track from a dvd and try to encode it in xvid4 format.


Actual Results:  
A segmentation fault (you may need to copy the command line displayed in the 
error window of dvdrip to see the segfault). 

Expected Results:  
No segfault. 

tux xvid # emerge info 
Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 x86_64 4 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://gentoo.tiscali.nl/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.gentoo.skynet.be/pub/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa amd64 apm arts audiofile avi berkdb bonobo cdr crypt debug 
encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jpeg kde libg++ 
libwww mikmod mng motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam 
pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd 
truetype xml2 xmms xv zlib"
Comment 1 Ralf Schmelter 2004-06-16 16:08:01 UTC
Created attachment 33401 [details, diff]
Patch to fix segmentation fault on amd64

The attached patch fixed the problem for me.
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-06-22 13:42:30 UTC
Thx for your (imho very good because good commented) patch. ferringb liked it too ;-)
In CVS now, thanks!