[MPlayer-dev-eng] [BUG] sig11 in indeo4 playing

Gabucino gabucino at mplayerhq.hu
Wed Aug 14 20:39:47 CEST 2002


I get a segmentation fault while playing (any) indeo4 avi.
Some days ago it occured right after start, but with a recent
mplayer it occurs only after pause, and then unpause.

gdb log follows:

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
(gdb) run ~/x/logo1.avi -v
Starting program: /home/gabucino/mplayer/src/./mplayer ~/x/logo1.avi -v


MPlayer CVS-020814-20:20-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

/home/gabucino/.mplayer/config(2): option: vo
/home/gabucino/.mplayer/config(2): parameter: xv
/home/gabucino/.mplayer/config(4): option: vop
/home/gabucino/.mplayer/config(4): parameter: pp
/home/gabucino/.mplayer/config(5): option: autoq
/home/gabucino/.mplayer/config(5): parameter: 100
/home/gabucino/.mplayer/config(7): option: fs
/home/gabucino/.mplayer/config(7): parameter: igen
/home/gabucino/.mplayer/config(11): option: osdlevel
/home/gabucino/.mplayer/config(11): parameter: 1
/home/gabucino/.mplayer/config(12): option: framedrop
/home/gabucino/.mplayer/config(12): parameter: igen
/home/gabucino/.mplayer/config(13): option: skin
/home/gabucino/.mplayer/config(13): parameter: CornerMP-aqua
/home/gabucino/.mplayer/config(15): option: cache
/home/gabucino/.mplayer/config(15): parameter: 1024
/home/gabucino/.mplayer/config(17): option: nortc
/home/gabucino/.mplayer/config(17): parameter: yes
Reading /home/gabucino/.mplayer/codecs.conf: this codecs.conf is too old, incompatible with this mplayer release! at line 6
Reading /usr/local/share/mplayer/codecs.conf: 38 audio & 104 video codecs
CommandLine:get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
 '/home/gabucino/x/logo1.avi' '-v'
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Could not access the 'termcap' data base.
Can't open input config file /home/gabucino/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/share/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /home/gabucino/x/logo1.avi
Not an URL!
File size is 2168778 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0.00% (0 bytes)    Detected AVI file format!
list_end=0x148
list_end=0xDC
======= AVI Header =======
us/frame: 66667  (fps=15.000)
max bytes/sec: 285150
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 202   initial: 11
streams: 2
Suggested BufferSize: 32768
Size:  320 x 240
==> Found video stream: 0
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids   FCC: IV41 (31345649)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 15/1 = 15.000
Start: 0   Len: 202
Suggested BufferSize: 230400
Quality 8500
Sample size: 0
list_end=0x148
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 825513545='IV41'
  biSizeImage 172800
===========================
==> Found audio stream: 1
found 'wf', 16 bytes of 20
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 11
Rate: 22050/1 = 22050.000
Start: 0   Len: 296947
Suggested BufferSize: 1474
Quality 10000
Sample size: 1
Broken chunk?  chunksize=3748  (id=JUNK)
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 22050
avg byte/sec: 22050
Block align: 1
bits/sample: 8
cbSize: 0
list_end=0x20EFFE
Found movie at 0x1000 - 0x20EFFE
Reading INDEX block, 617 chunks for 202 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 617 chunks for 202 frames
list_end=0x211762
list_end=0x2117CA
AVI index offset: 0xFFC (movi=0x1000 idx0=0x4 idx1=0x10)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=1852619
VIDEO:  [IV41]  320x240  24bpp  15.00 fps  1100.6 kbps (134.3 kbyte/s)
[V] filefmt:3  fourcc:0x31345649  size:320x240  fps:15.00  ftime:=0.0667
get_path('sub/') -> '/home/gabucino/.mplayer/sub/'
Detected audio codec: [pcm] afm:2 (Uncompressed PCM)
Initializing audio codec...
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 22050 Hz, 1 ch, sfmt: 0x8 (1 bps), ratio: 22050->22050 (176.4 kbit)
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Create window for WM detect ...
[x11] Unknown wm type...
Opening video filter: [pp]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [vfw] Win32/VfW video codecs
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)  
[PP] Using external postprocessing filter, max q = 6
vo_debug: query(Planar IF09) returned 0x0 (i=0) 
vo_debug: query(BGR 24-bit) returned 0x0 (i=1) 
vo_debug: query(BGR 15-bit) returned 0x0 (i=2) 
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
vo_debug: query(Planar IF09) returned 0xC35 (i=0) 
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
vo_debug: query(BGR 24-bit) returned 0xC35 (i=1) 
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
vo_debug: query(BGR 15-bit) returned 0xC35 (i=2) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=1,'MPlayer',0x39304649)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
SwScaler: using unscaled Planar YVU9 -> Planar YV12 special converter
REQ: flags=0xC37  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [xv] 320x240 => 320x240 Planar YV12  [fs]
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 85 for hw scaling
[xv] dx: 0 dy: 0 dw: 320 dh: 240
======= Win32 (VFW) VIDEO Codec init =======
get_path('registry') -> '/home/gabucino/.mplayer/registry'
Loading DLL: 'ir41_32.dll'
ICDecompressGetFormat OK
ICDecompressGetFormatSize ret: 1064
Extra info in o_bih (1024 bytes)!
ICDecompressQuery OK
Starting decompression, format:
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 0x31345649 ('IV41')
  biSizeImage 172800
