Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32918 - mplayer-1.0pre2 segfault
Summary: mplayer-1.0pre2 segfault
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 16:49 UTC by Yi Quang (RETIRED)
Modified: 2004-03-31 11:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Quang (RETIRED) gentoo-dev 2003-11-06 16:49:57 UTC
Using gcc-3.3.2-r2, glibc-2.3.2-r8+nptl, linux-2.6.0-test9.  mplayer segfaults 
on start, I've recompiled several times, even without mplayers auto generated 
CFLAGS.  It is also impossible to debug for some reason, I downloaded the 
source, compiled with -g (--enable-debug=[1-3]), but gdb does not give me any 
useful information.  Anyone?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-07 10:10:59 UTC
Works fine here (don't it always :( ), pretty much same setup.  Please supply
'emerge info'.
Comment 2 Yi Quang (RETIRED) gentoo-dev 2003-11-07 18:04:35 UTC
emerge info:
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-mm2)
=================================================================
System uname: 2.6.0-test9-mm2 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache userpriv prelink"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif libg++ mad mikmod mpeg ncurses
nls pdflib quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline
arts tetex svga tcltk java guile sdl gpm tcpd pam libwww ssl esd imlib oggvorbis
gtk qt motif mozilla gphoto2 ldap cdr nptl X gtk2 gnome -alsa cups usb smooth
3dnow png -xmms jpeg -kde aalib python mmx sse bindist perl tiff opengl mysql"
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-09 15:10:57 UTC
Can you try with a non-mm kernel ?  I have some wierd issues with the ati-drivers
and -mm patches, and seen a few issues on LKML.
Comment 4 khai 2003-11-09 18:59:53 UTC
Same deal with test9 vanilla.  
Comment 5 khai 2003-11-09 19:58:22 UTC
gah, I've spend way too much time on mplayer.  Anyway, I found the problem,
it's with libGLcore.  If I compile with --disable-gl, mplayer works fine.
 Now, how do I fix nvidia-kernel? :)
Comment 6 Yi Quang (RETIRED) gentoo-dev 2003-12-20 10:37:07 UTC
Hurmm...the same thing happens with mplayer-1.0pre3.  Compiling it with -opengl works fine, can anyone confirm this problem?  
Comment 7 symbiote 2003-12-26 19:59:44 UTC
I'm having the same problem.

Tried versions of Mplayer, 1.0pre3, CVS, and 0.92, and same results. Immediate segfault on start.

box root # mplayer
Segmentation fault
box root #

box root # gcc --version
gcc (GCC) 3.3.2 20031201 (Gentoo Linux 3.3.2-r4, propolice)
solace root # uname -a
Linux solace 2.6.0-mm1 #1 Sat Dec 27 03:17:16 PHT 2003 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

I've tried using vanilla and gentoo-dev-sources, and it still spit the same result.

Did an emerge -eD mplayer which ran for 14 hours, and it still yielded the same result.
Comment 8 symbiote 2003-12-26 20:17:10 UTC
Okay, it got fixed by doing an:

# USE "-opengl" emerge mplayer

Would somebody explain why?
Comment 9 Yi Quang (RETIRED) gentoo-dev 2004-01-03 17:28:15 UTC
nvidia driver issues...not much we can do
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2004-03-31 11:19:02 UTC
closing with comment #9