[MPlayer-users] bug report: mencoder crashes on Adobe Premiere's raw avi output

Timothy Olsen tolsen at MIT.EDU
Wed Jun 16 19:19:37 CEST 2004


mencoder segfaults when I try to convert raw avi output from Adobe
Premiere 7.0 into MPEG4.  This happens with today's (20040616) cvs
snapshot.

The sample input is at
ftp://mplayerhq.hu/MPlayer/incoming/tolsen_mencoder_crash.avi.bz2

-Tim



System Information
------------------

I am running Debian 3.0 with the gnome2.2 backport.

Script started on Wed Jun 16 13:04:08 2004
tim at jersey:~/video$ cat /etc/issue
Debian GNU/\s 3.0 \n \l

tim at jersey:~/video$ uname -a
Linux jersey.csail.mit.edu 2.4.18-1-686 #1 Wed Apr 14 18:20:10 UTC 2004 i686 unknown
tim at jersey:~/video$ ls -l /b lib/libc[.-]*
-rwxr-xr-x    1 root     root      1153784 Apr  8  2003 /lib/libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 Apr 23 13:43 /lib/libc.so.6 -> libc-2.2.5.so
tim at jersey:~/video$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
tim at jersey:~/video$ ld -v
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
tim at jersey:~/video$ as --version
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
Copyright 2002 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 `i386-linux'.
tim at jersey:~/video$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 8
model name	: Pentium III (Coppermine)
stepping	: 10
cpu MHz		: 1096.695
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips	: 2188.90

tim at jersey:~/video$ lspci -vv
00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 0
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: <available only to root>

00:01.0 PCI bridge: Intel Corp.: Unknown device 1131 (rev 02) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	Memory behind bridge: fc900000-fe9fffff
	Prefetchable memory behind bridge: e4600000-f46fffff
	BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (rev 02) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fea00000-feafffff
	Prefetchable memory behind bridge: f4700000-f47fffff
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp. 82820 820 (Camino 2) Chipset ISA Bridge (ICH2) (rev 02)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:1f.1 IDE interface: Intel Corp. 82820 820 (Camino 2) Chipset IDE U100 (rev 02) (prog-if 80 [Master])
	Subsystem: Intel Corp.: Unknown device 4541
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Region 4: I/O ports at ffa0 [size=16]

00:1f.2 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub A) (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corp.: Unknown device 4541
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin D routed to IRQ 10
	Region 4: I/O ports at ef80 [size=32]

00:1f.3 SMBus: Intel Corp. 82820 820 (Camino 2) Chipset SMBus (rev 02)
	Subsystem: Intel Corp.: Unknown device 4541
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 9
	Region 4: I/O ports at efa0 [size=16]

01:00.0 VGA compatible controller: nVidia Corporation NV15 Bladerunner (GeForce2 Ultra) (rev a4) (prog-if 00 [VGA])
	Subsystem: nVidia Corporation: Unknown device 0067
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 248 (1250ns min, 250ns max)
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at e8000000 (32-bit, prefetchable) [size=128M]
	Expansion ROM at fe9f0000 [disabled] [size=64K]
	Capabilities: <available only to root>

02:09.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 78)
	Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (2500ns min, 2500ns max), cache line size 08
	Interrupt: pin A routed to IRQ 3
	Region 0: I/O ports at dc00 [size=128]
	Region 1: Memory at feaffc00 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at feac0000 [disabled] [size=128K]
	Capabilities: <available only to root>

02:0a.0 FireWire (IEEE 1394): Texas Instruments: Unknown device 8020 (prog-if 10 [OHCI])
	Subsystem: Ads Technologies Inc: Unknown device 0000
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (500ns min, 1000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at feaff000 (32-bit, non-prefetchable) [size=2K]
	Region 1: Memory at feaf8000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <available only to root>

02:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
	Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-
	Latency: 64 (3000ns min, 32000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at df00 [size=64]
	Capabilities: <available only to root>

tim at jersey:~/video$ 
Script done on Wed Jun 16 13:04:56 2004


GDB output
----------

Script started on Wed Jun 16 13:01:41 2004
tim at jersey:~/video$ gdb /usr/local/m bin/mencoder 
GNU gdb 2002-04-01-cvs
Copyright 2002 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 "i386-linux"...
(gdb) run -v 090303_2s.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300:vpass=1 
 -oac mp3lame -lameopts preset=64 -o 090303_2s_mpeg4at300_mp3.avi
Starting program: /usr/local/bin/mencoder -v 090303_2s.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300:vpass=1 -oac mp3lame -lameopts preset=64 -o 090303_2s_mpeg4at300_mp3.avi
[New Thread 1024 (LWP 21921)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MEncoder dev-CVS-040616-00:00-2.95.4 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1096 MHz (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /home/tim/.mplayer/codecs.conf: Can't open '/home/tim/.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.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/tim/.mplayer/mencoder: No such file or directory
init_freetype
get_path('font/font.desc') -> '/home/tim/.mplayer/font/font.desc'
font: can't open file: /home/tim/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 15855288 bytes
STREAM: [file] 090303_2s.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0xF1EEB8
AVI file format detected.
list_end=0x138
======= AVI Header =======
us/frame: 33366  (fps=29.971)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames  total: 61   initial: 0
streams: 2
Suggested BufferSize: 253440
Size:  352 x 240
==========================
list_end=0xD4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 5969
InitialFrames: 0
Rate: 2997/100 = 29.970
Start: 0   Len: 61
Suggested BufferSize: 253440
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 352
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 0=''
  biSizeImage 253440
===========================
list_end=0x138
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 30713
InitialFrames: 0
Rate: 192000/4 = 48000.000
Start: 0   Len: 97697
Suggested BufferSize: 192240
Quality 10000
Sample size: 4
==========================
found 'wf', 16 bytes of 18
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 48000
avg byte/sec: 192000
Block align: 4
bits/sample: 16
cbSize: 0
===========================
list_end=0xF1EAB0
Found movie at 0xC2C - 0xF1EAB0
Reading INDEX block, 64 chunks for 61 frames (fpos=0xf1eab8)
AVI index offset: 0xC28 (movi=0xC2C idx0=0x4 idx1=0x3DE0C)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
Detected NON-INTERLEAVED AVI file format.
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.000  a_pos=0 (0.000) 
AVI video size=15459840 (61) audio size=390788 (97697)
VIDEO:  []  352x240  24bpp  29.970 fps  60764.8 kbps (7417.6 kbyte/s)
[V] filefmt:3  fourcc:0x0  size:352x240  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 192000->192000 (1536.0 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 240 (preferred csp: BGR 24-bit)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 240 (preferred csp: BGR 24-bit)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 240 (preferred csp: BGR 24-bit)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 240 (preferred csp: BGR 24-bit)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 240 (preferred csp: BGR 24-bit)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 240 (preferred csp: BGR 24-bit)
Trying filter chain: expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale expand lavc
VDec: using BGR 24-bit as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
VO Config (352x240->352x240,flags=8,'MPlayer',0x42475218)
REQ: flags=0x441  req=0x400  
SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter
REQ: flags=0x401  req=0x0  
REQ: flags=0x401  req=0x0  
videocodec: libavcodec (352x240 fourcc=58564944 [DIVX])
Selected video codec: [rawbgr24flip] vfm:raw (RAW BGR24)
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Writing AVI header...
ODML: vprp aspect is 16384:11170.

preset=64

LAME version 3.96  (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 11032 Hz - 11613 Hz

misc:

	scaling: 0.95
	ch0 (left) scaling: 0
	ch1 (right) scaling: 0
	filter type: 0
	quantization: xr^3/4
	huffman search: normal
	experimental Y=0
	...

stream format:

	MPEG-1 Layer 3
	2 channel - joint stereo
	padding: all
	variable bitrate - ABR 
	...

psychoacoustic:

	using psychoacoustic model: 1
	psychoacoustic model: NSPsytune
	tonality estimation limit: 8871.700195 Hz (not relevant)
	using short blocks: channel coupled
	subblock gain: 1
	adjust masking: 0 dB
	adjust masking short: 0 dB
	quantization comparison: 9
	 ^ comparison short blocks: 9
	noise shaping: 2
	 ^ amplification: 0
	 ^ stopping: 0
	ATH: using
	 ^ type: 4
	 ^ shape: 11 (only for type 4)
	 ^ level adjustement: 0
	 ^ adjust type: 0
	 ^ adjust sensitivity power: 0
	 ^ adapt threshold type: 2
	experimental psy tunings by Naoki Shibata
	   adjust masking bass=0 dB, alto=0 dB, treble=0 dB, sfb21=0 dB
	using temporal masking effect: yes
	interchannel masking ratio: 0.0008
	...

*** [flip] Exporting mp_image_t, 352x240x24bpp BGR packed, 253440 bytes
*** [scale] Exporting mp_image_t, 352x240x24bpp BGR packed, 253440 bytes
*** [lavc] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
*** [expand] Direct Rendering mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
Pos:   0.0s      1f ( 1%)   0fps Trem:   0min   1mb  A-V:0.000 [0:0] A/Vms 10/38 D/B/S 0/0/0 
Pos:   0.1s      2f (18%)   0fps Trem:   0min   0mb  A-V:0.003 [0:0] A/Vms 9/29 D/B/S 0/0/0 
Pos:   0.1s      3f ( 3%)   0fps Trem:   0min   1mb  A-V:0.007 [0:0] A/Vms 9/24 D/B/S 0/0/0 
Pos:   0.1s      4f ( 4%)   0fps Trem:   0min   0mb  A-V:0.010 [0:0] A/Vms 9/21 D/B/S 0/0/0 
Pos:   0.2s      5f ( 6%)   0fps Trem:   0min   0mb  A-V:0.013 [0:0] A/Vms 12/19 D/B/S 0/0/0 
Pos:   0.2s      6f ( 7%)   0fps Trem:   0min   0mb  A-V:0.017 [0:0] A/Vms 12/19 D/B/S 0/0/0 
Pos:   0.2s      7f ( 9%)   0fps Trem:   0min   0mb  A-V:0.020 [0:0] A/Vms 11/17 D/B/S 0/0/0 
Pos:   0.3s      8f (11%)   0fps Trem:   0min   0mb  A-V:0.023 [0:0] A/Vms 11/16 D/B/S 0/0/0 
Pos:   0.3s      9f (12%)   0fps Trem:   0min   0mb  A-V:0.027 [0:0] A/Vms 14/15 D/B/S 0/0/0 
Pos:   0.3s     10f (14%)   0fps Trem:   0min   0mb  A-V:0.030 [0:0] A/Vms 13/15 D/B/S 0/0/0 
Pos:   0.4s     11f (15%)   0fps Trem:   0min   0mb  A-V:0.033 [0:0] A/Vms 13/15 D/B/S 0/0/0 
Pos:   0.4s     12f (17%)   0fps Trem:   0min   0mb  A-V:0.037 [0:0] A/Vms 12/14 D/B/S 0/0/0 
Pos:   0.4s     13f (20%)   0fps Trem:   0min   0mb  A-V:0.040 [0:0] A/Vms 12/13 D/B/S 0/0/0 
Pos:   0.5s     14f (65%)   0fps Trem:   0min   0mb  A-V:0.043 [0:0] A/Vms 12/13 D/B/S 0/0/0 
Pos:   0.5s     15f (23%)   0fps Trem:   0min   0mb  A-V:0.046 [0:0] A/Vms 12/13 D/B/S 0/0/0 
Pos:   0.5s     16f (25%)   0fps Trem:   0min   0mb  A-V:0.048 [0:75] A/Vms 11/17 D/B/S 0/0/0 
Pos:   0.6s     17f (26%)  17fps Trem:   0min   0mb  A-V:0.050 [0:74] A/Vms 11/17 D/B/S 0/0/0 
Pos:   0.6s     18f (28%)  17fps Trem:   0min   0mb  A-V:0.052 [0:75] A/Vms 11/16 D/B/S 0/0/0 
Pos:   0.6s     19f (29%)  18fps Trem:   0min   0mb  A-V:0.054 [0:75] A/Vms 11/15 D/B/S 0/0/0 
Pos:   0.7s     20f (31%)  17fps Trem:   0min   0mb  A-V:0.055 [0:75] A/Vms 10/19 D/B/S 0/0/0 
Pos:   0.7s     21f (33%)  18fps Trem:   0min   0mb  A-V:0.057 [0:75] A/Vms 10/19 D/B/S 0/0/0 
Pos:   0.7s     22f (34%)  18fps Trem:   0min   0mb  A-V:0.058 [0:75] A/Vms 10/18 D/B/S 0/0/0 
Pos:   0.8s     23f (36%)  19fps Trem:   0min   0mb  A-V:0.059 [0:75] A/Vms 10/18 D/B/S 0/0/0 
Pos:   0.8s     24f (37%)  18fps Trem:   0min   0mb  A-V:0.060 [0:75] A/Vms 10/21 D/B/S 0/0/0 
Pos:   0.8s     25f (39%)  19fps Trem:   0min   0mb  A-V:0.061 [0:75] A/Vms 10/20 D/B/S 0/0/0 
Pos:   0.9s     26f (41%)  19fps Trem:   0min   0mb  A-V:0.062 [0:75] A/Vms 9/20 D/B/S 0/0/0 
Pos:   0.9s     27f (42%)  20fps Trem:   0min   0mb  A-V:0.063 [0:75] A/Vms 9/19 D/B/S 0/0/0 
Pos:   0.9s     28f (44%)  19fps Trem:   0min   0mb  A-V:0.063 [0:75] A/Vms 9/22 D/B/S 0/0/0 
Pos:   1.0s     29f (45%)  20fps Trem:   0min   0mb  A-V:0.062 [0:75] A/Vms 9/21 D/B/S 0/0/0 
Pos:   1.0s     30f (47%)  20fps Trem:   0min   0mb  A-V:0.062 [588:75] A/Vms 9/21 D/B/S 0/0/0 
Pos:   1.0s     31f (49%)  20fps Trem:   0min   0mb  A-V:0.063 [578:75] A/Vms 9/20 D/B/S 0/0/0 
Pos:   1.1s     32f (50%)  20fps Trem:   0min   0mb  A-V:0.064 [574:75] A/Vms 9/20 D/B/S 0/0/0 
Pos:   1.1s     33f (52%)  20fps Trem:   0min   0mb  A-V:0.064 [564:76] A/Vms 8/20 D/B/S 0/0/0 
Pos:   1.1s     34f (53%)  20fps Trem:   0min   0mb  A-V:0.065 [555:76] A/Vms 8/19 D/B/S 0/0/0 
Pos:   1.2s     35f (55%)  21fps Trem:   0min   0mb  A-V:0.063 [551:76] A/Vms 8/19 D/B/S 0/0/0 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 21921)]
0x08192c13 in rgb24toyv12_MMX2 (
    src=0x4053c9e8 "\r\026\036\r\026\036\021\031!\022\e\"\023\032 \020\030\035\020\030\035\021\031\036\026\032\e\026\032\e\024\030\032\026\032\e\027\032\036\026\031\035\027\032\036\027\032\036\030\031\"\026\027 \030\031\"\031\e#\032\034%\030\031\"\027\030!\030\031\"\027\031 \031\e\"\030\032!\030\032!\022\034\037\022\034\037\022\034\037\022\034\037\023\035\"\023\035\"\024\036#\023\035\"\022\e\"\024\035%\025\036&\023\034#\023\034#\022\e\"\022\e\"\017\030 \016\030\035\021\032 \022\e!\021\032 \023\035)\026\037+\030\".\031#/\023%9\035/C\035/C\"4H\0348Q\">W'C\\/Kd-Rg8\\q?cxIm\203Dp\227Lx\237Q}"..., 
    ydst=0x86164c0 "%'(((((*)''((((()((('+))(((()()*+,+*,+,+*+-+***,-00358<FGIOUY\\^dfkow{y~\205\206\207\206\214\212\217\217\217\220\220\221\217\214\216\220\222\225\217\220\222\216\220\223\223\222\225\216\215\215\217\216\217\213\213\215\214\212\212\213\212\213\210\206\204\202\177\177\177||{vutsrptv{xwx{{}}}}~~\177z\177|}||zyyzzyzxvuvtrqqpnmmkllhegffbb`^\\YWUSPMXTNJFC=::541"..., 
    udst=0x862fe80 "{{{{}}|}}}~~~~{{{{{{{{zzyyuuppllffbb^^__\\][[\\\\ZY^^ZZ\\\\__\\]]\\____^^]]\\][ZZZYY[ZYYZY\\\\^^\\[baaaeefeiipqvvvvyz}}{{}}|}}}|}~~}}}}~~|}zz}|~~}}~~{{{{}|}}~}|{yy~~~~||}}{{zzz{{{\177~}}{zzz}}~~\177\177\177\177\177\177\177\177\177\177}}}}}}}}}}"..., 
    vdst=0x862ac00 "\204\204\203\203\201\201\202\203\204\204\204\204\204\204\203\203\203\203\203\203\205\205\205\205\207\207\213\213\216\216\221\221\231\231\232\231\234\234\237\237\233\233\232\232\231\231\227\227\231\231\232\232\231\231\230\230\227\227\230\230\230\230\230\230\230\230\231\231\231\232\227\227\227\227\227\227\227\227\231\231\230\231\227\227\226\227\230\230\227\227\225\225\223\222\220\217\217\217\214\214\207\207\206\206\205\206\205\204\204\204\205\205\203\202\202\202\202\202\202\202\203\203\203\204\202\202\202\202\202\203\203\203\204\204\203\203\202\202\202\202\204\204\203\203\202\202\203\203\203\203\203\203", '\202' <repeats 14 times>, "\203\203\204\204\204\204\201\202\202\201\202\201\201\201\200\200\201\201\202\202\202\202\201\202\201\201\201\201\201\202\202\202\201\201"..., width=352, height=240, lumStride=352, chromStride=176, srcStride=-1056)
    at rgb2rgb_template.c:2148