Dest fmt:
  biSize 40
  biWidth 320
  biHeight -240
  biPlanes 1
  biBitCount 9
  biCompression 0x39304649 ('IF09')
  biSizeImage 76800
VIDEO CODEC Init OK!!! ;-)
INFO: Win32 video codec init OK!
Detected video codec: [indeo4] vfm:2 (Intel Indeo 4.1)
==========================================================================
[PP] Using external postprocessing filter, max q = 6
AutoQ: setting quality to 6
AO: [oss] 22050Hz 1ch Unsigned 8-bit
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 22050 Hz  1 chans  Unsigned 8-bit
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Unsigned 8-bit (requested: Unsigned 8-bit)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 22050 Hz samplerate (requested: 22050)
audio_setup: frags:  32/32  (512 bytes/frag)  free:  16384
Start playing...
XXX initial  v_pts=0.000  a_pos=16163 (0.733) 
*** [scale] Allocating mp_image_t, 320x240x9bpp YUV planar, 86400 bytes
*** [pp] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xv] dx: 0 dy: 0 dw: 1024 dh: 768
[xv-fs] dx: 0 dy: 0 dw: 1024 dh: 768
A:   0.0 V:   0.0 A-V:  0.030 ct:  0.000    1/  1   0%  0%  0.0% 0 6 96%
A:   0.1 V:   0.1 A-V:  0.002 ct:  0.000    2/  2   0%  0%  0.0% 0 5 96%
A:   0.1 V:   0.1 A-V:  0.005 ct:  0.001    3/  3   0%  0%  0.0% 0 6 95%
A:   0.2 V:   0.2 A-V:  0.008 ct:  0.002    4/  4   0%  0%  0.0% 0 6 94%
A:   0.3 V:   0.3 A-V:  0.001 ct:  0.002    5/  5   0%  0%  0.0% 0 6 92%
A:   0.3 V:   0.3 A-V:  0.005 ct:  0.002    6/  6   0%  0%  0.0% 0 6 91%
A:   0.4 V:   0.4 A-V: -0.002 ct:  0.002    7/  7   0%  0%  0.0% 0 6 89%
A:   0.5 V:   0.5 A-V:  0.001 ct:  0.002    8/  8   0%  0%  0.0% 0 6 87%
A:   0.5 V:   0.5 A-V:  0.005 ct:  0.003    9/  9  15% 19%  0.2% 0 6 85%
A:   0.6 V:   0.6 A-V: -0.002 ct:  0.002   10/ 10  15% 18%  0.2% 0 6 84%
A:   0.7 V:   0.7 A-V:  0.001 ct:  0.003   11/ 11  15% 18%  0.2% 0 6 82%
A:   0.7 V:   0.7 A-V:  0.005 ct:  0.003   12/ 12  15% 18%  0.2% 0 6 80%
A:   0.8 V:   0.8 A-V: -0.002 ct:  0.003   13/ 13  15% 18%  0.2% 0 6 78%
A:   0.9 V:   0.9 A-V:  0.001 ct:  0.003   14/ 14  15% 17%  0.2% 0 6 76%
A:   0.9 V:   0.9 A-V:  0.005 ct:  0.004   15/ 15  15% 17%  0.2% 0 6 75%
A:   1.0 V:   1.0 A-V: -0.001 ct:  0.003   16/ 16  14% 17%  0.2% 0 6 73%
A:   1.1 V:   1.1 A-V:  0.001 ct:  0.004   17/ 17  14% 17%  0.2% 0 6 71%
A:   1.1 V:   1.1 A-V:  0.005 ct:  0.004   18/ 18  14% 17%  0.2% 0 6 69%
A:   1.2 V:   1.2 A-V: -0.002 ct:  0.004   19/ 19  14% 17%  0.2% 0 6 67%
A:   1.3 V:   1.3 A-V:  0.001 ct:  0.004   20/ 20  14% 17%  0.2% 0 6 66%
A:   1.3 V:   1.3 A-V:  0.005 ct:  0.005   21/ 21  14% 17%  0.2% 0 6 64%
A:   1.4 V:   1.4 A-V: -0.001 ct:  0.004   22/ 22  14% 17%  0.2% 0 6 62%
A:   1.5 V:   1.5 A-V:  0.001 ct:  0.005   23/ 23  14% 17%  0.2% 0 6 60%
A:   1.5 V:   1.5 A-V: -0.005 ct:  0.004   24/ 24  14% 17%  0.2% 0 6 58%
A:   1.6 V:   1.6 A-V: -0.002 ct:  0.004   25/ 25  14% 17%  0.1% 0 6 57%
A:   1.7 V:   1.7 A-V:  0.001 ct:  0.004   26/ 26  14% 17%  0.1% 0 6 55%
A:   1.7 V:   1.7 A-V:  0.005 ct:  0.004   27/ 27  14% 17%  0.1% 0 6 53%
A:   1.8 V:   1.8 A-V: -0.002 ct:  0.004   28/ 28  14% 17%  0.1% 0 6 51%
A:   1.9 V:   1.9 A-V:  0.001 ct:  0.004   29/ 29  14% 16%  0.1% 0 6 49%
A:   1.9 V:   1.9 A-V: -0.004 ct:  0.004   30/ 30  14% 16%  0.1% 0 6 48%
A:   2.0 V:   2.0 A-V: -0.001 ct:  0.004   31/ 31  14% 16%  0.1% 0 6 46%
A:   2.1 V:   2.1 A-V:  0.001 ct:  0.004   32/ 32  14% 16%  0.1% 0 6 47%
A:   2.1 V:   2.1 A-V:  0.005 ct:  0.005   33/ 33  14% 16%  0.1% 0 6 47%
A:   2.2 V:   2.2 A-V: -0.002 ct:  0.004   34/ 34  14% 16%  0.1% 0 6 46%
A:   2.3 V:   2.3 A-V:  0.001 ct:  0.005   35/ 35  14% 16%  0.1% 0 6 47%
A:   2.3 V:   2.3 A-V: -0.005 ct:  0.004   36/ 36  14% 16%  0.1% 0 6 47%
A:   2.4 V:   2.4 A-V: -0.002 ct:  0.004   37/ 37  14% 16%  0.1% 0 6 46%
A:   2.5 V:   2.5 A-V:  0.001 ct:  0.004   38/ 38  14% 16%  0.1% 0 6 47%
A:   2.5 V:   2.5 A-V:  0.005 ct:  0.004   39/ 39  14% 16%  0.1% 0 6 47%
A:   2.7 V:   2.6 A-V:  0.097 ct:  0.011   40/ 40  14% 16%  0.1% 0 6 46%
A:   2.7 V:   2.7 A-V:  0.053 ct:  0.016   41/ 41  14% 16%  0.2% 0 6 47%
------ PAUSED -------
[New Thread 1024 (LWP 3863)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 3863)]
0x10007e35 in ?? ()
(gdb) bt
#0  0x10007e35 in ?? ()
Cannot access memory at address 0x3fcc3fd0
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x10007e15 to 0x10007e55:
0x10007e15:	add    %al,(%edx)
0x10007e17:	shr    $0x2,%eax
0x10007e1a:	add    $0x2000200,%ebx
0x10007e20:	shr    $0x2,%ebx
0x10007e23:	add    $0x2000200,%ecx
0x10007e29:	shr    $0x2,%ecx
0x10007e2c:	add    $0x2000200,%edx
0x10007e32:	shr    $0x2,%edx
0x10007e35:	mov    %al,(%edi)
0x10007e37:	shr    $0x10,%eax
0x10007e3a:	mov    %bl,0x1(%edi)
0x10007e3d:	shr    $0x10,%ebx
0x10007e40:	mov    %cl,0x2(%edi)
0x10007e43:	shr    $0x10,%ecx
0x10007e46:	mov    %dl,0x3(%edi)
0x10007e49:	shr    $0x10,%edx
0x10007e4c:	mov    %al,0x4(%edi)
0x10007e4f:	mov    %bl,0x5(%edi)
0x10007e52:	mov    %cl,0x6(%edi)
End of assembler dump.


-- 
Gabucino

/ Worshipping Niedermayer 4ever /
"Do you always look at it encoded?" (C) D. R. F.
"minden lehet. ez nem." (c) A'rpi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020814/aee8e71f/attachment.pgp>


More information about the MPlayer-dev-eng mailing list