[FFmpeg-trac] #314(avdevice:open): OpenAL device does not work on OS X
FFmpeg
trac at avcodec.org
Tue Dec 10 15:06:27 CET 2013
#314: OpenAL device does not work on OS X
-------------------------------------+------------------------------------
Reporter: nieder | Owner:
Type: enhancement | Status: open
Priority: wish | Component: avdevice
Version: git-master | Resolution:
Keywords: openal osx | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by cehoyos):
* priority: normal => wish
* status: new => open
* reproduced: 0 => 1
Comment:
I can reproduce the crash if I force OpenAL enabled and fix the includes
and linker flags.
{{{
(lldb) r -f openal -i 'Built-in Microphone'
Process 20723 launched: 'ffmpeg_g' (x86_64)
ffmpeg version N-58952-gf8d8d2e Copyright (c) 2000-2013 the FFmpeg
developers
built on Dec 10 2013 14:49:51 with Apple LLVM version 5.0
(clang-500.2.79) (based on LLVM 3.3svn)
configuration:
libavutil 52. 58.100 / 52. 58.100
libavcodec 55. 45.100 / 55. 45.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 92.100 / 3. 92.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
ffmpeg_g(20723,0x7fff785df180) malloc: *** error for object 0x10131f138:
incorrect checksum for freed object - object was probably modified after
being freed.
*** set a breakpoint in malloc_error_break to debug
Process 20723 stopped
* thread #1: tid = 0x983b, 0x00007fff8be15212
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-
thread, stop reason = signal SIGABRT
frame #0: 0x00007fff8be15212 libsystem_kernel.dylib`__pthread_kill +
10
libsystem_kernel.dylib`__pthread_kill + 10:
-> 0x7fff8be15212: jae 0x7fff8be15219 ; __pthread_kill + 17
0x7fff8be15214: jmpq 0x7fff8be164d4 ; cerror_nocancel
0x7fff8be15219: ret
0x7fff8be1521a: nop
(lldb) bt
* thread #1: tid = 0x983b, 0x00007fff8be15212
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-
thread, stop reason = signal SIGABRT
frame #0: 0x00007fff8be15212 libsystem_kernel.dylib`__pthread_kill +
10
frame #1: 0x00007fff88f09b24 libsystem_c.dylib`pthread_kill + 90
frame #2: 0x00007fff88f4df61 libsystem_c.dylib`abort + 143
frame #3: 0x00007fff88f298d5 libsystem_c.dylib`szone_error + 580
frame #4: 0x00007fff88f2e2c2
libsystem_c.dylib`tiny_malloc_from_free_list + 378
frame #5: 0x00007fff88f2eb08
libsystem_c.dylib`szone_malloc_should_clear + 971
frame #6: 0x00007fff88f26978 libsystem_c.dylib`szone_memalign + 89
frame #7: 0x00007fff88f2171a libsystem_c.dylib`malloc_zone_memalign +
114
frame #8: 0x00007fff88f21f4e libsystem_c.dylib`posix_memalign + 54
frame #9: 0x00000001006d4ecd ffmpeg_g`av_mallocz [inlined]
av_malloc(size=104) + 49 at mem.c:94
frame #10: 0x00000001006d4e9c ffmpeg_g`av_mallocz(size=104) + 12 at
mem.c:244
frame #11: 0x0000000100139951 ffmpeg_g`avformat_find_stream_info
[inlined] add_to_pktbuf(pkt=0x000000010131ee00) + 5 at utils.c:463
frame #12: 0x000000010013994c
ffmpeg_g`avformat_find_stream_info(ic=0x0000000101818a00,
options=0x0000000101315440) + 1244 at utils.c:2959
frame #13: 0x0000000100006c25
ffmpeg_g`open_input_file(o=0x00007fff5fbff6d0, filename=<unavailable>) +
1397 at ffmpeg_opt.c:861
frame #14: 0x0000000100006510
ffmpeg_g`open_files(l=0x000000010130e678, inout=0x0000000100851a0c,
open_file=0x00000001000066b0) + 256 at ffmpeg_opt.c:2583
frame #15: 0x0000000100006352
ffmpeg_g`ffmpeg_parse_options(argc=<unavailable>, argv=<unavailable>) +
178 at ffmpeg_opt.c:2620
frame #16: 0x00000001000105e8 ffmpeg_g`main(argc=<unavailable>,
argv=<unavailable>) + 184 at ffmpeg.c:3522
frame #17: 0x00007fff92ec27e1 libdyld.dylib`start + 1
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/314#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list