2148			asm volatile(
(gdb) bt
#0  0x08192c13 in rgb24toyv12_MMX2 (
    src=0x4053c9e8 "\r\026\036\r\026\036\021\031!\022\e\"\023\032 \020\030\035\020\030\035\021\031\036\026\032\e\026\032\e\024\030\032\026\032\e\027\032\036\026\031\035\027\032\036\027\032\036\030\031\"\026\027 \030\031\"\031\e#\032\034%\030\031\"\027\030!\030\031\"\027\031 \031\e\"\030\032!\030\032!\022\034\037\022\034\037\022\034\037\022\034\037\023\035\"\023\035\"\024\036#\023\035\"\022\e\"\024\035%\025\036&\023\034#\023\034#\022\e\"\022\e\"\017\030 \016\030\035\021\032 \022\e!\021\032 \023\035)\026\037+\030\".\031#/\023%9\035/C\035/C\"4H\0348Q\">W'C\\/Kd-Rg8\\q?cxIm\203Dp\227Lx\237Q}"..., 
    ydst=0x86164c0 "%'(((((*)''((((()((('+))(((()()*+,+*,+,+*+-+***,-00358<FGIOUY\\^dfkow{y~\205\206\207\206\214\212\217\217\217\220\220\221\217\214\216\220\222\225\217\220\222\216\220\223\223\222\225\216\215\215\217\216\217\213\213\215\214\212\212\213\212\213\210\206\204\202\177\177\177||{vutsrptv{xwx{{}}}}~~\177z\177|}||zyyzzyzxvuvtrqqpnmmkllhegffbb`^\\YWUSPMXTNJFC=::541"..., 
    udst=0x862fe80 "{{{{}}|}}}~~~~{{{{{{{{zzyyuuppllffbb^^__\\][[\\\\ZY^^ZZ\\\\__\\]]\\____^^]]\\][ZZZYY[ZYYZY\\\\^^\\[baaaeefeiipqvvvvyz}}{{}}|}}}|}~~}}}}~~|}zz}|~~}}~~{{{{}|}}~}|{yy~~~~||}}{{zzz{{{\177~}}{zzz}}~~\177\177\177\177\177\177\177\177\177\177}}}}}}}}}}"..., 
    vdst=0x862ac00 "\204\204\203\203\201\201\202\203\204\204\204\204\204\204\203\203\203\203\203\203\205\205\205\205\207\207\213\213\216\216\221\221\231\231\232\231\234\234\237\237\233\233\232\232\231\231\227\227\231\231\232\232\231\231\230\230\227\227\230\230\230\230\230\230\230\230\231\231\231\232\227\227\227\227\227\227\227\227\231\231\230\231\227\227\226\227\230\230\227\227\225\225\223\222\220\217\217\217\214\214\207\207\206\206\205\206\205\204\204\204\205\205\203\202\202\202\202\202\202\202\203\203\203\204\202\202\202\202\202\203\203\203\204\204\203\203\202\202\202\202\204\204\203\203\202\202\203\203\203\203\203\203", '\202' <repeats 14 times>, "\203\203\204\204\204\204\201\202\202\201\202\201\201\201\200\200\201\201\202\202\202\202\201\202\201\201\201\201\201\202\202\202\201\201"..., width=352, height=240, lumStride=352, chromStride=176, srcStride=-1056)
    at rgb2rgb_template.c:2148
