[FFmpeg-trac] #5115(avformat:open): SIGFPE in ivf_write_trailer

FFmpeg trac at avcodec.org
Fri Jan 1 16:19:46 CET 2016


#5115: SIGFPE in ivf_write_trailer
-------------------------------------+-------------------------------------
             Reporter:  tsmith       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  ivf crash    |               Blocked By:
  fpe regression                     |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => ivf crash fpe regression
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Regression since 3a18d3fa047535980aa5368ebfda30ee0f1579cc
 {{{
 $ valgrind ffmpeg_g -y -i test_case.ivf -vcodec copy out.ivf
 ==2049== Memcheck, a memory error detector
 ==2049== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==2049== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
 ==2049== Command: ffmpeg_g -y -i test_case.ivf -vcodec copy out.ivf
 ==2049==
 ffmpeg version N-77567-g29e6606 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 11.100 / 55. 11.100
   libavcodec     57. 20.100 / 57. 20.100
   libavformat    57. 21.100 / 57. 21.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 22.100 /  6. 22.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [vp9 @ 0xb72af00] Invalid compressed header size
 Input #0, ivf, from 'test_case.ivf':
   Duration: 00:00:00.03, start: 0.000000, bitrate: 28 kb/s
     Stream #0:0: Video: vp9 (Profile 0) (VP90 / 0x30395056), yuv420p(pc),
 45072x8, 30 tbr, 30 tbn, 30 tbc
 Output #0, ivf, to 'out.ivf':
   Metadata:
     encoder         : Lavf57.21.100
     Stream #0:0: Video: vp9 (VP90 / 0x30395056), yuv420p, 45072x8, q=2-31,
 30 tbr, 30 tbn, 30 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 ==2049==
 ==2049== Process terminating with default action of signal 8 (SIGFPE)
 ==2049==  Integer divide by zero at address 0x405A98AAF
 ==2049==    at 0x5DAC03: ivf_write_trailer (ivfenc.c:80)
 ==2049==    by 0x62A909: av_write_trailer (mux.c:1123)
 ==2049==    by 0x496C04: transcode (ffmpeg.c:4153)
 ==2049==    by 0x479FBA: main (ffmpeg.c:4311)
 ==2049==
 ==2049== HEAP SUMMARY:
 ==2049==     in use at exit: 172,937 bytes in 49 blocks
 ==2049==   total heap usage: 159 allocs, 110 frees, 772,869 bytes
 allocated
 ==2049==
 ==2049== LEAK SUMMARY:
 ==2049==    definitely lost: 0 bytes in 0 blocks
 ==2049==    indirectly lost: 0 bytes in 0 blocks
 ==2049==      possibly lost: 0 bytes in 0 blocks
 ==2049==    still reachable: 172,937 bytes in 49 blocks
 ==2049==         suppressed: 0 bytes in 0 blocks
 ==2049== Rerun with --leak-check=full to see details of leaked memory
 ==2049==
 ==2049== For counts of detected and suppressed errors, rerun with: -v
 ==2049== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
 Floating point exception
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5115#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list