[MPlayer-users] Crash when playing DV with qdv.dll

mslama at email.cz mslama at email.cz
Fri Mar 9 11:17:40 CET 2007


Hi,

when using qdv.dll mplayer/menoder crashes when program exits (releasing resources). mplayer daily snapshot 2007-03-09. qdv.dll is from latest binary codecs zip. I can provide short DV sample if anyone is interested. Workaround is to use ffmpeg instead of qdv.dll.

Marek

gcc:
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)

FC5
uname -a:
Linux 2.6.19-1.2288.fc5 #1 Sat Feb 10 14:52:17 EST 2007 i686 i686 i386 GNU/Linux

configure only with --enable-debug

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208834336 (LWP 29054)]
FreeMediaType (pMediaType=0x9814cf0) at dshow/mediatype.c:133
133             pMediaType->pUnk->vt->Release(pMediaType->pUnk);
(gdb) bt
#0  FreeMediaType (pMediaType=0x9814cf0) at dshow/mediatype.c:133
#1  0x084992aa in CMediaSample_Destroy (This=0x9814cb8) at dshow/cmediasample.c:85
#2  0x08498e72 in MemAllocator_Decommit (This=0x980d578) at dshow/allocator.c:217
#3  0x76b448cc in ?? ()
#4  0x0980d578 in ?? ()
#5  0x76b6ae0f in ?? ()
#6  0x0850f18e in __dso_handle ()
#7  0x08629f40 in play_n_frames ()
#8  0xbfe4c0b8 in ?? ()
#9  0x0980c520 in ?? ()
#10 0x08496b8c in DS_Filter_Stop (This=0x980ca48) at dshow/DS_Filter.c:53
Previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x849e1eb to 0x849e22b:
0x0849e1eb <FreeMediaType+11>:  (bad)  0xffffff8b(%edi,%ebp,1)
0x0849e1ef <FreeMediaType+15>:  inc    %ebx
0x0849e1f0 <FreeMediaType+16>:  inc    %esp
0x0849e1f1 <FreeMediaType+17>:  test   %eax,%eax
0x0849e1f3 <FreeMediaType+19>:  je     0x849e204 <FreeMediaType+36>
0x0849e1f5 <FreeMediaType+21>:  mov    %eax,(%esp)
0x0849e1f8 <FreeMediaType+24>:  call   0x8494910 <CoTaskMemFree>
0x0849e1fd <FreeMediaType+29>:  movl   $0x0,0x44(%ebx)
0x0849e204 <FreeMediaType+36>:  mov    0x3c(%ebx),%edx
0x0849e207 <FreeMediaType+39>:  test   %edx,%edx
0x0849e209 <FreeMediaType+41>:  je     0x849e21d <FreeMediaType+61>
0x0849e20b <FreeMediaType+43>:  mov    (%edx),%eax
0x0849e20d <FreeMediaType+45>:  mov    %edx,(%esp)
0x0849e210 <FreeMediaType+48>:  call   *0x8(%eax)
0x0849e213 <FreeMediaType+51>:  movl   $0x0,0x3c(%ebx)
0x0849e21a <FreeMediaType+58>:  sub    $0x4,%esp
0x0849e21d <FreeMediaType+61>:  mov    0xfffffffc(%ebp),%ebx
0x0849e220 <FreeMediaType+64>:  leave
0x0849e221 <FreeMediaType+65>:  ret
0x0849e222 <FreeMediaType+66>:  lea    0x0(%esi),%esi
0x0849e229 <FreeMediaType+73>:  lea    0x0(%edi),%edi
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0xcb000  831488
edx            0x5c74666f       1551132271
ebx            0x9814cf0        159468784
esp            0xbfe4c054       0xbfe4c054
ebp            0xbfe4c05c       0xbfe4c05c
esi            0x980c9c4        159435204
edi            0x980d578        159438200
eip            0x849e20b        0x849e20b
eflags         0x10206  66054
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x8f     143
gs             0x33     51
st0            -nan(0x8f0069008f0069)   (raw 0xffff008f0069008f0069)
st1            -nan(0x8f3869418f48694c) (raw 0xffff8f3869418f48694c)
st2            -nan(0x8f008f008f008f)   (raw 0xffff008f008f008f008f)
st3            -1       (raw 0xbfff8000000000000000)
st4            0.040808464047857898792043621072345161   (raw 0x3ffaa726c6a7c4c71da8)
st5            0.00080846047128243161215263362304184191 (raw 0x3ff4d3eedd2316d569f0)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x120    288
ftag           0xffff   65535
fiseg          0x73     115
fioff          0x807cdd5        134729173
foseg          0x7b     123
fooff          0x86751f8        140988920
fop            0x5d8    1496
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
mxcsr          0x1f80   8064
mm0            {uint64 = 0x8f0069008f0069, v2_int32 = {0x8f0069, 0x8f0069}, v4_int16 = {0x69, 0x8f, 0x69, 0x8f}, v8_int8 = {0x69, 0x0, 0x8f,
    0x0, 0x69, 0x0, 0x8f, 0x0}}
mm1            {uint64 = 0x8f3869418f48694c, v2_int32 = {0x8f48694c, 0x8f386941}, v4_int16 = {0x694c, 0x8f48, 0x6941, 0x8f38}, v8_int8 = {
    0x4c, 0x69, 0x48, 0x8f, 0x41, 0x69, 0x38, 0x8f}}
---Type <return> to continue, or q <return> to quit---
mm2            {uint64 = 0x8f008f008f008f, v2_int32 = {0x8f008f, 0x8f008f}, v4_int16 = {0x8f, 0x8f, 0x8f, 0x8f}, v8_int8 = {0x8f, 0x0, 0x8f,
    0x0, 0x8f, 0x0, 0x8f, 0x0}}
mm3            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x80}}
mm4            {uint64 = 0xa726c6a7c4c71da8, v2_int32 = {0xc4c71da8, 0xa726c6a7}, v4_int16 = {0x1da8, 0xc4c7, 0xc6a7, 0xa726}, v8_int8 = {
    0xa8, 0x1d, 0xc7, 0xc4, 0xa7, 0xc6, 0x26, 0xa7}}
mm5            {uint64 = 0xd3eedd2316d569f0, v2_int32 = {0x16d569f0, 0xd3eedd23}, v4_int16 = {0x69f0, 0x16d5, 0xdd23, 0xd3ee}, v8_int8 = {
    0xf0, 0x69, 0xd5, 0x16, 0x23, 0xdd, 0xee, 0xd3}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}



More information about the MPlayer-users mailing list