Summary:ASTERISK-05354: [patch] segfault in rtp.c:345
Reporter:Joseph Benden (jbenden)Labels:
Date Opened:2005-10-23 01:45:26Date Closed:2011-06-07 14:10:26
Versions:Frequency of
Environment:Attachments:( 0) rtp-segfault.patch.txt
( 1) rtp-segfault-trace.txt
Description:Asterisk seg. faulted earlier today.  Attached is a patch that applies against CVS HEAD and to stable 1.0.9.  Also attached is the backtrace.
Comments:By: Mark Spencer (markster) 2005-10-24 22:42:33

Can you supply a full backtrace?  I don't see how it could ever get called...

By: Joseph Benden (jbenden) 2005-10-24 22:52:25

Sorry about that, I can't at this time. Cron magically wiped out the core files in /tmp... :(

This has happened in the past, so if you'd like, I could unpatch it and let it happen again. (And also disable the Cron /tmp cleaning.. lol)

Otherwise, I'm hoping that the patch will cause it to NOT seg. fault as losing the calls in progress is kind of a bummer, if you know what I mean... :)

It's your call! Let me know what you'd like me to do...

By: Kevin P. Fleming (kpfleming) 2005-10-31 17:40:06.000-0600

I don't understand... this patch doesn't apply against CVS HEAD, because the equivalent logic is already there. I'll mark this 'pending stable' for 1.0.x, but I see no need for this to be open against CVS HEAD.

By: Russell Bryant (russell) 2005-10-31 20:05:52.000-0600

fixed in 1.0 as well

By: Digium Subversion (svnbot) 2008-01-15 15:53:10.000-0600

Repository: asterisk
Revision: 6919

U   branches/v1-0/rtp.c

r6919 | russell | 2008-01-15 15:53:10 -0600 (Tue, 15 Jan 2008) | 2 lines

prevent possible seg fault (issue ASTERISK-5354)