[MPlayer-users] Crash with backtrace when playing back demuxed .vc1 or .evo files
infernix
infernix at infernix.net
Thu Feb 15 18:30:23 CET 2007
>>> After just hearing about raw .vc1 playback support, I rebuilt both
>>> ffmpeg and mplayer from svn to try this. However, I'm getting
>>> segfaults in the vo for both xv and x11 now, when playing back either
>> does ffplay play the file?
Yes, ffplay seems to play it back fine. I haven't been able to try the
broken_very_badly sample, as it was cut from the end of an .evo, but
both the .vc1 as well as the .evo I used in gdb play back fine.
> btw, please try also
> mplayer ... -vo jpeg
This works fine on both the .evo and .vc1.
> mplayer mf://*.jpg -fps 25
Works fine when the jpgs are generated from the .vc1, crashes if I
generated them from the .evo. gdb output follows.
mplayer -vc +ffvc1 -vo jpeg ffvc1_decode_broken.evo
MPlayer dev-SVN-r22221-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (Family: 6, Model:
15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
107 audio & 227 video codecs
Playing ffvc1_decode_broken.evo.
MPEG-PS file format detected.
Searching for VC1 sequence header... found
VIDEO: VC-1 1920x1080, 29.970 fps, header len: 36
jpeg: Parsing suboptions.
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
jpeg: Suboptions parsed OK.
==========================================================================
Forced video codec: +ffvc1
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg M$ WVC1)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
A52 sync failed
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [ac3] (afm=libac3) not available.
Enable it at compilation.
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
AC3/DTS sync failed
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x2000.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x87daa38]No accelerated colorspace conversion found
[swscaler @ 0x87daa38]SwScaler: using unscaled yuv420p -> rgb24 special
converter
VO: [jpeg] 1920x1080 => 1920x1080 RGB 24-bit
jpeg: . - Output directory already exists and is writable.
[vc1 @ 0x87df260]Bits overconsumption: 320228 > 320016 at 72x41
V: 5.3 159/159 55% 250% 0.0% 0 0 0%
Exiting... (End of file)
gerben at believe:~/x264test/dune$ gdb /usr/local/bin/mplayer
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
(gdb) run -v mf://*.jpg -fps 23.976
Starting program: /usr/local/bin/mplayer -v mf://*.jpg -fps 23.976
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1241131296 (LWP 29452)]
MPlayer dev-SVN-r22221-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (Family: 6, Model:
15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/gerben/.mplayer/codecs.conf'
Reading /home/gerben/.mplayer/codecs.conf: 107 audio & 227 video codecs
Configuration: --prefix=/usr/local --confdir=/etc/mplayer --enable-gui
--enable-largefiles --enable-menu --win32codecsdir=/usr/lib/win32/
--enable-libdts --enable-debug=3 --enable-runtime-cpudetection
CommandLine: '-v' 'mf://*.jpg' '-fps' '23.976'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/gerben/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/gerben/.mplayer/input.conf'
Parsing input config file /home/gerben/.mplayer/input.conf
Input config file /home/gerben/.mplayer/input.conf parsed: 67 binds
Setting up LIRC support...
get_path('*.jpg.conf') -> '/home/gerben/.mplayer/*.jpg.conf'
Playing mf://*.jpg.
get_path('sub/') -> '/home/gerben/.mplayer/sub/'
STREAM: [mf] mf://*.jpg
STREAM: Description: Multiple files input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
CACHE_PRE_INIT: 0 [0] 0 pre:1677721 eof:1
Cache fill: 0.00% (0 bytes)
MF file format detected.
[mf] search expr: *.jpg
[mf] number of files: 158 (632)
[demux_mf] file type was not set! trying 'type=jpg'...
==> Found video stream: 0
VIDEO: [IJPG] 0x0 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:0x0 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/gerben/.mplayer/sub/'
X11 opening display: :0.0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1241131296 (LWP 29452)]
0x08257bf5 in poll (fds=0x8945988, numfds=1, timeout=-1) at os_support.c:157
157 if (FD_ISSET(fds[i].fd, &read_set)) fds[i].revents
|= POLLIN;
(gdb) bt
#0 0x08257bf5 in poll (fds=0x8945988, numfds=1, timeout=-1) at
os_support.c:157
#1 0xb7eccf23 in XProcessInternalConnection () from /usr/lib/libX11.so.6
#2 0xb7ecd331 in _XRead () from /usr/lib/libX11.so.6
#3 0xb7eb92ee in XOpenDisplay () from /usr/lib/libX11.so.6
#4 0x080d0289 in vo_init () at x11_common.c:438
#5 0x080d54c5 in preinit (arg=0x0) at vo_xv.c:842
#6 0x080cb651 in init_best_video_out (vo_list=0x0) at video_out.c:319
#7 0x080a031f in reinit_video_chain () at mplayer.c:3335
#8 0x080a3d6c in main (argc=5, argv=0xbfc164f4) at mplayer.c:4584
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8257bd5 to 0x8257c15:
0x08257bd5 <poll+389>: je 0x8257c48 <poll+504>
0x08257bd7 <poll+391>: mov $0x1,%edi
0x08257bdc <poll+396>: lea 0x0(%esi),%esi
0x08257be0 <poll+400>: mov 0xfffffff8(%ebx,%edi,8),%eax
0x08257be4 <poll+404>: movw $0x0,0xfffffffe(%ebx,%edi,8)
0x08257beb <poll+411>: mov %eax,%ecx
0x08257bed <poll+413>: mov %eax,%edx
0x08257bef <poll+415>: and $0x1f,%ecx
0x08257bf2 <poll+418>: shr $0x5,%edx
0x08257bf5 <poll+421>: bt %ecx,0xffffff6c(%ebp,%edx,4)
0x08257bfd <poll+429>: setb %al
0x08257c00 <poll+432>: test %al,%al
0x08257c02 <poll+434>: je 0x8257c0b <poll+443>
0x08257c04 <poll+436>: movw $0x1,0xfffffffe(%ebx,%edi,8)
0x08257c0b <poll+443>: bt %ecx,0xfffffeec(%ebp,%edx,4)
0x08257c13 <poll+451>: setb %al
End of assembler dump.
(gdb) info all-registers
eax 0x8945488 143938696
ecx 0x8 8
edx 0x44a2a4 4498084
ebx 0x8945988 143939976
esp 0xbfc13d30 0xbfc13d30
ebp 0xbfc13f08 0xbfc13f08
esi 0x8 8
edi 0x2 2
eip 0x8257bf5 0x8257bf5 <poll+421>
eflags 0x10202 [ IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 4194304 (raw 0x40158000000000000000)
st6 23.9759998321533203125 (raw 0x4003bfced90000000000)
st7 6.5899233027234211945710740110371262 (raw
0x4001d2e0a6d58b0d8800)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x80a3d55 134888789
foseg 0x7b 123
fooff 0xbfc142cc -1077853492
fop 0x55c 1372
xmm0
xmm1
xmm2
xmm3
xmm4
xmm5
xmm6
xmm7
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5 {uint64 = 0x8000000000000000, v2_int32 = {0x0,
0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm6 {uint64 = 0xbfced90000000000, v2_int32 = {0x0,
0xbfced900}, v4_int16 = {0x0, 0x0, 0xd900, 0xbfce}, v8_int8 = {0x0, 0x0,
0x0, 0x0, 0x0, 0xd9, 0xce, 0xbf}}
mm7 {uint64 = 0xd2e0a6d58b0d8800, v2_int32 = {0x8b0d8800,
0xd2e0a6d5}, v4_int16 = {0x8800, 0x8b0d, 0xa6d5, 0xd2e0}, v8_int8 =
{0x0, 0x88, 0xd, 0x8b, 0xd5, 0xa6, 0xe0, 0xd2}}
More information about the MPlayer-users
mailing list