Opened 13 years ago

Closed 13 years ago

#260 closed defect (fixed)

malloc error when using -f ffmetadata

Reported by: dave rice Owned by:
Priority: normal Component: avutil
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm getting an error when trying to output the ffmetadata format. I tested an mov, mp4, and mpeg file with the same resulting error.

Here's an output using http://samples.multimedia.cx/mov/P6040064a.MP4

ffmpeg -i P6040064a.MP4 -f ffmetadata -
ffmpeg version git-N-30462-gd013c6d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun  2 2011 11:20:23 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-gpl --enable-libfreetype --enable-frei0r --enable-libx264
  libavutil    51.  3. 0 / 51.  3. 0
  libavcodec   53.  6. 1 / 53.  6. 1
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  1. 0 / 53.  1. 0
  libavfilter   2. 11. 0 /  2. 11. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
ffmpeg(88653) malloc: *** error for object 0x1010154c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

See another file's output at http://pastebin.com/S9wC3JKs

Is this related to http://avcodec.org/trac/ffmpeg/ticket/255

Change History (2)

comment:1 by Stefano Sabatini, 13 years ago

Tested in Linux and works fine, seems an OSX related problem, maybe related to #255.

Last edited 13 years ago by Stefano Sabatini (previous) (diff)

comment:2 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavutil
Resolution: fixed
Status: newclosed

A work-around was applied to current git head.

Note: See TracTickets for help on using tickets.