On Sat, Dec 29, 2012 at 6:17 AM, Carl Eugen Hoyos <[email protected]> wrote:

> Shawn Van Every <savanevery@...> writes:
>
> > Program received signal EXC_BAD_ACCESS, Could not access memory.
> > Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000090
> > 0x00000001000870b5 in ff_mov_write_packet ()
> > (gdb) bt
> > #0  0x00000001000870b5 in ff_mov_write_packet ()
> > #1  0x00007fff8e58cb28 in szone_malloc_should_clear ()
> > #2  0x00007fff8e57f71a in malloc_zone_memalign ()
> > #3  0x00007fff8e57ff4e in posix_memalign ()
> > #4  0x000000010000f9b5 in av_strdup ()
>
> The backtrace does not look very helpful,
> either use static linking or use --disable-stripping.
>
> Carl Eugen
>

Thanks Carl, here is an updated backtrace:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000090
0x0000000100090095 in mov_write_header (s=0x7fff5fbff410) at movenc.c:3499
3499    if (!s->pb->seekable &&

 It looks like I either haven't instantiated AVFormatContext (s in
movenc.c:3499) or AVIOContext (s->pb in movenc.c 3499) correctly.
 Unfortunately, I haven't seen AVIOContext used in any of the examples.

Thanks
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to