[FFmpeg-trac] #2905(undetermined:open): Regression: Double free

FFmpeg trac at avcodec.org
Fri Aug 30 02:28:56 CEST 2013


#2905: Regression: Double free
-------------------------------------+-------------------------------------
             Reporter:  Krieger      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  crash        |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Needs a high number of decoding threads (>2).
 {{{
 (gdb) r -i sample.ts -t 0.1 -vf fps=30 -f null -
 Starting program: ffmpeg_g -i sample.ts -t 0.1 -vf fps=30 -f null -
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 ffmpeg version N-55890-g259292f Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Aug 30 2013 02:09:45 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack --enable-libx264
   libavutil      52. 42.100 / 52. 42.100
   libavcodec     55. 29.100 / 55. 29.100
   libavformat    55. 15.100 / 55. 15.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 [mpegts @ 0x16e9880] PES packet size mismatch
     Last message repeated 1 times
 Input #0, mpegts, from 'sample.ts':
   Duration: 00:00:00.43, start: 1.400000, bitrate: 1888 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive) ([27][0][0][0]
 / 0x001B), yuv444p, 1280x1024, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
 [New Thread 0x7ffff569c700 (LWP 6820)]
 [New Thread 0x7ffff4e9b700 (LWP 6821)]
 [New Thread 0x7ffff469a700 (LWP 6822)]
 [New Thread 0x7ffff3e99700 (LWP 6823)]
 [New Thread 0x7ffff3698700 (LWP 6824)]
 [New Thread 0x7ffff2e97700 (LWP 6825)]
 [New Thread 0x7ffff2696700 (LWP 6826)]
 [New Thread 0x7ffff1e95700 (LWP 6827)]
 [New Thread 0x7ffff1694700 (LWP 6828)]
 [New Thread 0x7ffff0e93700 (LWP 6829)]
 [New Thread 0x7ffff0692700 (LWP 6830)]
 [New Thread 0x7fffefe91700 (LWP 6831)]
 [New Thread 0x7fffef690700 (LWP 6832)]
 [New Thread 0x7fffeee8f700 (LWP 6833)]
 [New Thread 0x7fffee68e700 (LWP 6834)]
 [New Thread 0x7fffede8d700 (LWP 6835)]
 [New Thread 0x7fffed68c700 (LWP 6836)]
 [New Thread 0x7fffece8b700 (LWP 6837)]
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf55.15.100
     Stream #0:0: Video: rawvideo (444P / 0x50343434), yuv444p, 1280x1024,
 q=2-31, 200 kb/s, 90k tbn, 30 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 0x16f1100] Encoder did not produce proper pts, making some up.
 [mpegts @ 0x16e9880] PES packet size mismatch

 Program received signal SIGSEGV, Segmentation fault.
 av_frame_unref (frame=0x20189a0) at libavutil/frame.c:340
 340             av_freep(&frame->side_data[i]->data);
 }}}

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


More information about the FFmpeg-trac mailing list