[asterisk-bugs] [JIRA] (ASTERISK-24800) Crash in __sip_reliable_xmit

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Feb 17 11:01:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224971#comment-224971 ] 

Matt Jordan commented on ASTERISK-24800:
----------------------------------------

Asterisk crashed in a call to {{pthread_kill}}:

{noformat}
#0  0x00007fd8f1028740 in pthread_kill () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007fd8901e4266 in __sip_reliable_xmit (p=0x7fd8e06f3b58, seqno=102, resp=0, data=0x7fd8e07ff250, fatal=1, sipmethod=3) at chan_sip.c:4232
        pkt = 0x7fd8e06cb7a0
        siptimer_a = 1000
        xmitres = 582
        respid = 2418556244
        __PRETTY_FUNCTION__ = "__sip_reliable_xmit"
{noformat}

Which occurs here:
{code}
	} else {
		/* This is odd, but since the retrans timer starts at 500ms and the do_monitor thread
		 * only wakes up every 1000ms by default, we have to poke the thread here to make
		 * sure it successfully detects this must be retransmitted in less time than
		 * it usually sleeps for. Otherwise it might not retransmit this packet for 1000ms. */
		if (monitor_thread != AST_PTHREADT_NULL) {
			pthread_kill(monitor_thread, SIGURG);
		}
		return AST_SUCCESS;
	}
{code}

Do you have the core file still? If so, what is the value of {{monitor_thread}} in frame 1?

> Crash in __sip_reliable_xmit
> ----------------------------
>
>                 Key: ASTERISK-24800
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24800
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.2.0
>            Reporter: JoshE
>         Attachments: sipxmit_crash.txt
>
>
> Crash observed in __sip_reliable_xmit with a large number of realtime peers attached to the database.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list