#1  0x081864c9 in bgr24toyv12Wrapper (c=0x85b9a00, src=0x86160c0, 
    srcStride=0xbfffe1e0, srcSliceY=0, srcSliceH=240, dst=0x8616130, 
    dstStride=0xbfffe1d4) at swscale.c:1489
#2  0x0818ceae in sws_scale_ordered (c=0x85b9a00, src=0x86160c0, 
    srcStride=0x86160d0, srcSliceY=0, srcSliceH=240, dst=0x8616130, 
    dstStride=0x8616140) at swscale.c:2180
#3  0x080af958 in scale (sws1=0x85b9a00, sws2=0x85b9a00, src=0x86160c0, 
---Type <return> to continue, or q <return> to quit---
    src_stride=0x86160d0, y=0, h=240, dst=0x8616130, dst_stride=0x8616140, 
    interlaced=0) at vf_scale.c:277
#4  0x080afa28 in put_image (vf=0x85b97c8, mpi=0x86160a0) at vf_scale.c:305
#5  0x080ad835 in vf_next_put_image (vf=0x85b9940, mpi=0x86160a0) at vf.c:543
#6  0x080b0d03 in put_image (vf=0x85b9940, mpi=0x8616030) at vf_flip.c:69
#7  0x080a4e60 in decode_video (sh_video=0x855c8a0, 
    start=0x404ff008 "AKBFOGCMEDNFDHCKOJMQLOTNURSTQRWUUXVVa\\_[VYVPSTORQPNNLJPNLPNLOLNOLNQNQRORPPPPPPOOOOOOKOJLPKMQLMQLPQOPQOOPNOPNQPNRQORQOTRPQPNQPNQPNRQOQPNTRPPNLQPNRTT[^]\\_^Z\\\\KRS:@B\"()\021\030\031\027\032\036\026\031\035\024\030\034\024\030\034\r\034\036\017\036 \021!#\024#%%48%487E"..., in_size=253440, 
    drop_frame=0) at dec_video.c:332
