zhanjx1314 / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

ffmbc 0.7 rc 7 - core dump #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

$ ffmbc -i source_file.mov

What is the expected output?

$ ffmbc -i 279.mov
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '279.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    creation_time: 2012-10-23 01:55:06
    com.apple.quicktime.player.version: 7.6.7 (Dev)
    com.apple.quicktime.version: 7.6.8 (1675)
    com.apple.quicktime.player.movie.audio.gain: 0.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute: .
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 0.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 0.000000
    title(eng): Untitled 01.avi
    author(eng): created.with.SUPER(C).v2012.bld.50
    encoder(eng): SUPER(C)   
  Duration: 00:00:40.60, start: -1.249917, bitrate: 50052 kb/s
    Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1280x720p, 48404 kb/s, 29.97 fps
    Metadata:
      codec_name: libx264
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      com.apple.quicktime.player.movie.audio.gain: ?...
      com.apple.quicktime.player.movie.audio.treble: 0.000000
      com.apple.quicktime.player.movie.audio.bass: 0.000000
      com.apple.quicktime.player.movie.audio.balance: 0.000000
      com.apple.quicktime.player.movie.audio.mute: .
At least one output file must be specified

What do you see instead?

$ ffmbc -v 3 -i 282.mov
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
*** glibc detected *** ffmbc: double free or corruption (out): 
0x00007fff604860e0 ***
======= Backtrace: =========
[0xf69662]
[0xf6fbce]
[0x4da7b5]
[0x4d7147]
======= Memory map: ========
00400000-014bb000 r-xp 00000000 08:01 4064161                            
/usr/local/bin/ffmbc
016bb000-016fa000 rw-p 010bb000 08:01 4064161                            
/usr/local/bin/ffmbc
016fa000-01da3000 rw-p 00000000 00:00 0 
0398b000-039cf000 rw-p 00000000 00:00 0                                  [heap]
7f4fc8000000-7f4fc8021000 rw-p 00000000 00:00 0 
7f4fc8021000-7f4fcc000000 ---p 00000000 00:00 0 
7f4fcfdba000-7f4fcfddf000 rw-p 00000000 00:00 0 
7fff60468000-7fff60489000 rw-p 00000000 00:00 0                          [stack]
7fff60566000-7fff60567000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
Aborted (core dumped)

What version of the product are you using?

ffmbc 0.7 rc7

On what operating system?

Ubuntu 12.04 LTS 64bit

Linux djb 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux

Please provide any additional information below:

mediainfo reports the following for the core-dump clip

::$ mediainfo 282.mov
General
Complete name                            : 282.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 284 MiB
Duration                                 : 41s 441ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 57.5 Mbps
Movie name                               : Untitled 04.avi
Performer                                : created.with.SUPER(C).v2012.bld.50
Encoded date                             : UTC 2012-10-23 02:18:10
Tagged date                              : UTC 2012-10-23 02:18:32
Writing application                      : SUPER(C)   
Writing library                          : Apple QuickTime 7.6.8
com.apple.quicktime.player.movie.audio.m : (Binary)

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L1.3
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 41s 441ms
Bit rate                                 : 46.4 Mbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 1.682
Stream size                              : 229 MiB (81%)
Language                                 : English
Encoded date                             : UTC 2012-09-13 23:00:45
Tagged date                              : UTC 2012-10-23 02:18:32
Material_Duration                        : 50984
Material_StreamSize                      : 297215913
Material_FrameCount                      : 1528

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 41s 441ms
Bit rate mode                            : Variable
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 650 KiB (0%)
Language                                 : English
Encoded date                             : UTC 2012-09-13 23:00:45
Tagged date                              : UTC 2012-10-23 02:18:32
Material_Duration                        : 41448
Material_StreamSize                      : 665119

Baptiste, please email and I'll return a download URL as the buggy clip is 
private and not for distribution/general availability.

dave.bevan@bbc.co.uk

Original issue reported on code.google.com by bevan...@gmail.com on 26 Oct 2012 at 9:12

GoogleCodeExporter commented 9 years ago
Should be fixed in rc8

Original comment by baptiste...@gmail.com on 13 Mar 2013 at 11:00

GoogleCodeExporter commented 9 years ago

Original comment by baptiste...@gmail.com on 13 Mar 2013 at 11:00