Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69639 - glibc-2.3.4.20041021 mplayer-1.0_pre5-r4 USE="sdl" >> mplayer segfaults!
Summary: glibc-2.3.4.20041021 mplayer-1.0_pre5-r4 USE="sdl" >> mplayer segfaults!
Status: RESOLVED DUPLICATE of bug 52732
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-31 10:19 UTC by Hanno Zysik (geki)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Hanno Zysik (geki) 2004-10-31 10:19:19 UTC
Using this glibc/mplayer/Use-Flag combo lets mplayer segfault. compiling mplayer without that USE-Flag magically let it not segfault. ^^

Reproducible: Always
Steps to Reproduce:
1. USE="sdl" emerge mplayer
2. USE="-sdl" emerge mplayer
Actual Results:  
1. mplayer segfaults
2. mplayer works

Expected Results:  
that: 'USE="sdl" emerge mplayer' works again

anomalie ~ # emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre5-r4  -3dfx -3dnow -3dnowex +X +aalib
+alsa (-altivec) -arts -bidi -cdparanoia -debug -directfb -divx4linux -doc -dvb
+dvd +dvdread -edl -encode -esd -fbcon -ggi +gif -gtk -i8x0 +ipv6 -jack
-joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx +mmx2
+mpeg -mythtv -nas -network +nls -nvidia +oggvorbis +opengl -oss +png -real -rtc
-samba +sdl* +sse -svga -tga -theora +truetype -v4l -v4l2 -xanim +xinerama +xmms
+xv +xvid -xvmc 216 kB

==============================================================================

anomalie ~ # USE="-sdl" emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre5-r4  -3dfx -3dnow -3dnowex +X +aalib
+alsa (-altivec) -arts -bidi -cdparanoia -debug -directfb -divx4linux -doc -dvb
+dvd +dvdread -edl -encode -esd -fbcon -ggi +gif -gtk -i8x0 +ipv6 -jack
-joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx +mmx2
+mpeg -mythtv -nas -network +nls -nvidia +oggvorbis +opengl -oss +png -real -rtc
-samba -sdl +sse -svga -tga -theora +truetype -v4l -v4l2 -xanim +xinerama +xmms
+xv +xvid -xvmc 216 kB 

Total size of downloads: 216 kB

==============================================================================

anomalie ~ # emerge info
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.10-rc1-ano i686)
=================================================================
System uname: 2.6.10-rc1-ano i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.4
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium4 -march=pentium4 -ffast-math -pipe -fforce-addr
-fforce-mem -momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer
-frename-registers"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium4 -march=pentium4 -ffast-math -pipe -fforce-addr
-fforce-mem -momit-leaf-frame-pointer -fomit-frame-pointer -fweb -ftracer
-frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks maketest sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr cups curl dga dts dvd
dvdr dvdread fastcgi fbcon gd gif glx gpm gtk gtk2 hardenedphp icq imap imlib
ipv6 java jpeg ldap lesstif libwww mad mbox mmx mmx2 motif mpeg mysql ncurses
nls nptl nptlonly oggvorbis opengl pam pdflib perl png python qt quicktime
readline sasl sdl sse sse2 ssl stats system-ldap system-mozilla tcltk tcpd tiff
truetype truetype-fonts type1-fonts unicode usb userlocales vhosts videos wmf
wxwindows x86 xface xinerama xml xml2 xmms xprint xv xvid zlib video_cards_nvidia"
Comment 1 Hanno Zysik (geki) 2004-10-31 10:21:54 UTC
add: it worked with glibc-2.3.4.20041006!
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-01 14:48:14 UTC
same problem here. however i've noticed that it segfaults only with -ao arts. works fine with -ao oss. this is second problem with arts-sdl-mplayer. first one is still unresolved (see #64192)
Comment 3 Hanno Zysik (geki) 2004-11-02 02:36:01 UTC
i use alsa and it segfaults. but even mplayer --help segfaults because it just does not get the sdl libs.

may be this is more a glibc dev problem rather than mplayer? "if" its a problem because bleeding edge glibc. ^^

may be the glibc-compat stuff did it... it got dropped in glibc 1021... but better this stuff stays droppped and mplayer segfaults with sdl... ;)
Comment 4 Hanno Zysik (geki) 2004-11-02 02:47:32 UTC
to that other bug, libsdl was compiled with gcc-3.4.2 long time ago and worked fine until glibc upgrade.
Comment 5 Alex 2004-11-02 10:22:47 UTC
While having same issues with neverball, i solved it by recompiling neverball with  GCC 3.3.
Comment 6 Chris White (RETIRED) gentoo-dev 2004-11-08 21:44:37 UTC
If you're upgrading gcc, and have a problem with a library, the solution may
be to simply re-compile it.  Please check and see if this works.
Comment 7 Hanno Zysik (geki) 2004-11-09 03:28:00 UTC
chris, btw, did u update the mplayer ebuild? ;)

if you talk to me, i didnt upgrade gcc... like i said GLIBC upgrade did it :)

if it was not for me ignore this ^^
Comment 8 Chris White (RETIRED) gentoo-dev 2004-11-09 06:52:58 UTC
er... yah, glibc.  But still, when doing a glibc upgrade and things don't work,
the solution is often to re-compile the bad library.  I'd try re-compiling sdl,
then re-compiling MPlayer.
Comment 9 Hanno Zysik (geki) 2004-11-09 06:54:11 UTC
sorry not to mention. i did it and no luck. gcc-3.4.3 and glibc-1102 are out ill may check sdl/mplayer again soon.

ill report
Comment 10 Hanno Zysik (geki) 2004-11-09 11:45:33 UTC
it is still. libsdl and mplayer re-compiled. since glibc-compat stuff got cut it is or glibc does sth other bad. ill stay with -sdl.

have phun! :)
Comment 11 Hanno Zysik (geki) 2004-12-14 17:03:36 UTC
ok i found out the problem. please mark this as duplicate of bug #52732 and resolved thanks!
Comment 12 Chris White (RETIRED) gentoo-dev 2005-01-05 18:29:48 UTC
As requested

*** This bug has been marked as a duplicate of 52732 ***