[FFmpeg-trac] #3603(ffprobe:open): ffprobe crashes on streams added after probe

FFmpeg trac at avcodec.org
Tue May 6 14:29:51 CEST 2014


#3603: ffprobe crashes on streams added after probe
-------------------------------------+-------------------------------------
             Reporter:  cus          |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  ffprobe
              Version:  git-master   |               Resolution:
             Keywords:  crash        |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by er.anshul.maheshwari@…):

 It is not the case of multiple av_frame_free
 I placed break point at av_frame_free and saw all frames memory address,
 address that is given to av_free_frame when it gives segmentation fault is
 not matching to previous allocated frame memory.

 $352 = (AVFrame **) 0xbfffe7d0
 353-421 repeat same memory
 $424 = (AVFrame **) 0xbfffe7d0
 $425 = (AVFrame **) 0x9500954
 $426 = (AVFrame **) 0x9501e14
 $427 = (AVFrame **) 0x9501db4
 [New Thread 0xb72f3b40 (LWP 31853)]
 [New Thread 0xb6a6ab40 (LWP 31854)]
 [New Thread 0xb61e1b40 (LWP 31855)]
 [New Thread 0xb5958b40 (LWP 31856)]
 [New Thread 0xb50cfb40 (LWP 31857)]
 $428 = (AVFrame **) 0xbfffe954
 *** Error in `/home/anshul/Software/ffmpeg_last/ffprobe_g':
 munmap_chunk(): invalid pointer: 0x095961a0 ***

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


More information about the FFmpeg-trac mailing list