#8  0x08076ce5 in main (argc=13, argv=0xbffff7a4) at mencoder.c:1303
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8192bf3 to 0x8192c33:
0x8192bf3 <rgb24toyv12_MMX2+487>:	pmaddwd %mm6,%mm2
0x8192bf6 <rgb24toyv12_MMX2+490>:	packssdw %mm2,%mm0
0x8192bf9 <rgb24toyv12_MMX2+493>:	packssdw %mm3,%mm1
0x8192bfc <rgb24toyv12_MMX2+496>:	pmaddwd %mm5,%mm0
0x8192bff <rgb24toyv12_MMX2+499>:	pmaddwd %mm5,%mm1
0x8192c02 <rgb24toyv12_MMX2+502>:	packssdw %mm1,%mm0
0x8192c05 <rgb24toyv12_MMX2+505>:	psraw  $0x7,%mm0
0x8192c09 <rgb24toyv12_MMX2+509>:	movq   0xc(%esi,%ebx,1),%mm4
0x8192c0e <rgb24toyv12_MMX2+514>:	movq   0xc(%edx,%ebx,1),%mm1
0x8192c13 <rgb24toyv12_MMX2+519>:	movq   0x12(%esi,%ebx,1),%mm2
0x8192c18 <rgb24toyv12_MMX2+524>:	movq   0x12(%edx,%ebx,1),%mm3
0x8192c1d <rgb24toyv12_MMX2+529>:	pavgb  %mm1,%mm4
0x8192c20 <rgb24toyv12_MMX2+532>:	pavgb  %mm3,%mm2
0x8192c23 <rgb24toyv12_MMX2+535>:	movq   %mm4,%mm1
0x8192c26 <rgb24toyv12_MMX2+538>:	movq   %mm2,%mm3
0x8192c29 <rgb24toyv12_MMX2+541>:	psrlq  $0x18,%mm4
0x8192c2d <rgb24toyv12_MMX2+545>:	psrlq  $0x18,%mm2
0x8192c31 <rgb24toyv12_MMX2+549>:	pavgb  %mm1,%mm4
End of assembler dump.
(gdb) info all-registers
eax            0xffffffa0	-96
ecx            0x862ad60	140684640
edx            0x4053ce08	1079234056
ebx            0xfffffdc0	-576
esp            0xbfffe0e4	0xbfffe0e4
ebp            0xbfffe13c	0xbfffe13c
esi            0x4053d228	1079235112
edi            0x862ffe0	140705760
eip            0x8192c13	0x8192c13
eflags         0x210296	2163350
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x0	0
st0            -nan(0xc000cffedffed)	(raw 0xffff000c000cffedffed)
st1            -nan(0x8742ad8641aa833e)	(raw 0xffff8742ad8641aa833e)
st2            -nan(0xfffff9e2fffffcb4)	(raw 0xfffffffff9e2fffffcb4)
st3            -nan(0x1308fffff316)	(raw 0xffff00001308fffff316)
st4            -0e+4922	(raw 0xffff0000000000000000)
st5            -nan(0x1000100010001)	(raw 0xffff0001000100010001)
st6            -nan(0xffeeffdc0038)	(raw 0xffff0000ffeeffdc0038)
st7            -0e+4922	(raw 0xffff0000000000000000)
fctrl          0x37f	895
fstat          0x20	32
ftag           0xaaaa	43690
fiseg          0x23	35
fioff          0x80a4e38	134893112
foseg          0x2b	43
fooff          0x84492b0	138711728
fop            0x51d	1309
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
---Type <return> to continue, or q <return> to quit---
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80	8064
orig_eax       0xffffffff	-1
(gdb) quit
A debugging session is active.
Do you still want to close the debugger?(y or n) y
tim at jersey:~/video$ 
Script done on Wed Jun 16 13:02:30 2004




More information about the MPlayer-users mailing list