[asterisk-bugs] [JIRA] (ASTERISK-26307) Crash from res_pjsip_caller_id.c
Bill Brigden (JIRA)
noreply at issues.asterisk.org
Wed Aug 24 05:32:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231939#comment-231939 ]
Bill Brigden commented on ASTERISK-26307:
-----------------------------------------
Had another crash.. I've had full SIP packet logging to try and work out whats going on. I can see now that a call established exactly 30 mins prior to the crash and the last packet exchange between the PBX and the handset was a SIP UPDATE initiated from the server (which appears to be constructed correctly), however the stacktrace from the seg fault references the adding of the P-Asserted-Identity header which isn't present in the SIP UPDATE packet. I also note that the default timers_sess_expires value is being used of 1800 seconds. Coincidence?
This is the SIP Update incase it is of assistance..
{quote}
U 2016/08/24 10:30:38.873610 PBX-IP:5060 -> PHONE-IP:32376
UPDATE sip:7e256804-1847-4fdf-b307-cbb4cf6d64fe at PHONE-IP:32376;line=yhi3h002 SIP/2.0.
Via: SIP/2.0/UDP PBX-IP:5060;rport;branch=z9hG4bKPj059d99a1-79f2-4e10-b0be-b363f58618b6.
From: <sip:08002790000 at voip-02.provider.net;user=phone>;tag=16e3b601-8f02-48b4-8ead-eaff9f9aa692.
To: "Handset" <sip:7e256804-1847-4fdf-b307-cbb4cf6d64fe at voip-02.provider.net>;tag=0oqjhb5tzz.
Contact: <sip:PBX-IP:5060>.
Call-ID: 57bd622b95cb-rbrxr0frj1ct.
CSeq: 32237 UPDATE.
Supported: timer, replaces, norefersub.
Session-Expires: 3600;refresher=uac.
Min-SE: 90.
Max-Forwards: 70.
User-Agent: VoIP.
Content-Length: 0.
.
#
U 2016/08/24 10:30:38.895381 PHONE-IP:32376 -> PBX-IP:5060
SIP/2.0 200 Ok.
Via: SIP/2.0/UDP PBX-IP;rport=5060;branch=z9hG4bKPj059d99a1-79f2-4e10-b0be-b363f58618b6.
From: <sip:08002790000 at voip-02.provider.net;user=phone>;tag=16e3b601-8f02-48b4-8ead-eaff9f9aa692.
To: "Handset" <sip:7e256804-1847-4fdf-b307-cbb4cf6d64fe at voip-02.provider.net>;tag=0oqjhb5tzz.
Call-ID: 57bd622b95cb-rbrxr0frj1ct.
CSeq: 32237 UPDATE.
Contact: <sip:7e256804-1847-4fdf-b307-cbb4cf6d64fe at PHONE-IP:32376;line=yhi3h002>;reg-id=1.
User-Agent: snom710/8.7.3.25.9.
Supported: timer, 100rel, replaces, from-change.
Require: timer.
Session-Expires: 3600;refresher=uac.
Content-Length: 0.
.
{quote}
Happy to debug further given requests!
> Crash from res_pjsip_caller_id.c
> --------------------------------
>
> Key: ASTERISK-26307
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26307
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_caller_id
> Affects Versions: 13.10.0
> Environment: Linux xx 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux
> Reporter: Bill Brigden
> Assignee: Unassigned
> Attachments: bt-220816.txt, bt-full.txt
>
>
> I've had a couple of random crashes, shown in syslog as:
> {quote}
> Aug 19 11:50:04 pbx-02 kernel: [22213515.179507] asterisk[15754]: segfault at 40 ip 00007ff54b0b367a sp 00007ff55bffe820 error 4 in res_pjsip_caller_id.so[7ff54b0b2000+3000]
> {quote}
> Will attach BT (both normal and full). Oddly, I have compiled with: DONT_OPTIMIZE, DEBUG_THREADS, BETTER_BACKTRACES however it shows that some values are optimized out.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list