[Mplayer-advusers] [BUG] MPlayer interrupted by signal 11 in module: uninit_vcodec

Christian Ohm chr.ohm at gmx.net
Wed Oct 2 03:31:19 CEST 2002


hi.

when playing mpeg-files, mplayer sometimes crashes when the file is done. it
doesn't always happen, it doesn't happen for specific files, but on all
files i tested it crashed after playing them several times.

the gdb backtrace and disassembly follows:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20548)]
vf_uninit_filter_chain (vf=0x18) at vf.c:389
389             vf_instance_t* next=vf->next;
(gdb) bt
#0  vf_uninit_filter_chain (vf=0x18) at vf.c:389
#1  0x080ad565 in uninit_video (sh_video=0x8431378) at dec_video.c:139
#2  0x080749f4 in main (argc=6, argv=0xbffff954) at mplayer.c:2641
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x80ba160 to 0x80ba1a0:
0x80ba160 <vf_uninit_filter+212>:       lea    0xffffffe8(%ebp),%esp
0x80ba163 <vf_uninit_filter+215>:       pop    %ebx
0x80ba164 <vf_uninit_filter+216>:       pop    %esi
0x80ba165 <vf_uninit_filter+217>:       mov    %ebp,%esp
0x80ba167 <vf_uninit_filter+219>:       pop    %ebp
0x80ba168 <vf_uninit_filter+220>:       ret
0x80ba169 <vf_uninit_filter+221>:       lea    0x0(%esi),%esi
0x80ba16c <vf_uninit_filter_chain>:     push   %ebp
0x80ba16d <vf_uninit_filter_chain+1>:   mov    %esp,%ebp
0x80ba16f <vf_uninit_filter_chain+3>:   sub    $0x14,%esp
0x80ba172 <vf_uninit_filter_chain+6>:   push   %ebx
0x80ba173 <vf_uninit_filter_chain+7>:   mov    0x8(%ebp),%eax
0x80ba176 <vf_uninit_filter_chain+10>:  test   %eax,%eax
0x80ba178 <vf_uninit_filter_chain+12>:  je     0x80ba195 <vf_uninit_filter_chain+41>
0x80ba17a <vf_uninit_filter_chain+14>:  lea    0x0(%esi),%esi
0x80ba180 <vf_uninit_filter_chain+20>:  mov    0x3c(%eax),%ebx
0x80ba183 <vf_uninit_filter_chain+23>:  add    $0xfffffff4,%esp
0x80ba186 <vf_uninit_filter_chain+26>:  push   %eax
0x80ba187 <vf_uninit_filter_chain+27>:  call   0x80ba08c <vf_uninit_filter>
0x80ba18c <vf_uninit_filter_chain+32>:  mov    %ebx,%eax
0x80ba18e <vf_uninit_filter_chain+34>:  add    $0x10,%esp
0x80ba191 <vf_uninit_filter_chain+37>:  test   %eax,%eax
0x80ba193 <vf_uninit_filter_chain+39>:  jne    0x80ba180 <vf_uninit_filter_chain+20>
0x80ba195 <vf_uninit_filter_chain+41>:  mov    0xffffffe8(%ebp),%ebx
0x80ba198 <vf_uninit_filter_chain+44>:  mov    %ebp,%esp
0x80ba19a <vf_uninit_filter_chain+46>:  pop    %ebp
0x80ba19b <vf_uninit_filter_chain+47>:  ret
0x80ba19c <vf_list_plugins>:    push   %ebp
0x80ba19d <vf_list_plugins+1>:  mov    %esp,%ebp
0x80ba19f <vf_list_plugins+3>:  sub    $0x14,%esp
End of assembler dump.
(gdb)

the attached log shows mplayer playing a file twice, crashing when the
second run is finished.

oh, and another thing the log shows is some garbage after 'uninit video:'.
looks like a corrupted string or something.

bye
christian ohm

-- 
air, n.:
	A nutritious substance supplied by a bountiful Providence for the
	fattening of the poor.
		-- Ambrose Bierce, "The Devil's Dictionary"
-------------- next part --------------


MPlayer CVS-021001-00:25-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

