[MPlayer-users] Reproducable mencoder segmentation fault

pl p_l at gmx.fr
Thu May 16 09:14:02 CEST 2002


On Wed, May 15, 2002 at 09:17:05PM -0500, jthomas2 wrote:
 
> I have a reproducable mencoder segmentation fault for mencoding a mjpeg 
> file produced by a matrox marvel card. The input codec is m3jpeg and the 
> problem occurs with both ffmpeg & divx4 encoding.
> System informatio is below.

This is pretty useless without a gdb backtrace. Please read
DOCS/bugreports.html.

Also consider upgrading your gcc as 3.0.1 has been known to cause
problems (3.0.4 is better in the 3.0.x branch).

> Here is the output of mencoder.
> [root at tv2 mjpeg]# /usr/local/bin/mencoder  -lavcopts vcodec=mpeg4 
> smallex.avi
> 
> 
> MEncoder 0.90pre4-3.0.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
> 
> CPU vendor name: GenuineIntel  max cpuid level: 2
> CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, 
> Stepping: 10)
> Testing OS support for SSE... yes.
> Testing OS support for SSE unmasked exceptions... yes.
> Tests of OS support for SSE passed.
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
> Reading /root/.mplayer/codecs.conf: 30 audio & 80 video codecs
> Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
> File not found: 'frameno.avi'
> success: format: 0  data: 0x0 - 0x6936FE
> Detected AVI file format!
> MainAVIHeader.dwFlags: (65552) HAS_INDEX WAS_CAPTUREFILE
> VIDEO:  [MJPG]  352x240  24bpp  29.97 fps  10651.3 kbps (1300.2 kbyte/s)
> [V] filefmt:3  fourcc:0x47504A4D  size:352x240  fps:29.97  ftime:=0.0334
> Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
> Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 176400->176400
> libavcodec: CPU flags: mmx mmxext sse
> Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
> ==========================================================================
> Opening Video Decoder: [vfw] Win32/VfW video codecs
> VDec: vo config request - 352 x 240, Packed YUY2 
> [PP] Using codec's postprocessing, max q = 9
> Couldn't find matching colorspace - retrying with -vop scale...
> SwScale: -1 x -1 (-1=no scaling)
> Movie-Aspect is undefined - no prescaling applied.
> SwScale scaling 352x240 Packed YUY2 to 352x240 Planar YV12 
> 
> SwScaler: BICUBIC scaler, from Packed YUY2 to Planar YV12 using MMX2
> REQ: flags=0x401  req=0x0 
> REQ: flags=0x401  req=0x0 
> videocodec: libavcodec (352x240 fourcc=58564944 [DIVX])
> Loading DLL: 'm3jpeg32.dll'
> Loaded m3jpeg32.dll to address 0x10000000
> ICDecompressGetFormatSize ret: 40
> Called unk_MessageBeep
> Called unk_GetActiveWindow
> Called unk_DialogBoxParamA
> ICDecompressBegin failed: Error -2
> Detected video codec: [m3jpeg] drv:2 prio:0 (Morgan Motion JPEG Codec)
> ==========================================================================
> MP3 audio selected
> Writing AVI header...
> *** [scale] Allocating mp_image_t, 352x240x16bpp YUV packed, 168960 bytes
> *** [lavc] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
> *** [expand] Direct Rendering mp_image_t, 352x240x12bpp YUV planar, 
> 126720 bytes
> *** [scale] Allocating mp_image_t, 352x240x16bpp YUV packed, 168960 bytes
> Segmentation faultf (31%)   0fps Trem:   0min   0mb  A-V:0.067 [977:208]
> 
> This bug occurs with both mplayer 0.90-pre3 and 0.90-pre4 but not with 
> the 0.60 series.
> 
> The actual frame in which this occurs varies if I use ffmpeg or divx4.
> 
> Mplayer plays the file just fine.
> 
> A representative mjpeg file is on 
> ftp://ssm0.aae.uiuc.edu:/pub/mjpeg/smallex.avi
> 
> Any ideas?
> 
> Thanks,
> -Jay
> 
> 
> [root at tv2 tools]# cat /etc/issue.net
> Welcome to %h
> Mandrake Linux release 8.1 (Vitamin) for i586
> Kernel 2.4.8-26mdksmp on an i686
> [root at tv2 tools]# uname -a
> Linux tv2 2.4.8-26mdksmp #1 SMP Sun Sep 23 16:04:21 CEST 2001 i686 unknown
> [root at tv2 tools]# ls -l /lib/libc[.-]*
> -rwxr-xr-x    1 root     root      1285480 Sep  9  2001 /lib/libc-2.2.4.so*
> lrwxrwxrwx    1 root     root           13 Dec 19 07:12 /lib/libc.so.6 
> -> libc-2.2.4.so*
> [root at tv2 tools]# X -version
> 
> XFree86 Version 4.1.0 / X Window System
> (protocol Version 11, revision 0, vendor release 6510)
> Release Date: 2 June 2001
>    If the server is older than 6-12 months, or if your card is
>    newer than the above date, look for a newer version before
>    reporting problems.  (See http://www.XFree86.Org/FAQ)
> Build Operating System: Linux 2.4.8-5mdkenterprise i686 [ELF]
> Module Loader present
> [root at tv2 tools]# gcc -v
> Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.1/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --enable-long-long --enable-cstdio=stdio 
> --enable-clocale=generic --enable-languages=c,c++,f77,objc,java 
> --program-suffix=-3.0.1 --enable-objc-gc --host=i586-mandrake-linux-gnu
> Thread model: posix
> gcc version 3.0.1
> [root at tv2 tools]# ld -v
> GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8)
> [root at tv2 tools]# as --version
> GNU assembler 2.11.90.0.8
> Copyright 2001 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> This assembler was configured for a target of `i586-mandrake-linux-gnu'.

-- 
Best regards,
  pl




More information about the MPlayer-users mailing list