Summary:ASTERISK-23411: Asterisk segfault sip_get_codec
Reporter:Matteo (mpiazzatnetbug)Labels:
Date Opened:2014-03-04 03:13:26.000-0600Date Closed:2014-03-04 06:20:55.000-0600
Versions:11.2.2 Frequency of
One Time
is duplicated byASTERISK-21737 [patch] - Crash during transfer from DAHDI/SIP to SIP/SIP in ast_format_cap_append called from remote bridge loop
Environment:Debian 6.0.7 virtualized on Proxmox 3.1 (KVM) Memory 2Gb CPU 2.27 GHz (1 socket, 8 cores)Attachments:( 0) backtrace_asterisk_cert_11.2.txt
Description:Segfault of asterisk.

It's happened after 10 days of uptime, 100000 calls processed.

I'm not able to reproduce it. I'm waiting to see if it's occurs again.
Comments:By: Matt Jordan (mjordan) 2014-03-04 06:20:44.150-0600

This was actually just fixed in r409002. The problem here is a race condition between obtaining the currently codecs for the session from the channel driver and a masquerade replacing the channel.

I'm going to go ahead and close this out as a duplicate of ASTERISK-21737. If you apply the patch on that issue and still have a problem, let a bug marshal know in #asterisk-bugs or comment on this issue and we'll reopen it.