/home/co/.mplayer/config(5): option: vo
/home/co/.mplayer/config(5): parameter: sdl
/home/co/.mplayer/config(6): option: vop
/home/co/.mplayer/config(6): parameter: pp,scale
/home/co/.mplayer/config(7): option: fs
/home/co/.mplayer/config(7): parameter: yes
/home/co/.mplayer/config(8): option: double
/home/co/.mplayer/config(8): parameter: yes
/home/co/.mplayer/config(10): option: autoq
/home/co/.mplayer/config(10): parameter: 99
/home/co/.mplayer/config(11): option: npp
/home/co/.mplayer/config(11): parameter: de,lb,fq:a
/home/co/.mplayer/config(13): option: ao
/home/co/.mplayer/config(13): parameter: oss
/home/co/.mplayer/config(15): option: aop
/home/co/.mplayer/config(15): parameter: list=resample,volnorm:fout=44100
/home/co/.mplayer/config(16): option: channels
/home/co/.mplayer/config(16): parameter: 2
/home/co/.mplayer/config(18): option: osdlevel
/home/co/.mplayer/config(18): parameter: 1
/home/co/.mplayer/config(19): option: ffactor
/home/co/.mplayer/config(19): parameter: 1.2
/home/co/.mplayer/config(20): option: subfont-text-scale
/home/co/.mplayer/config(20): parameter: 3.5
/home/co/.mplayer/config(22): option: cache
/home/co/.mplayer/config(22): parameter: 4096
/home/co/.mplayer/config(23): option: idx
/home/co/.mplayer/config(23): parameter: yes
/home/co/.mplayer/config(24): option: nobps
/home/co/.mplayer/config(24): parameter: 1
Reading /home/co/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine:init_freetype
 '-v' '00038.mpg' '00038.mpg' '00038.mpg' '00038.mpg'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/co/.mplayer/input.conf'
Parsing input config file /home/co/.mplayer/input.conf
Input config file /home/co/.mplayer/input.conf parsed : 51 binds
Setting up lirc support...
NEW LIRC init was successful.

