Crash after ACK/timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We are facing a crash in a PJSIP while receiving an incoming call - the point at which it is crashing is when an ACK is received.

Here is what we are doing:

- When an INVITE message is received, a UAS dialog is created
  - Send 180 Ringing, 200 OK on the same dialog
- An ACK is received from the server

The ACK is destroying the transaction. After this, a timer expires and tries destroy the already destroyed transaction and it crashes there.  You can see the same from the following log snippet:



16:25:49.016 sip_endpoint.c Processing incoming message: Request msg INVITE/cseq=15725 (rdata01221854)
 16:25:49.672    tsx0189A7CC Transaction created for Request msg INVITE/cseq=15725 (rdata01221854)
 16:25:49.672    tsx0189A7CC Incoming Request msg INVITE/cseq=15725 (rdata01221854) in state Null
 16:25:49.672    tsx0189A7CC State changed from Null to Trying, event=RX_MSG
 16:25:49.672    dlg01279A1C Transaction tsx0189A7CC state changed to Trying
 16:25:49.672    dlg01279A1C UAS dialog created
 16:25:49.672    dlg01279A1C Module mod-invite added as dialog usage, data=0127A020
 16:25:49.672    dlg01279A1C Session count inc to 2 by mod-invite
 16:25:49.672    inv01279A1C UAS invite session created for dialog dlg01279A1C
 16:25:49.672       endpoint Response msg 180/INVITE/cseq=15725 (tdta0126B198) created
 16:25:49.672    dlg01279A1C Initial answer Response msg 180/INVITE/cseq=15725 (tdta0126B198)
 16:25:49.672    inv01279A1C Sending Response msg 180/INVITE/cseq=15725 (tdta0126B198)
 16:25:49.672    dlg01279A1C Sending Response msg 180/INVITE/cseq=15725 (tdta0126B198)
 16:25:49.672    tsx0189A7CC Sending Response msg 180/INVITE/cseq=15725 (tdta0126B198) in state Trying
 16:25:49.672  sip_resolve.c Target '10.2.1.164:5060' type=UDP resolved to '10.2.1.164:5060' type=UDP
 16:25:49.672    tsx0189A7CC State changed from Trying to Proceeding, event=TX_MSG
 16:25:49.672    dlg01279A1C Transaction tsx0189A7CC state changed to Proceeding
 16:25:49.672    inv01279A1C SDP negotiation done, status=220049
 16:25:49.672    inv01279A1C Sending Response msg 200/INVITE/cseq=15725 (tdta0126B198)
 16:25:49.672    dlg01279A1C Sending Response msg 200/INVITE/cseq=15725 (tdta0126B198)
 16:25:49.672    tsx0189A7CC Sending Response msg 200/INVITE/cseq=15725 (tdta0126B198) in state Proceeding
 16:25:49.672    tsx0189A7CC State changed from Proceeding to Completed, event=TX_MSG
 16:25:49.672    dlg01279A1C Transaction tsx0189A7CC state changed to Completed
 16:25:49.672 sip_endpoint.c Processing incoming message: Request msg INVITE/cseq=15725 (rdata01221854)
 16:25:49.672    tsx0189A7CC Incoming Request msg INVITE/cseq=15725 (rdata01221854) in state Completed
 16:25:49.672    tsx0189A7CC Retransmiting Response msg 200/INVITE/cseq=15725 (tdta0126B198), count=0, restart?=0
 16:25:49.781 sip_endpoint.c Processing incoming message: Request msg ACK/cseq=15725 (rdata01221854)
 16:25:49.781    dlg01279A1C Received Request msg ACK/cseq=15725 (rdata01221854)
 16:25:49.781    tsx0189A7CC Request to terminate transaction
 16:25:49.781    tsx0189A7CC State changed from Completed to Terminated, event=USER
 16:25:49.781    dlg01279A1C Transaction tsx0189A7CC state changed to Terminated
 16:25:49.781   tdta0126B198 Destroying txdata Response msg 200/INVITE/cseq=15725 (tdta0126B198)
 16:25:49.875    tsx0189A7CC Timeout timer event
 16:25:49.875    tsx0189A7CC State changed from Terminated to Destroyed, event=TIMER


Thanks,
Manoj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080808/d88c4561/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux