[MPlayer-cygwin] [BUGREPORT] Real Media crash in excuciating detail
John Brown
johnbrown105 at hotmail.com
Tue Apr 4 01:06:52 CEST 2006
Hello all,
One particular Real Media cartoon crashes MEncoder (and MPlayer) about 2
seconds into the file. Media Player Classic plays it with no problems. I
uploaded a small sample (98,304 bytes) called johnbrown105 to
www.mplayerhq.hu/MPlayer/incoming, along with johnbrown105.txt, which
contains the gory details in excruciating completeness.
============================================================
E-mail: johnbrown105 at hotmail.com
Sample file: johnbrown105 (Real Media, 98,304 bytes)
Problem: MEncoder (and MPlayer) crashes about 2 seconds into the file.
Media Player Classic plays the file with no problems. Will
probably work on Linux, since Real Media support seems to
be better on Linux. I am on Windows XP SP2.
Command line: C:\temp\mplayer/mencoder.exe test.rm -v 2 -of mpeg -mpegopts
format=dvd -vf scale=304:208,expand=352:240,harddup -oac lavc
-ovc lavc -lavcopts vcodec=mpeg2video:nr=500:vbitrate=1081
:vrc_maxrate=2000:aspect=4/3:acodec=ac3:abitrate=96
:vrc_buf_size=1835:keyint=15:trell:mv0:mbd=2:dia=2:predia=2
:cbp:vmax_b_frames=1:dc=10 -ofps 30000/1001 -srate 48000
-af lavcresample=48000 -aspect 4:3 -o test.mpg >> log.txt
2>&1
O/S: Windows XP Service Pack 2.
Video Card: ATI Radeon 9200 Celestica Gold Edition, Catalyst 5.11
Sound: On-board Realtek AC97
MEncoder version: MEncoder dev-CVS-060322-17:47-3.4.2 (C) 2000-2006
MPlayer Team
GCC version: gcc version 3.4.2 (mingw-special)
ld version: GNU ld version 2.15.91 20040904
as version: GNU assembler version 2.15.91 (mingw32)
using BFD version 2.15.91 20040904
CPU: Pentium IV 3.0GHz. Hyper-threading is DISABLED, as this
caused problems with previous conversions from Real
Media to MPEG-II.
(cpuinfo.exe)
vendor_id : GenuineIntel
cpu family : 15
model : 3
stepping : 3
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov
pat pse36 cflsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 ds-cpl vmx est
cpu MHz : 3041.057
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
======================================================
MEncoder output -v 2:
---------------------
(Should be -v 1 but I made a mistake)
MEncoder dev-CVS-060322-17:47-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Xeon Nocona (Family: 15, Stepping:
3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('font/font.desc') -> 'C:/temp/mplayer/mplayer/font/font.desc'
font: can't open file: C:/temp/mplayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
WINSOCK2 init: 0
[file] File size is 58664289 bytes
STREAM: [file] test.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x37f2561
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 1
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x37e925d
First data chunk offset: 0x36c
Flags (9): [save allowed]
Chunk: CONT (544e4f43) (size: 0x50, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0x70, offset: 0x94)
Found new stream (id: 0)
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
==> Found video stream: 0
video fourcc: RV40 (30345652)
H.263 ID: 40008000
unknown id: 40008000
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0xac, offset: 0x104)
Found new stream (id: 1)
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 1
Found audio stream!
version: 5
00 00
2E 72 61 35
00 00 00 10
00 05
header size: 78
coded_frame_size: 465
00 00 00 00
00 03 AA B4
00 00 00 00
sub_packet_h: 16
frame_size: 465
sub_packet_size: 93
00 00
00 00 AC 44 00 00
00 00
samplerate: 44100, channels: 2
67 65 6E 72
01 07 00
00
audio fourcc: cook (6b6f6f63)
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 4005
Block align: 93
bits/sample: 16
cbSize: 16
Unknown extra header dump: [1] [0] [0] [3] [8] [0] [0] [20] [0] [0] [0] [0]
[0] [2] [0] [4]
===========================
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x1b2, offset: 0x1b0)
Found new stream (id: 2)
Stream mimetype: logical-fileinfo
Got a logical-fileinfo chunk
### skipping 372 bytes of codec info
Chunk: DATA (41544144) (size: 0x37e8efb, offset: 0x362)
Packets in file: 207964
Reading index table from index chunk (58626653)
size: 14734 bytes
entries: 1051
stream_id: 0
next_header_pos: 58641387
Reading index table from index chunk (58641387)
size: 22882 bytes
entries: 1633
stream_id: 1
next_header_pos: 58664269
Reading index table from index chunk (58664269)
size: 20 bytes
entries: 0
stream_id: 2
next_header_pos: 0
Auto-selected RM video ID = 0
Auto-selected RM audio ID = 1
VIDEO: RV40 [40008000,00481020] 320x240 (aspect 0.00) 30.00 fps
AUDIO: cook [6B6F6F63]
VIDEO: [RV40] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11 fourcc:0x30345652 size:320x240 fps:30.00 ftime:=0.0333
========================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4005->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
=========================================================
PACKET SIZE: 2048 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
=========================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40008000 sub-id: 0x00481020
opening win32 dll 'drvc.so'
win32 real codec handle=00000000
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40008000 sub-id: 0x00481020
opening win32 dll 'drv4.so.6.0'
win32 real codec handle=00000000
Error loading dll
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40008000 sub-id: 0x00481020
opening win32 dll 'drv43260.dll'
win32 real codec handle=63410000
INFO: RealVideo codec init OK!
Selected video codec: [rv40win] vfm: realvid (Win32 RealPlayer 9 RV40
decoder)
========================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Limiting audio preload to 0.4s
Increasing audio density to 4
VDec: vo config request - 320 x 240 (preferred colorspace: Planar I420)
Trying filter chain: expand lavc
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x30323449)
REQ: flags=0x401 req=0x0
videocodec: libavcodec (320x240 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
*** [lavc] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [expand] Direct Rendering mp_image_t, 320x240x12bpp YUV planar, 115200
bytes
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0] A/Vms
0/2 D/B/S 0/0/0
[mpeg2video @ 0094A198]Error, Invalid timestamp=0, last=0
Muxer frame buffer cannot allocate memory!
Pos: 0.0s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.003 [0:0] A/Vms
0/1 D/B/S 0/1/0
[mpeg2video @ 0094A198]Error, Invalid timestamp=0, last=0
Muxer frame buffer cannot allocate memory!
Pos: 0.0s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.006 [0:0] A/Vms
0/1 D/B/S 0/2/0
[mpeg2video @ 0094A198]Error, Invalid timestamp=0, last=0
Muxer frame buffer cannot allocate memory!
2 duplicate frame(s)!
Muxer frame buffer sending 16 frame(s) to muxer.
Writing header...
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.009 [0:0] A/Vms
0/1 D/B/S 2/3/0 1 duplicate frame(s)!
Pos: 0.1s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.012 [0:0] A/Vms
0/1 D/B/S 3/3/0
Pos: 0.2s 6f ( 0%) 0fps Trem: 0min 0mb A-V:0.014 [0:0] A/Vms
0/1 D/B/S 3/3/0
Pos: 0.2s 7f ( 0%) 0fps Trem: 0min 0mb A-V:0.017 [0:0] A/Vms
0/1 D/B/S 3/3/0
Pos: 0.2s 8f ( 0%) 0fps Trem: 0min 0mb A-V:0.019 [0:0] A/Vms
0/1 D/B/S 3/3/0
Pos: 0.3s 9f ( 0%) 0fps Trem: 0min 0mb A-V:0.021 [0:0] A/Vms
0/1 D/B/S 3/3/0
Pos: 0.3s 10f ( 0%) 0fps Trem: 0min 0mb A-V:0.022 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.3s 11f ( 0%) 0fps Trem: 0min 0mb A-V:0.025 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.4s 12f ( 0%) 0fps Trem: 0min 0mb A-V:0.026 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.4s 13f ( 0%) 0fps Trem: 0min 0mb A-V:0.028 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.4s 14f ( 0%) 0fps Trem: 0min 0mb A-V:0.030 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.5s 15f ( 0%) 0fps Trem: 0min 0mb A-V:0.030 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.5s 16f ( 0%) 0fps Trem: 0min 0mb A-V:0.032 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.5s 17f ( 0%) 0fps Trem: 0min 0mb A-V:0.032 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.6s 18f ( 0%) 0fps Trem: 0min 0mb A-V:0.033 [0:0] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.6s 19f ( 0%) 0fps Trem: 0min 0mb A-V:0.033 [0:0] A/Vms
0/2 D/B/S 3/3/0
INITIAL DELAY of 0 frames
Pos: 0.6s 20f ( 0%) 0fps Trem: 0min 0mb A-V:0.035 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.7s 21f ( 0%) 0fps Trem: 0min 0mb A-V:0.035 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.7s 22f ( 0%) 0fps Trem: 0min 0mb A-V:0.036 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.7s 23f ( 0%) 0fps Trem: 0min 0mb A-V:0.036 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.8s 24f ( 0%) 0fps Trem: 0min 0mb A-V:0.037 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.8s 25f ( 0%) 0fps Trem: 0min 0mb A-V:0.036 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.8s 26f ( 0%) 0fps Trem: 0min 0mb A-V:0.037 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.9s 27f ( 0%) 0fps Trem: 0min 0mb A-V:0.037 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.9s 28f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 0.9s 29f ( 0%) 0fps Trem: 0min 0mb A-V:0.037 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.0s 30f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [0:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.0s 31f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [68:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.0s 32f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [67:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.1s 33f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [67:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.1s 34f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [75:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.1s 35f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [75:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.2s 36f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [73:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.2s 37f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [73:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.2s 38f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [72:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.3s 39f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [72:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.3s 40f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [71:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.3s 41f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [72:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.4s 42f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [71:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.4s 43f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [71:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.4s 44f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [70:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.5s 45f ( 0%) 0fps Trem: 0min 0mb A-V:0.039 [70:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.5s 46f ( 0%) 0fps Trem: 1min 16mb A-V:0.039 [69:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.5s 47f ( 0%) 0fps Trem: 2min 16mb A-V:0.039 [69:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.6s 48f ( 0%) 0fps Trem: 2min 23mb A-V:0.039 [75:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.6s 49f ( 0%) 0fps Trem: 2min 23mb A-V:0.040 [75:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.6s 50f ( 0%) 0fps Trem: 2min 23mb A-V:0.039 [77:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.7s 51f ( 0%) 0fps Trem: 2min 23mb A-V:0.040 [77:95] A/Vms
0/2 D/B/S 3/3/0
Pos: 1.7s 52f ( 0%) 0fps Trem: 2min 23mb A-V:0.039 [87:95] A/Vms
0/3 D/B/S 3/3/0
Pos: 1.7s 53f ( 0%) 0fps Trem: 2min 23mb A-V:0.040 [88:95] A/Vms
0/3 D/B/S 3/3/0
Pos: 1.8s 54f ( 0%) 0fps Trem: 2min 23mb A-V:0.039 [106:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 1.8s 55f ( 0%) 0fps Trem: 2min 23mb A-V:0.040 [109:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 1.8s 56f ( 0%) 0fps Trem: 2min 23mb A-V:0.039 [139:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 1.9s 57f ( 0%) 0fps Trem: 2min 23mb A-V:0.040 [146:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 1.9s 58f ( 0%) 0fps Trem: 3min 23mb A-V:0.039 [177:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 1.9s 59f ( 0%) 0fps Trem: 3min 23mb A-V:0.040 [176:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 2.0s 60f ( 0%) 0fps Trem: 3min 23mb A-V:0.039 [208:95]
A/Vms 0/3 D/B/S 3/3/0
Pos: 2.0s 61f ( 0%) 0fps Trem: 3min 23mb A-V:0.040 [212:95]
A/Vms 0/4 D/B/S 3/3/0
Pos: 2.0s 62f ( 0%) 0fps Trem: 3min 54mb A-V:0.041 [243:95]
A/Vms 0/4 D/B/S 3/3/0
Pos: 2.1s 63f ( 0%) 0fps Trem: 3min 54mb A-V:0.040 [252:95]
A/Vms 0/4 D/B/S 3/3/0
============================================================
GDB backtrace:
--------------
(gdb) run
Starting program: C:\temp\mplayer/mencoder.exe test.rm -v 2 -of mpeg
-mpegopts
format=dvd -vf scale=304:208,expand=352:240,harddup -oac lavc -ovc lavc
-lavcopt
s
vcodec=mpeg2video:nr=500:vbitrate=1081:vrc_maxrate=2000:aspect=4/3:acodec=ac3:
abitrate=96:vrc_buf_size=1835:keyint=15:trell:mv0:mbd=2:dia=2:predia=2:cbp:vmax_
b_frames=1:dc=10 -ofps 30000/1001 -srate 48000 -af lavcresample=48000
-aspe
ct 4:3 -o test.mpg >> log.txt 2>&1
Program received signal SIGSEGV, Segmentation fault.
0x6342b75f in _libws2_32_a_iname ()
(gdb) bt
#0 0x6342b75f in _libws2_32_a_iname ()
#1 0x00000000 in ?? ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x6342b73f to 0x6342b77f:
0x6342b73f <_libws2_32_a_iname+1652150539>: or $0x33,%al
0x6342b741 <_libws2_32_a_iname+1652150541>: leave
0x6342b742 <_libws2_32_a_iname+1652150542>: add %edi,%esi
0x6342b744 <_libws2_32_a_iname+1652150544>: mov (%eax),%cl
0x6342b746 <_libws2_32_a_iname+1652150546>: cmp $0x8,%esi
0x6342b749 <_libws2_32_a_iname+1652150549>: mov %ecx,%eax
0x6342b74b <_libws2_32_a_iname+1652150551>:
jb 0x6342b76a <_libws2_32_a_iname+1652150582>
0x6342b74d <_libws2_32_a_iname+1652150553>: mov %esi,%edi
0x6342b74f <_libws2_32_a_iname+1652150555>: push %ebx
0x6342b750 <_libws2_32_a_iname+1652150556>: shr $0x3,%edi
0x6342b753 <_libws2_32_a_iname+1652150559>: mov 0x4(%edx),%ecx
0x6342b756 <_libws2_32_a_iname+1652150562>: xor %ebx,%ebx
0x6342b758 <_libws2_32_a_iname+1652150564>: inc %ecx
0x6342b759 <_libws2_32_a_iname+1652150565>: sub $0x8,%esi
0x6342b75c <_libws2_32_a_iname+1652150568>: mov %ecx,0x4(%edx)
0x6342b75f <_libws2_32_a_iname+1652150571>: mov (%ecx),%bl
0x6342b761 <_libws2_32_a_iname+1652150573>: shl $0x8,%eax
0x6342b764 <_libws2_32_a_iname+1652150576>: or %ebx,%eax
0x6342b766 <_libws2_32_a_iname+1652150578>: dec %edi
0x6342b767 <_libws2_32_a_iname+1652150579>:
jne 0x6342b753 <_libws2_32_a_iname+1652150559>
---Type <return> to continue, or q <return> to quit---
0x6342b769 <_libws2_32_a_iname+1652150581>: pop %ebx
0x6342b76a <_libws2_32_a_iname+1652150582>: mov $0x8,%ecx
0x6342b76f <_libws2_32_a_iname+1652150587>: sub %esi,%ecx
0x6342b771 <_libws2_32_a_iname+1652150589>: shr %cl,%eax
0x6342b773 <_libws2_32_a_iname+1652150591>: mov 0x8(%ebp),%ecx
0x6342b776 <_libws2_32_a_iname+1652150594>: mov
0x63438604(,%ecx,4),%edi
0x6342b77d <_libws2_32_a_iname+1652150601>: mov %esi,0xc(%edx)
End of assembler dump.
(gdb) info all-registers
eax 0xeefeeefe -285282562
ecx 0x29ec000 43958272
edx 0x2310ca0 36768928
ebx 0x0 0
esp 0x22f950 0x22f950
ebp 0x22f95c 0x22f95c
esi 0xfff8a0e3 -483101
edi 0x1fff141d 536810525
eip 0x6342b75f 0x6342b75f
eflags 0x210282 2163330
cs 0x1b 27
ss 0x23 35
ds 0x23 35
es 0x23 35
fs 0x3b 59
gs 0x0 0
st0 0 (raw 0xffff0000000076767676)
st1 0 (raw 0xffff0000000076767676)
st2 0 (raw 0xffff0000000077787777)
st3 0 (raw 0xffff0000000078787877)
st4 0 (raw 0xffff0000000077787777)
st5 0 (raw 0xffff0003000300030003)
st6 0 (raw 0xffff0001000100010001)
---Type <return> to continue, or q <return> to quit---
st7 0 (raw 0xffff0000000000000000)
fctrl 0xffff027f -64897
fstat 0xffff0121 -65247
ftag 0xffffaaaa -21846
fiseg 0x1b 27
fioff 0x63414680 1665222272
foseg 0xffff0023 -65501
fooff 0x2310bc0 36768704
fop 0x1c9 457
(gdb)
(gdb) quit
The program is running. Exit anyway? (y or n) y
=======================================================
Dr. Mingw stack trace
---------------------
(Not requested by the DOCS, but included because I believe that it is more
helpful than the gdb backtrace).
mencoder.exe caused an Access Violation at location 77c46fa3 in module
msvcrt.dll Writing to location 00000000.
Registers:
eax=020f00ab ebx=00000070 ecx=00000022 edx=00000003 esi=020f0020
edi=00000000
eip=77c46fa3 esp=0022f440 ebp=0022f448 iopl=0 nv up ei pl nz ac pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00200212
Call stack:
77C46FA3 msvcrt.dll:77C46FA3 memcpy
004C9754 mencoder.exe:004C9754 add_frame muxer_mpeg.c:2277
...
memcpy(&(spriv->framebuf[idx].buffer[spriv->framebuf[idx].size]), ptr,
len);
> spriv->framebuf[idx].size += len;
spriv->framebuf[idx].pos = 0;
spriv->framebuf[idx].temp_ref = temp_ref;
...
004CB9B2 mencoder.exe:004CB9B2 mpegfile_write_chunk muxer_mpeg.c:2072
...
spriv->vframes++;
> add_frame(spriv, spriv->delta_pts, s->buffer, len, pt, temp_ref);
}
...
004E5E7E mencoder.exe:004E5E7E muxer_write_chunk muxer.c:141
...
/* this code moved directly from muxer_avi.c */
// alter counters:
> if(s->h.dwSampleSize){
// CBR
s->h.dwLength+=len/s->h.dwSampleSize;
...
0042B710 mencoder.exe:0042B710 encode_frame ve_lavc.c:897
...
muxer_write_chunk(mux_v,out_size,lavc_venc_context->coded_frame->key_frame?0x10:0,
dts, pts);
> free(lavc_venc_context->coded_frame->opaque);
lavc_venc_context->coded_frame->opaque= NULL;
...
0042BB13 mencoder.exe:0042BB13 put_image ve_lavc.c:853
...
return (encode_frame(vf, pic, pts) >= 0);
> }
static int encode_frame(struct vf_instance_s* vf, AVFrame *pic, double
pts){
...
004A175A mencoder.exe:004A175A control vf_harddup.c:49
...
// since the last put_image. This is reasonable
// because we're handling a duplicate frame!
> if (put_image(vf, vf->priv->last_mpi, MP_NOPTS_VALUE))
return CONTROL_TRUE;
break;
...
0047032F mencoder.exe:0047032F control vf_scale.c:409
...
return vf_next_control(vf,request,data);
> }
//=========================================================//
...
00405200 mencoder.exe:00405200 main mencoder.c:1362
...
while(skip_flag<0){
duplicatedframes++;
> if (!encode_duplicates || !sh_video->vfilter || ((vf_instance_t
>*)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_DUPLICATE_FRAME, 0)
>!= CONTROL_TRUE)
muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE);
++skip_flag;
...
004011E7 mencoder.exe:004011E7
00401238 mencoder.exe:00401238
7C816D4F kernel32.dll:7C816D4F RegisterWaitForInputIdle
=============================================================
More information about the MPlayer-cygwin
mailing list