Playing 00038.mpg
Not an URL!
File size is 3072870 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x840edb0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x840edb0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x840edb0  
Checking for MOV
DEMUXER: freeing demuxer at 0x840edb0  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x840edb0  
Checking for REAL
DEMUXER: freeing demuxer at 0x840edb0  
DEMUXER: freeing demuxer at 0x840edb0  
DEMUXER: freeing demuxer at 0x840edb0  
DEMUXER: freeing demuxer at 0x840edb0  
DEMUXER: freeing demuxer at 0x840edb0  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x840edb0  
DEMUXER: freeing demuxer at 0x840f618  
Checking for PVA
DEMUXER: freeing demuxer at 0x840f618  
system stream synced at 0xB (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  320x240  (aspect 1)  29.97 fps  768.0 kbps (96.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:320x240  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/co/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!

MPEG 1.0, Layer II, 32000 Hz 192 kbit Stereo, BPF: 864
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis: 0
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->128000 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [pp]
[vo] query(Planar YV12) -> 3
Opening video filter: [scale]
SwScale params: -1 x 0 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=1,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
width 320 height 240 d_width 320 d_height 240
SwScale: scaling 320x240 Planar YV12 to 320x240.000000 Planar YV12  
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
REQ: flags=0xC37  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [sdl] 320x240 => 320x240 Planar YV12  [fs]
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1152x864
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting zoomed fullscreen without modeswitching
SDL: Info - please use -vm or -zoom to switch to best resolution.
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
[PP] Using external postprocessing filter, max q = 6
AutoQ: setting quality to 6
[pl_resample] Up=128, Down=93, True fout=44043.010753
[pl_volnorm] Normalizer plugin in use.
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
couldn't open/init audio device -> no sound
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.5    1   0%  0%  0.0% 0 6 72%
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [pp] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
using npp filters 0x22000F/0x220007
get_path('subfont.ttf') -> '/home/co/.mplayer/subfont.ttf'
Unicode font: 1185 glyphs.
V:   0.5    2   0%  0%  0.0% 0 6 72%
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.5    3   0%  0%  0.0% 0 6 72%
V:   0.6    4   0%  0%  0.0% 0 6 72%
V:   0.6    5   0%  0%  0.0% 0 6 72%
V:   0.6    6   0%  0%  0.0% 0 6 72%
V:   0.7    7   0%  0%  0.0% 0 6 72%
V:   0.7    8   0%  0%  0.0% 0 6 72%
V:   0.7    9   0%  0%  0.0% 0 6 72%
V:   0.8   10   0%  0%  0.0% 0 6 72%
V:   0.8   11   0%  0%  0.0% 0 6 72%
V:   0.8   12   0%  0%  0.0% 0 6 72%
V:   0.9   13   0%  0%  0.0% 0 6 72%
V:   0.9   14   0%  0%  0.0% 0 6 71%
V:   0.9   15   0%  0%  0.0% 0 6 71%
V:   0.9   16   5% 15%  0.0% 0 6 71%
V:   1.0   17   5% 15%  0.0% 0 6 71%
V:   1.0   18   5% 15%  0.0% 0 6 71%
EOF code: 1  

DEMUXER: freeing demuxer at 0x840f618  
DEMUXER: freeing sh_audio at 0x83eed18  
DEMUXER: freeing sh_video at 0x83edcf8  
SDL: activating XScreensaver/DPMS
uninit video: 0?>0?>?h?@?h?@?h?@?h?@?h?@?h?@?h?@?h?@ ?> ?>?	??	??h?@?h?@??>??L?h?@?h?@??  

Playing 00038.mpg
Not an URL!
File size is 3072870 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84307f0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84307f0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84307f0  
Checking for MOV
DEMUXER: freeing demuxer at 0x84307f0  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x84307f0  
Checking for REAL
DEMUXER: freeing demuxer at 0x84307f0  
DEMUXER: freeing demuxer at 0x84307f0  
DEMUXER: freeing demuxer at 0x84307f0  
DEMUXER: freeing demuxer at 0x84307f0  
DEMUXER: freeing demuxer at 0x84307f0  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84307f0  
DEMUXER: freeing demuxer at 0x8431418  
Checking for PVA
DEMUXER: freeing demuxer at 0x842f710  
system stream synced at 0xB (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  320x240  (aspect 1)  29.97 fps  768.0 kbps (96.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:320x240  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/co/.mplayer/sub/'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!

MPEG 1.0, Layer II, 32000 Hz 192 kbit Stereo, BPF: 864
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis: 0
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->128000 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [pp]
[vo] query(Planar YV12) -> 3
Opening video filter: [scale]
SwScale params: -1 x 0 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=1,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
width 320 height 240 d_width 320 d_height 240
SwScale: scaling 320x240 Planar YV12 to 320x240.000000 Planar YV12  
REQ: flags=0xC37  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [sdl] 320x240 => 320x240 Planar YV12  [fs]
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1152x864
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting zoomed fullscreen without modeswitching
SDL: Info - please use -vm or -zoom to switch to best resolution.
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
[PP] Using external postprocessing filter, max q = 6
AutoQ: setting quality to 6
[pl_resample] Up=128, Down=93, True fout=44043.010753
[pl_volnorm] Normalizer plugin in use.
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
couldn't open/init audio device -> no sound
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.5    1   0%  0%  0.0% 0 6 72%
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [pp] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
get_path('subfont.ttf') -> '/home/co/.mplayer/subfont.ttf'
Unicode font: 1185 glyphs.
V:   0.5    2   0%  0%  0.0% 0 6 72%
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V:   0.5    3   0%  0%  0.0% 0 5 72%
V:   0.6    4   0%  0%  0.0% 0 6 72%
V:   0.6    5   0%  0%  0.0% 0 6 72%
V:   0.6    6   0%  0%  0.0% 0 6 72%
V:   0.7    7   0%  0%  0.0% 0 6 72%
V:   0.7    8   0%  0%  0.0% 0 6 72%
V:   0.7    9   0%  0%  0.0% 0 6 72%
V:   0.8   10   0%  0%  0.0% 0 6 72%
V:   0.8   11   0%  0%  0.0% 0 6 72%
V:   0.8   12   0%  0%  0.0% 0 6 72%
V:   0.9   13   0%  0%  0.0% 0 6 72%
V:   0.9   14   0%  0%  0.0% 0 6 71%
EOF code: 1  

DEMUXER: freeing demuxer at 0x842f710  
DEMUXER: freeing sh_audio at 0x83eed18  
DEMUXER: freeing sh_video at 0x83ede98  
SDL: activating XScreensaver/DPMS
uninit video:   


MPlayer interrupted by signal 11 in module: uninit_vcodec 
- 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 section 5.b.
- 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 instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
vo: x11 uninit called but X11 not inited..


More information about the MPlayer-advusers mailing list