[FFmpeg-trac] #2229(build system:new): memalign_hack is not auto-detected anymore for ppc OSX
FFmpeg
trac at avcodec.org
Sun Feb 3 00:51:09 CET 2013
#2229: memalign_hack is not auto-detected anymore for ppc OSX
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component: build
Version: git- | system
master | Keywords: regression
Blocked By: | ppc
Reproduced by developer: 0 | Blocking:
| Analyzed by developer: 0
-------------------------------------+-------------------------------------
Current FFmpeg outputs a warning message from free() on ppc OSX, this is a
regression since 27744fe / 77cfb2
{{{
$ ffmpeg -i tests/lena.pnm -vf format=rgba out.png
ffmpeg version N-49548-ga60530e Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 3 2013 00:48:44 with gcc 4.2.1 (GCC) (Apple Inc. build
5577)
configuration: --cc=gcc-4.2 --enable-gpl
libavutil 52. 17.100 / 52. 17.100
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.100 / 3. 35.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, image2, from 'tests/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.png':
Metadata:
encoder : Lavf54.61.104
Stream #0:0: Video: png, rgba, 256x256, q=2-31, 200 kb/s, 90k tbn, 25
tbc
Stream mapping:
Stream #0:0 -> #0:0 (ppm -> png)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:191kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.011248%
ffmpeg(42660) malloc: *** error for object 0x197d011: Non-aligned pointer
being freed
*** set a breakpoint in malloc_error_break to debug
}}}
{{{
(gdb) r -i tests/lena.pnm -vf format=rgba out.png
Starting program: ffmpeg_g -i tests/lena.pnm -vf format=rgba out.png
Reading symbols for shared libraries . done
ffmpeg version N-49548-ga60530e Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 3 2013 00:48:44 with gcc 4.2.1 (GCC) (Apple Inc. build
5577)
configuration: --cc=gcc-4.2 --enable-gpl
libavutil 52. 17.100 / 52. 17.100
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.100 / 3. 35.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, image2, from 'tests/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.png':
Metadata:
encoder : Lavf54.61.104
Stream #0:0: Video: png, rgba, 256x256, q=2-31, 200 kb/s, 90k tbn, 25
tbc
Stream mapping:
Stream #0:0 -> #0:0 (ppm -> png)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:191kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.011248%
ffmpeg_g(42676) malloc: *** error for object 0x1186011: Non-aligned
pointer being freed
*** set a breakpoint in malloc_error_break to debug
Breakpoint 1, 0x96da3e68 in malloc_error_break ()
(gdb) bt
#0 0x96da3e68 in malloc_error_break ()
#1 0x96d9ead0 in szone_error ()
#2 0x0068ddb8 in av_freep (arg=0x100b5f0) at libavutil/mem.c:181
#3 0x00034c74 in ff_free_pool (pool=0x100b550) at
libavfilter/buffer.c:107
#4 0x0003206c in avfilter_free (filter=0x100ab10) at
libavfilter/avfilter.c:162
#5 0x00032a04 in avfilter_graph_free (graph=0x100a128) at
libavfilter/avfiltergraph.c:67
#6 0x0000c354 in exit_program () at ffmpeg.c:412
#7 0x96ca6968 in __cxa_finalize ()
#8 0x96ca6828 in exit ()
#9 0x00016b98 in main (argc=<value temporarily unavailable, due to
optimizations>, argv=<value temporarily unavailable, due to
optimizations>) at ffmpeg.c:3319
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2229>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list