[Ffmpeg-devel] [BUG] in fft.c on amd duron 900mhz without sse/sse2 optimizations

compn tempn
Wed Jun 14 19:15:44 CEST 2006


in mplayerpre8 win32 build, playing any wmv2 audio results in a crash
if you need any other info, please ask.

gcc version 3.2.3 (mingw special 20030504-1)
GNU ar 2.13.90 20030111
GNU assembler 2.13.90 20030111

-compn

D:\>mplayer -v *.wmv
MPlayer 1.0pre8-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) processor (Family: 6, Model: 4, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.

Setting process priority: abovenormal
get_path('codecs.conf') -> 'd:/cdrive/mplayer/mplayer/codecs.conf'
Reading d:/cdrive/mplayer/mplayer/codecs.conf: 92 audio & 211 video codecs
CommandLine: '-v' 'daft punk - prime time of your life .wmv' 'daft punk - robot
rock.wmv' 'daft punk is coming to my house.wmv' 'gorillaz - el manana.wmv' 'SEAL
AB_20_Toon_2005.wmv'
init_freetype
c:\winnt\fonts\comic.ttf doesn't look like a font description, ignoring.
Cannot load font: c:\winnt\fonts\comic.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 'd:/cdrive/mplayer/mplayer/input.conf'
Parsing input config file d:/cdrive/mplayer/mplayer/input.conf
Input config file d:/cdrive/mplayer/mplayer/input.conf parsed: 45 binds
get_path('daft punk - prime time of your life .wmv.conf') -> 'd:/cdrive/mplayer/
mplayer/daft punk - prime time of your life .wmv.conf'

Playing daft punk - prime time of your life .wmv.
get_path('sub/') -> 'd:/cdrive/mplayer/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is 19981298 bytes
STREAM: [file] daft punk - prime time of your life .wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 13CE58
FILEPOS=0x13B1
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 8005
Block align: 1487
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [79] [2e] [0] [0]
==========================================================================
ASF: audio scrambling: 1 x 1 x 1487
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 0
FILEPOS=0x1423
==> Found video stream: 2
======= VIDEO Format ======
  biSize 44
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 0
Unknown extra header dump: [4e] [99] [1a] [1]
===========================
ASF: packets: 2497  flags: 2  max_packet_size: 8000  min_packet_size: 8000  max_
bitrate: 700732  preroll: 3000
============ ASF Stream group == START ===
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0x10112][65810]
   stream id=[0x2][2]
   max bitrate=[0x9b02a][634922]
============ ASF Stream group == END ===
Found movie at 0x14B2 - 0x130E3F2
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
Auto-selected ASF audio ID = 1
ASF: Searching for audio stream (id:1).
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x33564D57  size:320x240  fps:1000.00  ftime:=0.0010
get_path('sub/') -> 'd:/cdrive/mplayer/mplayer/sub/'
==========================================================================
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!


MPlayer interrupted by signal 11 in module: init_audio_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
WINSOCK2 uninit

D:\>

Program received signal SIGSEGV, Segmentation fault.
0x00893954 in ff_fft_calc_c (s=0x23d2480, z=0x23d2550) at fft.c:224
224                     CMUL(tmp_re, tmp_im, exptab[l].re, exptab[l].im, q->re,                  q->im);

(gdb) bt
#0  0x00893954 in ff_fft_calc_c (s=0x23d2480, z=0x23d2550) at fft.c:224
#1  0x0089239a in ff_imdct_calc ()
#2  0xbf7fffe7 in ?? ()
#3  0x00a6ca40 in builtin_audio_codecs ()

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x893934 to 0x893974:
0x893934 <ff_fft_calc_c+713>:   mov    0xffffffec(%ebp),%eax
0x893937 <ff_fft_calc_c+716>:   mov    %eax,0xffffffe0(%ebp)
0x89393a <ff_fft_calc_c+719>:   mov    0xffffffe0(%ebp),%eax
0x89393d <ff_fft_calc_c+722>:   cmp    0xfffffff0(%ebp),%eax
0x893940 <ff_fft_calc_c+725>:   jl     0x893947 <ff_fft_calc_c+732>
0x893942 <ff_fft_calc_c+727>:   jmp    0x893a09 <ff_fft_calc_c+926>
0x893947 <ff_fft_calc_c+732>:   mov    0xffffffe0(%ebp),%eax
0x89394a <ff_fft_calc_c+735>:   lea    0x0(,%eax,8),%edx
0x893951 <ff_fft_calc_c+742>:   mov    0xffffffe4(%ebp),%eax
0x893954 <ff_fft_calc_c+745>:   flds   (%eax,%edx,1)
0x893957 <ff_fft_calc_c+748>:   mov    0xffffffc0(%ebp),%edx
0x89395a <ff_fft_calc_c+751>:   fmuls  (%edx)
0x89395c <ff_fft_calc_c+753>:   mov    0xffffffe0(%ebp),%eax
0x89395f <ff_fft_calc_c+756>:   lea    0x0(,%eax,8),%edx
0x893966 <ff_fft_calc_c+763>:   mov    0xffffffe4(%ebp),%eax
0x893969 <ff_fft_calc_c+766>:   flds   0x4(%eax,%edx,1)
0x89396d <ff_fft_calc_c+770>:   mov    0xffffffc0(%ebp),%ecx
0x893970 <ff_fft_calc_c+773>:   fmuls  0x4(%ecx)
0x893973 <ff_fft_calc_c+776>:   fsubrp %st,%st(1)
End of assembler dump.

(gdb) info all-registers
eax            0x0      0
ecx            0x23d2570        37561712
edx            0x400    1024
ebx            0x23ce46c        37545068
esp            0x2269c8 0x2269c8
ebp            0x226a08 0x226a08
esi            0x400    1024
edi            0x23d2480        37561472
eip            0x893954 0x893954
eflags         0x10283  66179
cs             0x1b     27
ss             0x23     35
ds             0x23     35
es             0x23     35
fs             0x38     56
gs             0x0      0
st0            0.001    (raw 0x3ff583126e978d4fe000)
st1            0.001    (raw 0x3ff583126e978d4fe000)
st2            0        (raw 0x00000000000000000000)
st3            -0.0013422524789348245   (raw 0xbff5afee850000000000)
st4            0        (raw 0x80000000000000000000)
st5            0        (raw 0x80000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0xffff027f       -64897
fstat          0xffff0020       -65504
ftag           0xffffffff       -1
fiseg          0x1b     27
fioff          0x67c014f9       1740641529
foseg          0xffff0023       -65501
fooff          0x17bd508        24892680
fop            0x558    1368
(gdb) 




More information about the ffmpeg-devel mailing list