[Ffmpeg-devel] ffplay broken in latest svn

Nikns Siankin nikns
Wed Jan 3 10:31:46 CET 2007


ffplay seems broken in svn 20070102.

# ffplay -h 
ffplay version SVN-r7400, Copyright (c) 2003-2006 Fabrice Bellard, et al.

# uname -a
OpenBSD obsd.my.domain 4.0 GENERIC#690 amd64


# ./ffplay /root/nokia_n90.wmv                                                                                   
Segmentation fault (core dumped) 
# gdb ./ffplay_g ffplay.core                                                                                     
GNU gdb 6.3
Copyright 2004 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 "amd64-unknown-openbsd4.0"...
Core was generated by `ffplay'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.6.3...done.
Loaded symbols for /usr/lib/libpthread.so.6.3
Reading symbols from /usr/lib/libm.so.2.3...done.
Loaded symbols for /usr/lib/libm.so.2.3
Reading symbols from /usr/local/lib/libavformat.so.8.0...done.
Loaded symbols for /usr/local/lib/libavformat.so.8.0
Reading symbols from /usr/local/lib/libavcodec.so.8.0...done.
Loaded symbols for /usr/local/lib/libavcodec.so.8.0
Reading symbols from /usr/local/lib/libavutil.so.2.0...done.
Loaded symbols for /usr/local/lib/libavutil.so.2.0
Reading symbols from /usr/lib/libossaudio.so.3.0...done.
Loaded symbols for /usr/lib/libossaudio.so.3.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/local/lib/libmp3lame.so.0.1...done.
Loaded symbols for /usr/local/lib/libmp3lame.so.0.1
Reading symbols from /usr/local/lib/libvorbis.so.5.1...done.
Loaded symbols for /usr/local/lib/libvorbis.so.5.1
Reading symbols from /usr/local/lib/libvorbisenc.so.2.2...done.
Loaded symbols for /usr/local/lib/libvorbisenc.so.2.2
Reading symbols from /usr/local/lib/libogg.so.5.3...done.
Loaded symbols for /usr/local/lib/libogg.so.5.3
Reading symbols from /usr/local/lib/libfaac.so.0.0...done.
Loaded symbols for /usr/local/lib/libfaac.so.0.0
Reading symbols from /usr/local/lib/libfaad.so.0.0...done.
Loaded symbols for /usr/local/lib/libfaad.so.0.0
Reading symbols from /usr/local/lib/libSDL.so.6.0...done.
Loaded symbols for /usr/local/lib/libSDL.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.9.0
Reading symbols from /usr/X11R6/lib/libXext.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.9.0
Reading symbols from /usr/lib/libusbhid.so.3.0...done.
Loaded symbols for /usr/lib/libusbhid.so.3.0
Symbols already loaded for /usr/lib/libpthread.so.6.3
Reading symbols from /usr/lib/libc.so.39.3...done.
Loaded symbols for /usr/lib/libc.so.39.3
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.3.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.3.0
Reading symbols from /usr/X11R6/lib/libXrender.so.4.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.4.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.4.0
#0  0x0000000042fc29a2 in av_find_stream_info (ic=Cannot access memory at 
address 0x43cde708
) at utils.c:1780
1780    {
(gdb) bt
#0  0x0000000042fc29a2 in av_find_stream_info (ic=Cannot access memory at 
address 0x43cde708
) at utils.c:1780
#1  0x0000000000405f17 in decode_thread (arg=0x4d882000) at ffplay.c:1868
#2  0x000000004a2f2ad7 in SDL_RunThread () from /usr/local/lib/libSDL.so.6.0
#3  0x000000004a2f2c89 in RunThread () from /usr/local/lib/libSDL.so.6.0
#4  0x0000000049a8a28d in _thread_start () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:244
#5  0x000000000000001f in ?? ()
#6  0x0000000000000000 in ?? ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x42fc2982 to 0x42fc29c2:
0x0000000042fc2982 <av_find_stream_info+2>:     mov    $0xa,%ecx
0x0000000042fc2987 <av_find_stream_info+7>:     push   %r14
0x0000000042fc2989 <av_find_stream_info+9>:     push   %r13
0x0000000042fc298b <av_find_stream_info+11>:    push   %r12
0x0000000042fc298d <av_find_stream_info+13>:    xor    %r12d,%r12d
0x0000000042fc2990 <av_find_stream_info+16>:    push   %rbp
0x0000000042fc2991 <av_find_stream_info+17>:    xor    %ebp,%ebp
0x0000000042fc2993 <av_find_stream_info+19>:    push   %rbx
0x0000000042fc2994 <av_find_stream_info+20>:    sub    $0x1c7e8,%rsp
0x0000000042fc299b <av_find_stream_info+27>:    mov    3596062(%rip),%rax        
# 0x433308c0 <gxf_muxer+1089344>
0x0000000042fc29a2 <av_find_stream_info+34>:    mov    %rdi,0x68(%rsp)
0x0000000042fc29a7 <av_find_stream_info+39>:    lea    0x80(%rsp),%r14
0x0000000042fc29af <av_find_stream_info+47>:    cld    
0x0000000042fc29b0 <av_find_stream_info+48>:    mov    (%rax),%rax
0x0000000042fc29b3 <av_find_stream_info+51>:    mov    %rax,0x1c7d0(%rsp)
0x0000000042fc29bb <av_find_stream_info+59>:    lea    0x1c5a0(%rsp),%rax
End of assembler dump.
(gdb) 
(gdb) info all-registers
rax            0x8090a0 8425632
rbx            0x43cfaef0       1137684208
rcx            0xa      10
rdx            0x1574   5492
rsi            0x0      0
rdi            0x4d882000       1300766720
rbp            0x0      0x0
rsp            0x43cde6a0       0x43cde6a0
r8             0x4a     74
r9             0x0      0
r10            0x57     87
r11            0x0      0
r12            0x0      0
r13            0xffffffff       4294967295
r14            0x0      0
r15            0x46f487c8       1190430664
rip            0x42fc29a2       0x42fc29a2 <av_find_stream_info+34>
eflags         0x10206  66054
cs             0x1f     31
ss             0x17     23
ds             0x17     23
es             0x17     23
fs             0x17     23
gs             0x17     23
st0            1.4426950408889633870046509400708601     (raw 
0x3fffb8aa3b295c17f0bc)
st1            1        (raw 0x3fff8000000000000000)
st2            1.4426950408889633870046509400708601     (raw 
0x3fffb8aa3b295c17f0bc)
st3            1        (raw 0x3fff8000000000000000)
st4            1.4426950408889633870046509400708601     (raw 
0x3fffb8aa3b295c17f0bc)
st5            1        (raw 0x3fff8000000000000000)
st6            9.9999999999999994515327145420957165e-21 (raw 
0x3fbcbce5086492111800)
st7            -46.051701859880914469158597057685256    (raw 
0xc004b834f1551552d72d)
fctrl          0x37f    895
fstat          0x220    544
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {f = {0x1, 0x0, 0x0, 0x0}}       {f = {1, 0, 0, 0}}
xmm1           {f = {0x800000, 0x0, 0x0, 0x0}}  {f = {8388608, 0, 0, 0}}
xmm2           {f = {0x0, 0x1, 0x0, 0x0}}       {f = {0, 1.875, 0, 0}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0, 0, 0, 0}}
xmm4           {f = {0x0, 0x1, 0x0, 0x0}}       {f = {0, 1.875, 0, 0}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0, 0, 0, 0}}
xmm6           {f = {0x0, 0x1, 0x0, 0x0}}       {f = {1.12375454e-18, 
1.78003252, 0, 0}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0, 0, 0, 0}}
xmm8           {f = {0x0, 0x3, 0x0, 0x0}}       {f = {-6.69105181e+16, 
3.08482122, 0, 0}}
xmm9           {f = {0x0, 0x3, 0x0, 0x0}}       {f = {0, 3.21875, 0, 0}}
xmm10          {f = {0x0, 0x3, 0x0, 0x0}}       {f = {0, 3.46875, 0, 0}}
---Type <return> to continue, or q <return> to quit--- 
xmm11          {f = {0xffffffff, 0x0, 0x0, 0x0}}        {f = {-1.96473002, 0, 0, 
0}}
xmm12          {f = {0xffffffff, 0x0, 0x0, 0x0}}        {f = {-1.11296916, 0, 0, 
0}}
xmm13          {f = {0x1, 0x0, 0x0, 0x0}}       {f = {1.78104186, 0, 0, 0}}
xmm14          {f = {0x1, 0x0, 0x0, 0x0}}       {f = {1.42799723, 0, 0, 0}}
xmm15          {f = {0x1, 0x0, 0x0, 0x0}}       {f = {1.24683833, 0, 0, 0}}
mxcsr          0x1fa0   8096
(gdb) 





More information about the ffmpeg-devel mailing list