[FFmpeg-trac] #506(FFmpeg:new): FFMPEG32 Windows Build CRASH

FFmpeg trac at avcodec.org
Sun Sep 25 19:11:04 CEST 2011


#506: FFMPEG32 Windows Build CRASH
-------------------------------------+-------------------------------------
               Reporter:             |                  Owner:  michael
  plaguebreath                       |                 Status:  new
                   Type:  defect     |              Component:  FFmpeg
               Priority:  normal     |               Keywords:  APPCRASH
                Version:             |  c0000005
  unspecified                        |               Blocking:
             Blocked By:             |  Analyzed by developer:  0
Reproduced by developer:  0          |
-------------------------------------+-------------------------------------
 I try to extract 5 thumbs from a wmv, after some time of elaboration
 windows crash with that reports (sorry for italian)

 {{{
   Nome evento problema: APPCRASH
   Nome applicazione:    ffmpeg.exe
   Versione applicazione:        0.0.0.0
   Timestamp applicazione:       4e77d543
   Nome modulo con errori:       ffmpeg.exe
   Versione modulo con errori:   0.0.0.0
   Timestamp modulo con errori:  4e77d543
   Codice eccezione:     c0000005
   Offset eccezione:     003f9ced
   Versione SO:  6.1.7601.2.1.0.256.1
   ID impostazioni locali:       1040
   Informazioni aggiuntive 1:    0a9e
   Ulteriori informazioni 2:     0a9e372d3b4ad19135b953a78882e789
   Ulteriori informazioni 3:     0a9e
   Ulteriori informazioni 4:     0a9e372d3b4ad19135b953a78882e789
 }}}

 There is the gdb of the error:

 {{{
 ----errors before crash on output console ----
 [wmv3 @ 0201F9E0] Bits overconsumption: 542 > 496
 [wmv3 @ 0201F9E0] concealing 1194 DC, 1194 AC, 1194 MV errors
 [wmv3 @ 0201F9E0] Bits overconsumption: 498 > 496
 [wmv3 @ 0201F9E0] concealing 1195 DC, 1195 AC, 1195 MV errors
 [wmv3 @ 0201F9E0] Bits overconsumption: 518 > 496
 [wmv3 @ 0201F9E0] concealing 1198 DC, 1198 AC, 1198 MV errors
 ----errors before crash on output console ----

 Program received signal SIGSEGV, Segmentation fault.
 0x007f9ced in ?? ()
 (gdb) bt
 #0  0x007f9ced in ?? ()
 #1  0x891fffc1 in ?? ()
 #2  0x8310244c in ?? ()
 #3  0x7c8901e9 in ?? ()
 #4  0x01bf1424 in ?? ()
 Cannot access memory at address 0xcf89f9d5

 (gdb) disass $pc-32,$pc+32
 Dump of assembler code from 0x7f9ccd to 0x7f9d0d:
    0x007f9ccd:  add    %al,(%eax)
    0x007f9ccf:  add    %al,%bh
    0x007f9cd1:  inc    %esp
    0x007f9cd2:  and    $0x44,%al
    0x007f9cd4:  add    %al,(%eax)
    0x007f9cd6:  add    %al,(%eax)
    0x007f9cd8:  mov    0x48(%esp),%ecx
    0x007f9cdc:  add    $0x50c,%ebp
    0x007f9ce2:  mov    %edi,0x4(%esp)
    0x007f9ce6:  mov    %esi,0x8(%esp)
    0x007f9cea:  mov    %ecx,(%esp)
 => 0x007f9ced:  call   *0xc(%ebx,%ebp,4)
    0x007f9cf1:  lea    0x8(%edi),%eax
    0x007f9cf4:  mov    %eax,0x4(%esp)
    0x007f9cf8:  mov    0x48(%esp),%eax
    0x007f9cfc:  mov    %esi,0x8(%esp)
    0x007f9d00:  add    $0x8,%eax
    0x007f9d03:  mov    %eax,(%esp)
    0x007f9d06:  call   *0xc(%ebx,%ebp,4)
    0x007f9d0a:  lea    0x0(,%esi,8),%eax
 End of assembler dump.

 (gdb) info all-registers
 eax            0x1ad3160        28127584
 ecx            0x4a4bfc0        77905856
 edx            0x280    640
 ebx            0x1ab8ba0        28019616
 esp            0x28d060 0x28d060
 ebp            0x902d0c 0x902d0c
 esi            0x280    640
 edi            0x1ad0461        28116065
 eip            0x7f9ced 0x7f9ced
 eflags         0x10206  [ PF IF RF ]
 cs             0x23     35
 ss             0x2b     43
 ds             0x2b     43
 es             0x2b     43
 fs             0x53     83
 gs             0x2b     43
 st0            -nan(0x8e8e8e8e8e8e8e8e) (raw 0xffff8e8e8e8e8e8e8e8e)
 st1            -nan(0x8e008e008e008e)   (raw 0xffff008e008e008e008e)
 st2            -nan(0x8e8e8e8e8e8e8e8e) (raw 0xffff8e8e8e8e8e8e8e8e)
 st3            -nan(0x8e008e008e008e)   (raw 0xffff008e008e008e008e)
 st4            -nan(0x8e8e8e8e8e8e8e8e) (raw 0xffff8e8e8e8e8e8e8e8e)
 st5            -nan(0x8e008e008e008e)   (raw 0xffff008e008e008e008e)
 st6            -nan(0x8e8e8e8e8e8e8e8e) (raw 0xffff8e8e8e8e8e8e8e8e)
 st7            -nan(0x8e008e008e008e)   (raw 0xffff008e008e008e008e)
 fctrl          0x37f    895
 fstat          0x4020   16416
 ftag           0xaaaa   43690
 fiseg          0x23     35
 fioff          0x40a68e 4236942
 foseg          0x2b     43
 fooff          0x28df78 2678648
 fop            0x7bc    1980
 xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
     0x8000000000000000, 0x0}, v16_int8 = {0x68, 0x72, 0x75, 0x77, 0x77,
 0x78,
     0x79, 0x7b, 0x7e, 0x85, 0x88, 0x8b, 0x8c, 0x8c, 0x8c, 0x8c}, v8_int16
 = {
     0x7268, 0x7775, 0x7877, 0x7b79, 0x857e, 0x8b88, 0x8c8c, 0x8c8c},
   v4_int32 = {0x77757268, 0x7b797877, 0x8b88857e, 0x8c8c8c8c}, v2_int64 =
 {
     0x7b79787777757268, 0x8c8c8c8c8b88857e},
   uint128 = 0x8c8c8c8c8b88857e7b79787777757268}
 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 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080,
 0x8080,
     0x8080, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080,
     0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080,
     0x8080808080808080}, uint128 = 0x80808080808080808080808080808080}
 xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080,
 0x8080,
     0x8080, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080,
     0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080,
     0x8080808080808080}, uint128 = 0x80808080808080808080808080808080}
 mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
 mm0            {uint64 = 0x8e8e8e8e8e8e8e8e, v2_int32 = {0x8e8e8e8e,
     0x8e8e8e8e}, v4_int16 = {0x8e8e, 0x8e8e, 0x8e8e, 0x8e8e}, v8_int8 = {
     0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e}}
 mm1            {uint64 = 0x8e008e008e008e, v2_int32 = {0x8e008e,
 0x8e008e},
   v4_int16 = {0x8e, 0x8e, 0x8e, 0x8e}, v8_int8 = {0x8e, 0x0, 0x8e, 0x0,
 0x8e,
     0x0, 0x8e, 0x0}}
 mm2            {uint64 = 0x8e8e8e8e8e8e8e8e, v2_int32 = {0x8e8e8e8e,
     0x8e8e8e8e}, v4_int16 = {0x8e8e, 0x8e8e, 0x8e8e, 0x8e8e}, v8_int8 = {
     0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e}}
 mm3            {uint64 = 0x8e008e008e008e, v2_int32 = {0x8e008e,
 0x8e008e},
   v4_int16 = {0x8e, 0x8e, 0x8e, 0x8e}, v8_int8 = {0x8e, 0x0, 0x8e, 0x0,
 0x8e,
     0x0, 0x8e, 0x0}}
 mm4            {uint64 = 0x8e8e8e8e8e8e8e8e, v2_int32 = {0x8e8e8e8e,
     0x8e8e8e8e}, v4_int16 = {0x8e8e, 0x8e8e, 0x8e8e, 0x8e8e}, v8_int8 = {
     0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e}}
 mm5            {uint64 = 0x8e008e008e008e, v2_int32 = {0x8e008e,
 0x8e008e},
   v4_int16 = {0x8e, 0x8e, 0x8e, 0x8e}, v8_int8 = {0x8e, 0x0, 0x8e, 0x0,
 0x8e,
     0x0, 0x8e, 0x0}}
 mm6            {uint64 = 0x8e8e8e8e8e8e8e8e, v2_int32 = {0x8e8e8e8e,
     0x8e8e8e8e}, v4_int16 = {0x8e8e, 0x8e8e, 0x8e8e, 0x8e8e}, v8_int8 = {
     0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e, 0x8e}}
 mm7            {uint64 = 0x8e008e008e008e, v2_int32 = {0x8e008e,
 0x8e008e},
   v4_int16 = {0x8e, 0x8e, 0x8e, 0x8e}, v8_int8 = {0x8e, 0x0, 0x8e, 0x0,
 0x8e,
     0x0, 0x8e, 0x0}}
 }}}

 Note that the 64 release of FFMPEG for Windows work perfectly and not
 crash. I work on a windows 7 - 64 bit, tried with windows xp sape error.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/506>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list