[asterisk-bugs] [JIRA] (ASTERISK-27264) res_pjsip_session: Crashes after sending PRACK and receiving 200 OK

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Sep 19 08:18:08 CDT 2017


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

George Joseph edited comment on ASTERISK-27264 at 9/19/17 8:17 AM:
-------------------------------------------------------------------

Hi Daniel,

I've been trying to reproduce this issue for the past few days without much luck.  I do see the crash in core.asterisk-2017-09-08T12-48-49+0200-full.txt and I can patch that issue but it'd still be good to understand the cause.  I'm not sure which of the coredumps matches the debug.txt though.   Is the crash continuing to happen?  Can you get a matching debug log and dumps?

Also I noticed that the debug.txt attached isn't showing all the debug messages I'd expect.  What debug level are you running and is it for all of asterisk or just certain modules?  If you're worried about posting sensitive data, you can send me a tarball via email.

--edit--

Also, it appears that there ARE checks in the code for that crash which SHOULD have spit out ASSERT messages since you have --enable-dev-mode turned on.  I don't see them though.  When you get a new log, please make sure that it has all errors, warnings, debugs, etc in it.




was (Author: gtj):
Hi Daniel,

I've been trying to reproduce this issue for the past few days without much luck.  I do see the crash in core.asterisk-2017-09-08T12-48-49+0200-full.txt and I can patch that issue but it'd still be good to understand the cause.  I'm not sure which of the coredumps matches the debug.txt though.   Is the crash continuing to happen?  Can you get a matching debug log and dumps?

Also I noticed that the debug.txt attached isn't showing all the debug messages I'd expect.  What debug level are you running and is it for all of asterisk or just certain modules?  If you're worried about posting sensitive data, you can send me a tarball via email.


> res_pjsip_session: Crashes after sending PRACK and receiving 200 OK
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-27264
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27264
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_session
>    Affects Versions: GIT
>         Environment: GIT-master-991750d
>            Reporter: Daniel Heckl
>            Assignee: Daniel Heckl
>         Attachments: core_dump.zip, debug.txt
>
>
> Asterisk crashes after sending PRACK and receiving OK.
> Please see attached export from cli.
> {quote}
> <--- Transmitting SIP request (548 bytes) to UDP:217.0.23.132:5060 --->
> PRACK sip:sgc_c at 217.0.23.132;transport=udp SIP/2.0
> Via: SIP/2.0/UDP 91.33.123.456:5060;rport;branch=z9hG4bKPj009be255-5335-4fe1-a98f-30917aafbb61
> From: <sip:+4912345678914 at tel.t-online.de>;tag=e975a90c-d2ad-4746-a3c3-c831a84f3073
> To: <sip:012345678910 at tel.t-online.de>;tag=h7g4Esbg_p65543t1504882705m812824c352549895s1_3474707275-997376043
> Call-ID: 0a003aa4-0c1b-4ddb-9ed0-67a62881e097
> CSeq: 10767 PRACK
> Route: <sip:217.0.23.132;transport=udp;lr>
> RAck: 2 10766 INVITE
> Max-Forwards: 70
> User-Agent: FPBX-14.0.1.4(14)
> Content-Length:  0
> -- PJSIP/012345678911-00000004 is making progress passing it to Local/012345678910 at from-internal-00000005;2
> -- Local/012345678910 at from-internal-00000005;1 is making progress passing it to Local/RG-2002-012345678910#@from-internal-00000004;2
> <--- Received SIP response (630 bytes) from UDP:217.0.23.132:5060 --->
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 91.33.123.456:5060;received=91.33.123.456;rport=5060;branch=z9hG4bKPj009be255-5335-4fe1-a98f-30917aafbb61
> To: <sip:012345678910 at tel.t-online.de>;tag=h7g4Esbg_p65543t1504882705m812824c352549895s1_3474707275-997376043
> From: <sip:+4912345678914 at tel.t-online.de>;tag=e975a90c-d2ad-4746-a3c3-c831a84f3073
> Call-ID: 0a003aa4-0c1b-4ddb-9ed0-67a62881e097
> CSeq: 10767 PRACK
> Supported: timer
> Supported: 100rel
> Supported: histinfo
> Supported: norefersub
> Supported: precondition
> Content-Length: 0
> Allow: REGISTER, REFER, NOTIFY, SUBSCRIBE, INFO, PRACK, UPDATE, INVITE, ACK, OPTIONS, CANCEL, BYE
> [2017-09-08 16:58:28] DEBUG[4700]: res_pjsip_session.c:3494 session_inv_on_tsx_state_changed: PRACK received final response code 200
> asterisk*CLI>
> Disconnected from Asterisk server
> Asterisk cleanly ending (0).
> Executing last minute cleanups
> {quote}



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



More information about the asterisk-bugs mailing list