[MPlayer-users] segfault in decode (vd_ffmpeg.c:660)

Brian J. Murrell brian at interlinx.bc.ca
Thu May 1 19:57:30 CEST 2003


I am trying to play an MJPEG file with current mplayer CVS.  It is
segfaulting at vd_ffmpeg.c:660.  Here is the stack trace:

(gdb) where
#0  0x00000000 in ?? ()
#1  0x080cbd1a in decode (sh=0x83ef218, data=0x8438570, len=44772, flags=1)
    at vd_ffmpeg.c:660
#2  0x080c1b03 in decode_video (sh_video=0x83ef218,
    start=0x40e60020 "\036\035\034\035\036\035\034\032\030\032\e\035\036\036\036\036\e\e\e\e\e\e\e\e \036\e\032\e\034\034\034\031\031\031\031\032\032\032\032\024\025\027\032\034\036 !\031\e\034\032\026\025\027\032\035\e\031\030\031\034\036\035\036\035\e\031\031\032\034\030\031\032\031\027\026\030\e\035\034\032\031\030\030\030\031\035\035\035\035\035\034\e\e\026\e\035\034\e\e\030\023\030\031\032\031\027\026\030\e\031\032\032\030\027\027\e\036\035\036\037\035\e\030\030\030\031\031\032\e\034\035\035\036\034\032\031\032\035\036\035\e\031\031\030\027\027\027\027\027\024\030\034\036\035\034\035\036\027\032\035\037\037\036\036\036\027\031\032\e\032\032\034\035\027\031\032\e\e\031\026\025\030\030\032\e\e\e\032\031\030\031\031\032\032\032\032\032"..., in_size=1088815136, drop_frame=0)
    at dec_video.c:304
#3  0x08070ffb in main (argc=2, argv=0xbffff7d4) at mplayer.c:1927
#4  0x405867f7 in __libc_start_main () from /lib/i686/libc.so.6

Output from "mplayer -v <file>":

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030501-07:19-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/brian/.mplayer/config
Reading /home/brian/.mplayer/codecs.conf: can't open '/home/brian/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-v' 'The West Wing: Life on Mars.mov'
get_path('font/font.desc') -> '/home/brian/.mplayer/font/font.desc'
Font /home/brian/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/brian/.mplayer/input.conf'
Parsing input config file /home/brian/.mplayer/input.conf
Input config file /home/brian/.mplayer/input.conf parsed : 55 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('The West Wing: Life on Mars.mov.conf') -> '/home/brian/.mplayer/The West Wing: Life on Mars.mov.conf'

Playing The West Wing: Life on Mars.mov
Not an URL!
[file] File size is 5410933293 bytes
STREAM: [file] The West Wing: Life on Mars.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x83ed938  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83ed938  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83ed938  
Checking for REAL
DEMUXER: freeing demuxer at 0x83ed938  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x83ed938  
DEMUXER: freeing demuxer at 0x83ee2d8  
Searching demuxer type for filename The West Wing: Life on Mars.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie DATA found!
MOV: Movie header found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=30000  dur=107670563
Quicktime Clip Info:
 Info: Made with Quicktime for Linux
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=107670563 lay=0 vol=0
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 107670563  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide () Linux Video Media Handler
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis () Linux Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mjpa  (80 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=107563 ss=0) (ver:0,flags:0)
MOV:     64bit chunk offset table! (107563 chunks)
MOV track #0: 107563 chunks, 107563 samples
pts=107670563  scale=30000  time=3589.019
EL#0: pts=0  1st_sample=0  frames=107563 (3589.019s)  pts_offs=0
==> Found video stream: 0
MOV: Found unsupported Field-Handling movie atom (10)!
Image size: 352 x 480 (24 bpp)
Display size: 352 x 480
Fourcc: mjpa  Codec: 'Quicktime for Linux'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=107670562 lay=0 vol=255
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 107670562  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun () Linux Sound Media Handler
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis () Linux Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: twos  (20 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (3 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=158275727 ss=1) (ver:0,flags:0)
MOV:     64bit chunk offset table! (154567 chunks)
MOV track #1: 154567 chunks, 0 samples
pts=158275727  scale=44100  time=3589.019
==> Found audio stream: 1
Audio bits: 16  chans: 2  rate: 44100
Fourcc: twos
--------------
MOV: longest streams: A: #1 (154567 samples)  V: #0 (107563 samples)
[V] filefmt:7  fourcc:0x61706A6D  size:352x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/brian/.mplayer/sub/'
get_path('default.sub') -> '/home/brian/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1600x1200 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-0.9.0rc7
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=65536
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi <alex at naxine.org>, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
alsa-space: free space = 65536, status=138544304, prepared --
mjpeg: Apple MJPEG-A header found
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 352 x 480 (preferred csp: Planar 422P)
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 2)
Movie-Aspect is undefined - no prescaling applied.
VO Config (352x480->352x480,flags=0,'MPlayer',0x32595559)
VO: [xv] 352x480 => 352x480 Packed YUY2 
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: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 62 for hw scaling
[xv] dx: 0 dy: 0 dw: 352 dh: 480
*** [vo] Allocating mp_image_t, 352x480x16bpp YUV packed, 337920 bytes


MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. For details, see DOCS/bugreports.html#crash
- 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/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 dummy 
uninit audio: pcm
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x83ee2d8  
DEMUXER: freeing sh_video at 0x83ef218  
DEMUXER: freeing sh_audio at 0x83ef480  
alsa-uninit: pcm closed
vo: uninit ...

b.

-- 
Brian J. Murrell <brian at interlinx.bc.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030501/0ce2d918/attachment.pgp>


More information about the MPlayer-users mailing list