[Asterisk-video] app_mp4 crash with H264, bt and memcpy values

Manos Megagiannis megagiannis at gmail.com
Thu Jul 19 23:14:08 CDT 2007


I think this is a similar problem that some others are encountering.

Here is a bt from a crash:
0  0xb7cee44c in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7cee44c in memcpy () from /lib/tls/libc.so.6
#1  0xb720ecaf in mp4_rtp_write_video (t=0xb62e1dc0, f=0x8267a8c,
payload=64, intra=1 '\001', skip=64, prependBuffer=0x8267b19 "",
prependLength=63) at app_mp4.c:160
#2  0xb72102c4 in mp4_save (chan=0x825d930, data=0xb63020d0) at app_mp4.c:694
BTW I added 3 lines on the source, line 159 to get the memcpy values.


MEMCPY values:
t->length=1399
payload=1400
skip=1400
f->datalen=1400

Therefore size_t < 0 :(
Sorry too late and too tired to look further.

Manos



More information about the asterisk-video mailing list