[MPlayer-users] Suse 10.0 glibc crash
Phil Payne
phil at payneinthe.com
Mon Mar 27 21:41:25 CEST 2006
Giacomo Comes wrote:
> On Mon, Mar 27, 2006 at 05:05:31PM +0100, Phil Payne wrote:
>
>> Giacomo Comes wrote:
>>
>>> On Mon, Mar 27, 2006 at 02:05:18PM +0100, Phil Payne wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> I'm trying to play an mpeg4 file using the packman package of mplayer on
>>>> Suse 10.0 and it (and others) are regularly crashing at startup with the
>>>> following output:
>>>>
>>>> *** glibc detected *** double free or corruption (!prev): 0x0874de28
>>>> ***
>>>> MPlayer interrupted by signal 6 in module: video_read_frame
>>>>
>>>> Now... I would compile the latest version of mplayer and try again but
>>>> the gcc version on Suse is not correct for this and I'm not enough of a
>>>> Linux expert to play around with changing the gcc version.
>>>>
>>>>
>>> You don't need to replace gcc that came with suse.
>>> Just compile one, install in a temporary place and use it to compile
>>> mplayer.
>>> Example:
>>>
>>> #download gcc-core-3.4.0.tar.bz2
>>> tar fjx gcc-core-3.4.0.tar.bz2
>>> mkdir obj
>>> cd obj
>>> ../gcc-3.4.0/configure --prefix=/tmp/gcc
>>> make bootstrap-lean CFLAGS='-O2' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2
>>> -fno-implicit-templates'
>>> make install
>>> PATH=/tmp/gcc/bin:$PATH
>>> #now the new gcc will be used instead of the default one
>>> cd <MPlayer source>
>>> ./configure <options>
>>> make
>>> make install
>>>
>>> Giacomo
>>>
>>>
>>>
>> Thanks, I learned something today. I installed gcc 3.4.6. That got me
>> compiling but a get a new problem. Can you help resolve?
>>
>> I used ./configure with no options, then make and I get a failure:
>>
>> gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium4
>> -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -Inative -I..
>> -I../libmpdemux -I../loader -D_GNU_SOURCE -o ve_x264.o ve_x264.c
>> ve_x264.c: In function `config':
>> ve_x264.c:219: error: structure has no member named `i_rc_buffer_size'
>> ve_x264.c:221: error: structure has no member named `i_rc_init_buffer'
>> ve_x264.c:223: error: structure has no member named `i_rc_init_buffer'
>> ve_x264.c:224: error: structure has no member named `i_rc_sens'
>> make[1]: *** [ve_x264.o] Error 1
>> make[1]: Leaving directory
>> `/home/philipp/Software/mplayer/MPlayer-1.0pre7try2/libmpcodecs'
>> make: *** [libmpcodecs/libmpcodecs.a] Error 2
>>
>> Cheers,
>> Phil.
>>
>
> Probably you are using a recent x264 snapshot. It wont work with pre7.
> I put an older one that works with pre7 in http://encode2mpeg.sf.net/x264/
>
> Giacomo
>
Thanks Giacomo (and others). Compiling a recent version of mplayer has
solved the issue. I appreciate this was more about educating me re linux
& compilation than mplayer so thanks.
Cheers,
Phil.
More information about the MPlayer-users
mailing list