[FFmpeg-trac] #569(avformat:new): segfault trying to identify flv with no audio channels

FFmpeg trac at avcodec.org
Wed Oct 19 08:08:52 CEST 2011


#569: segfault trying to identify flv with no audio channels
-------------------------------------+------------------------------------
             Reporter:  andrewr      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by andrewr):

 The other compiler I have ready access to is gcc 4.4.5. I built with that
 and got a segfault in the same exact place. The traceback is virtually
 identical, I can paste it though in if that might help.

 c76d1bb29f2d1dddbe633e701ca5252f26b65e3e corresponds to version r17723
 (Mar 2 2009). I've confirmed that version r19369, or
 5c56e7469799c2b820bfc24f952931ead77e053b (Jul 7 2009). There have been
 13,570 git commits since 5c56e74. So I built a test script to binary-
 search through them, compiling and testing at each rev. Here's what I
 found. It looks like the problem was introduced in
 cb7e2c1ca864a2ff44c851689ba8a2d4a81dfd27, worked again in
 1caa4123bd83f8b1f8a4e11a8d8539be7d54b105, and fails from
 7f6e05cdfd1242a6774e89283b6e2cefde191590 onwards.

 ... everything after this fails with segv...
 commit 7087ce08c84dd20404ba258096530cc547d25c15 fail
 commit 2f97b12eaf8ada30b3884604d66dbdf51e727b67 fail
 commit 7f6e05cdfd1242a6774e89283b6e2cefde191590 fail
 commit 1caa4123bd83f8b1f8a4e11a8d8539be7d54b105 works
 commit cb7e2c1ca864a2ff44c851689ba8a2d4a81dfd27 fail
 commit 9dd94f8379a0f7b3c820bf73c45fa888971c7432 works
 commit 8b8bf89e52bc3bf4be1a9f10eb1eb153a443172f works
 commit 93dfda88968c5e4d3f596f35a446fb7c238e96b2 works
 ...everything before this succeeds...

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/569#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list