Affects Version/s: 13.6.0
Security Level: None
Environment:Debian 8 and Ubuntu 14.04.3.
Asterisk latest 13.6.0 from Git.
Realtime using odbc/mysql
I am trying to bring a new server into an existing cluster of Asterisk boxes and I keep getting the same problem.
Servers are all behind a Kamailio LB, and when I add this new server to the dispatcher group, kamailio starts sending REGISTER and SUBSCRIBE requests to the new server. After a few minutes chan_sip just hangs, no longer processing any traffic at all. Nothing shows up in the logs, and Asterisk itself is still running. I can see the incoming SIP packets using sngrep, but Asterisk does not see them.
I have tried this on KVM and Openvz virtual servers as well as physical servers, and have tried both Debian 8 and Ubuntu 14.04 with the exact same results.
When chan_sip freezes, 'core show locks' shows the following every time:
There is no core sump when this happens. SIP simply stops responding, peers do not expire, etc.
I have managed to get a gdb backtrace from the running process using
Hopefully that will give some clue. I will upload it as an attachment.
Any help much appreciated.
|For Gerrit Dashboard: ASTERISK-25468|
|3962,5||chan_sip: Address runaway when realtime peers subscribe to mailboxes||asterisk||Status: MERGED||+2||+1|
|3964,2||chan_sip: Address runaway when realtime peers subscribe to mailboxes||asterisk||Status: MERGED||+2||+1|
|3965,2||chan_sip: Address runaway when realtime peers subscribe to mailboxes||asterisk||Status: MERGED||+2||+1|