Summary: | ASTERISK-15598: Crash when destroying sip channels | ||
Reporter: | Mark Murawski (kobaz) | Labels: | |
Date Opened: | 2010-02-09 12:21:04.000-0600 | Date Closed: | 2010-02-18 16:45:45.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) bt ( 1) crash-bt ( 2) test.fastagi.pl ( 3) valgrind | |
Description: | I've seen this crash elsewhere, but the only way I can get it to reproduce all the time is when using fast AGI and an infinite loop. ****** ADDITIONAL INFORMATION ****** -- Accepting AUTHENTICATED call from 192.168.15.1: > requested format = ulaw, > requested prefs = (ulaw|alaw|gsm|g726|ilbc), > actual format = ulaw, > host prefs = (ulaw|alaw|gsm|g726|ilbc), > priority = mine -- Executing [261@trunkhandler_from-branch:1] AGI("IAX2/branch-2064", "agi://127.0.0.1:2000") in new stack -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -- SIP/201-00000000 is ringing -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -demo1*CLI> soft hangup IAX2/branch-2064 Requested Hangup on channel 'IAX2/branch-2064' -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -demo1*CLI> -demo1*CLI> -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -- AGI Script Executing Application: (Dial) Options: (SIP/201) == Using SIP RTP CoS mark 5 -- Called 201*CLI> -demo1*CLI> stop now -demo1*CLI> Disconnected from Asterisk server *crash here* | ||
Comments: | By: Mark Murawski (kobaz) 2010-02-09 12:24:44.000-0600 Uploaded test case fastagi script (test.fastagi.pl) Uploaded all thread backtrace (bt) Uploaded crash backtrace (crash-bt) By: Mark Murawski (kobaz) 2010-02-09 12:48:26.000-0600 Even though this reproduction happens on stop, I've repeatedly seen this crash during operation. By: Mark Murawski (kobaz) 2010-02-09 13:13:40.000-0600 I believe this is a very similar if not the same crash as https://issues.asterisk.org/view.php?id=16375 By: Digium Subversion (svnbot) 2010-02-18 16:45:44.000-0600 Repository: asterisk Revision: 247839 U branches/1.6.0/channels/chan_sip.c ------------------------------------------------------------------------ r247839 | dvossel | 2010-02-18 16:45:42 -0600 (Thu, 18 Feb 2010) | 8 lines fixes dialog ref count crash isolated to the 1.6.0 branch (closes issue ASTERISK-15260) Reported by: kobaz (closes issue ASTERISK-15598) Reported by: kobaz ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=247839 |