Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bug in mplayer ebuild - segmentation fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
d_f0rce
n00b
n00b


Joined: 06 Oct 2002
Posts: 27

PostPosted: Wed Feb 26, 2003 8:16 pm    Post subject: Bug in mplayer ebuild - segmentation fault Reply with quote

Hi,

there is a bug in the mplayer ebuild. I'm using Gentoo 1.2 and whichever version of mplayer 0.90_rc* I emerge, I always get an immediate segmentation fault on mplayer startup.
I tried disabling many USE flags and reemerged the package but with no results. As the ebuild unsets the CFLAGS variable this problem can't be an optimization problem. Moreover I don't like those heavy optimization flags and compiled my whole Gentoo only with O2, so there shouldn't be any other "overoptimized" libraries which mplayer could use.
As I couldn't find anything useful in Google and my last emerge from mplayer rc4 failed again, I decided to recompile the package manually and install it on top of my failed installation.
I took some configure options from the ebuild and let configure do the rest.

These are my parameters:
./configure --prefix=/usr --datadir=/usr/share/mplayer --confdir=/usr/share/mplayer --enable-gui --enable-largefiles --enable-linux-devfs --enable-mpdvdkit --enable-dvdnav --enable-xmms --enable-mencoder --enable-tv

I checked the configure output if everything was found and did a make && make install.

Eh voila - it works again.

I don't know which parameter is set by the ebuild that makes mplayer segfault but as I disabled most of the USE flags it could be that it is one of the default options set on configure invocation.
Perhaps one of these:
--enable-menu --enable-shared-pp --enable-dynamic-plugins --enable-real

I don't have time to investigate further and I already spent much too much time in this but I thought others could have the same problem and would be interested in this quick work-around.

Greetings,
Alex
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Feb 26, 2003 9:49 pm    Post subject: Reply with quote

A bug report would be helpful.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Bobbie
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 77

PostPosted: Wed Feb 26, 2003 11:07 pm    Post subject: Reply with quote

Yeah same thing for me since version > 0.90 rc2

It comes from -O4 flag set in the mplayer makefile which is activated for some configuratiions (but not all if I remeber).
Back to top
View user's profile Send private message
Bobbie
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 77

PostPosted: Thu Feb 27, 2003 7:23 pm    Post subject: Reply with quote

In fact it's not from -O4 at all but from --enable-shared-pp passed to configure in the ebuild. Just remove it and it works again !

see


http://mplayerhq.hu/pipermail/mplayer-users/2003-February/028871.html

and

http://mplayerhq.hu/pipermail/mplayer-users/2003-February/029092.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum