[MPlayer-users] MPlayer and Quicktime

Andreas Boman aboman at midgaard.us
Tue Dec 10 03:33:03 CET 2002


On Mon, 2002-12-09 at 17:25, Nathan Murphy wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> So I compiled MPlayer with all the codecs and went
> about the business of attempting to play my Two Towers
> trailer and ran into the same errors reported on the
> list before.  I'm using the QT6 codecs.  However,
> strangely enough, I discovered that if I play a Real
> Video file from the command line once after I have
> logged in as a user then I can play Quicktime files as
> that user afterward, and they play perfectly.  Once I
> log out, and log back in, I have to again play a Real
> Video file to get MPlayer to play a Quicktime file
> without erroring out.  gmplayer won't play either type
> of file without creating the same error no matter what
> I try to do.  

interesting, ill have to test this sometime..

> 
> Its a signal 11 error in and audio and video codecs. 

As far as I can tell atm this will happen if mplayer isnt able to mmap
from the address it specifies to loaders/ext.c, VirtualAlloc()

answer = mmap(address, size, PROT_READ | PROT_WRITE | PROT_EXEC,
			      MAP_FIXED | MAP_PRIVATE, fd, 0);

will fail (ENOMEM), and though im not sure about the codepaths
VirtualAlloc seems to get called again, this time with address=0 and the
mmap _without_ MAP_FIXED succeeds. from there stuff goes downhill and I
guess we get a memory corruption somewhere, since the 'codec check'
fails, and then it seems it goes from bad to worse and segfaults... i
have never looked at this code before, and I am still trying to make
sense of a lot of it heh, hopefully somebody will be able to come up
with a patch soon...

you could try to boot into another kernel and see if that will work, it
does on my 2.5.47 kernel (seems that doesnt have a problem returning a
chunk of core from address).


	Andreas
-- 
"Don't you wish there were a knob on the TV to turn up the intelligence?
There's one marked 'Brightness', but it doesn't work."
	-- Gallagher. 




More information about the MPlayer-users mailing list