[MPlayer-users] MPlayer and Quicktime
Arpi
arpi at thot.banki.hu
Tue Dec 10 19:42:02 CET 2002
Hi,
> > hmm. i can't imagine why does it fails anyway. maybe some silly security
> > patches/features in the kernel? (it reminds me to l3codeca.acm problems)
>
> Well, the kernel Im running is heavily patched, im looking into whats
> happening there atm.. (easier said than done ;)
if you have security patches changing stack frames or memory allocation, try
to remove them. unfortunatelly they find win32 DLLs unsecure :)
most of them try to move 'free' memory area to lower addresses, to avoid
some buffer overflows, but it makes win32 DLL loading impossible.
(most of the DLLs are not relocatable, and even if they are, our DLL loader
doesn't support it well)
> > or maybe problems with /dev/zero access rights, high-mem kernel options, etc.
>
> /dev/zero perms are fine,
including write access?
(yes it sounds silly but it's required to allow mmap()'ing it)
> VirtualAlloc() would complain if they
> werent... and CONFIG_HIGHMEM is not set in this kernel either.
yes
> > > mmap _without_ MAP_FIXED succeeds. from there stuff goes downhill and I
> >
> > yes, but these DLLs aren't relocatable, so even if it succeed it will crash
> > soon :(
>
> ah yeah that explains some of the results i got while trying to hack
> around this stuff in MPlayer ;)
or feel free to implement DLL relocation in loader :)
(but afair the qt DLLs aren't relocatable at all)
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-users
mailing list