[MPlayer-users] Suse 10.0 glibc crash

Giacomo Comes comes at naic.edu
Mon Mar 27 16:08:23 CEST 2006


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

> 
> Interestingly, the same file when using FreeBSD and a compiled MPlayer 
> plays fine, so... I'm assuming its something to do with how I have 
> installed Suse + MPlayer, rather than something specific to MPlayer. Can 
> anyone out there help me?
> 
> Full output below.
> 
> Thanks,
> Phil.
> 
> 
> 
> 
> MPlayer 1.0pre7try2-4.0.2 (C) 2000-2005 MPlayer Team
> CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection - WARNING - this is not optimal!
> To get best performance, recompile MPlayer with 
> --disable-runtime-cpudetection.
> 
> 
> CommandLine: '-v' 'c.avi'
> init_freetype
> get_path('font/font.desc') -> '/home/philipp/.mplayer/font/font.desc'
> font: can't open file: /home/philipp/.mplayer/font/font.desc
> Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> Failed to open /dev/rtc: Permission denied (it should be readable by the 
> user.)
> Using nanosleep() timing
> get_path('input.conf') -> '/home/philipp/.mplayer/input.conf'
> Can't open input config file /home/philipp/.mplayer/input.conf: No such 
> file or directory
> Parsing input config file /etc/mplayer/input.conf
> Input config file /etc/mplayer/input.conf parsed: 59 binds
> Opening joystick device /dev/input/js0
> Can't open joystick device /dev/input/js0 : No such file or directory
> Can't init input joystick
> get_path('c.avi.conf') -> '/home/philipp/.mplayer/c.avi.conf'
> Playing c.avi.
> [file] File size is 726308310 bytes
> STREAM: [file] c.avi
> STREAM: Description: File
> STREAM: Author: Albeu
> STREAM: Comment: based on the code from ??? (probably Arpi)
> AVI file format detected.
> list_end=0x13A
> ======= AVI Header =======
> us/frame: 41708  (fps=23.976)
> max bytes/sec: 0
> padding: 0
> MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
> frames  total: 164524   initial: 0
> streams: 2
> Suggested BufferSize: 0
> Size:  608 x 342
> ==========================
> list_end=0xD4
> ==> Found video stream: 0
> ====== STREAM Header =====
> Type: vids   FCC: DIVX (58564944)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 2997/125 = 23.976
> Start: 0   Len: 164524
> Suggested BufferSize: 94165
> Quality 0
> Sample size: 0
> ==========================
> found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>  biSize 40
>  biWidth 608
>  biHeight 342
>  biPlanes 1
>  biBitCount 24
>  biCompression 1482049860='DIVX'
>  biSizeImage 623808
> ===========================
> Regenerating keyframe table for MPEG4 video
> list_end=0x13A
> ==> Found audio stream: 1
> ====== STREAM Header =====
> Type: auds   FCC:  (2000)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 16
> Rate: 16000/512 = 31.250
> Start: 0   Len: 214440
> Suggested BufferSize: 7680
> Quality 0
> Sample size: 512
> ==========================
> found 'wf', 18 bytes of 18
> ======= WAVE Format =======
> Format Tag: 8192 (0x2000)
> Channels: 2
> Samplerate: 48000
> avg byte/sec: 16000
> Block align: 512
> bits/sample: 0
> cbSize: 0
> ===========================
> list_end=0x16A
> hdr=Software  size=27
> Software  : MEncoder 1.0pre7try2-3.4.4
> list_end=0x2AEE108E
> Found movie at 0x100C - 0x2AEE108E
> Reading INDEX block, 378964 chunks for 164524 frames (fpos=0x2aee1096)
> AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x20C)
> Auto-selected AVI audio ID = 1
> Auto-selected AVI video ID = 0
> AVI: Searching for audio stream (id:1)
> AVI video size=607333376 (164524) audio size=109793280 (214440)
> VIDEO:  [DIVX]  608x342  24bpp  23.976 fps  708.0 kbps (86.4 kbyte/s)
> [V] filefmt:3  fourcc:0x58564944  size:608x342  fps:23.98  ftime:=0.0417
> Clip info:
> Software: MEncoder 1.0pre7try2-3.4.4
> get_path('sub/') -> '/home/philipp/.mplayer/sub/'
> get_path('default.sub') -> '/home/philipp/.mplayer/default.sub'
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> dec_audio: Allocating 3840 bytes for input buffer.
> dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
> Using SSE optimized IMDCT transform
> AC3: 2.0 (stereo)  48000 Hz  128.0 kbit/s
> A52 flags before a52_frame: 0x2A
> A52 flags after a52_frame: 0x2
> Using MMX optimized resampler
> AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
> Selected audio codec: [a52] afm:liba52 (AC3-liba52)
> ==========================================================================
> X11 opening display: :0.0
> vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
> vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
> display)
> [x11] Detected wm supports NetWM.
> [x11] Detected wm supports FULLSCREEN state.
> [x11] Detected wm supports ABOVE state.
> [x11] Detected wm supports BELOW state.
> [x11] Detected wm supports STAYS_ON_TOP state.
> [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW 
> X atoms
> [xv common] Drawing colorkey manually.
> [xv common] Using colorkey from Xv (0x0101fe).
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> INFO: libavcodec init OK!
> Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> [libaf] Adding filter volnorm
> AF_pre: 48000Hz/2ch/s16le
> ao2: 48000 Hz  2 chans  s16le
> audio_setup: using '/dev/dsp' dsp device
> audio_setup: using '/dev/mixer' mixer device
> audio_setup: using 'pcm' mixer device
> audio_setup: sample format: s16le (requested: s16le)
> audio_setup: using 2 channels (requested: 2)
> audio_setup: using 48000 Hz samplerate (requested: 48000)
> audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
> AO: [oss] 48000Hz 2ch s16le (2 bps)
> AO: Description: OSS/ioctl audio output
> AO: Author: A'rpi
> Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> Starting playback...
> [ffmpeg] aspect_ratio: 1.777778
> VDec: vo config request - 608 x 342 (preferred csp: Planar YV12)
> Trying filter chain: vo
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO Config (608x342->608x342,flags=0,'MPlayer',0x32315659)
> VO: [xv] 608x342 => 608x342 Planar YV12
> VO: Description: X11/Xv
> VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
> Xvideo image format: 0x32595559 (YUY2) packed
> Xvideo image format: 0x32315659 (YV12) planar
> Xvideo image format: 0x59565955 (UYVY) packed
> Xvideo image format: 0x30323449 (I420) planar
> using Xvideo port 222 for hw scaling
> [xv] dx: 0 dy: 0 dw: 608 dh: 364
> *** [vo] Allocating mp_image_t, 608x352x12bpp YUV planar, 321024 bytes
> [xv] dx: 0 dy: 0 dw: 608 dh: 364
> *** glibc detected *** double free or corruption (!prev): 0x0874de28 ***
> 
> 
> MPlayer interrupted by signal 6 in module: video_read_frame
> - MPlayer crashed. This shouldn't happen.
>  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
>  gcc version. If you think it's MPlayer's fault, please read
>  DOCS/HTML/en/bugreports.html and follow the instructions there. We 
> can't and
>  won't help unless you provide this information when reporting a 
> possible bug.
> Uninit audio filters...
> [libaf] Removing filter volnorm
> Killed
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-- 




More information about the MPlayer-users mailing list