Summary: | ASTERISK-16977: Segfault in handle_response_invite - chan_sip | ||
Reporter: | Matteo (mpiazzatnetbug) | Labels: | |
Date Opened: | 2010-11-17 16:52:32.000-0600 | Date Closed: | 2011-07-27 12:50:20 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) backtrace.txt ( 1) seg_fault_asterisk_1.4.26.3-handle_response.txt | |
Description: | In one of my asterisk server running 1.4.26.3 I had a crash. As attachment you will find the gdb output of the core file. Program terminated with signal 11, Segmentation fault. #0 0x00002aaaabd86ffe in handle_response_invite (p=0x2aaab127e960, resp=200, rest=0x40459ff4 "Ok", req=0x40459bc0, seqno=103) at chan_sip.c:12691 12691 | ||
Comments: | By: Leif Madsen (lmadsen) 2010-12-06 13:51:25.000-0600 Marked as related to the other issue opened by this reporter as I can't tell if they are related or not. By: Russell Bryant (russell) 2010-12-07 11:06:04.000-0600 Please upgrade to the latest version of 1.4 and let us know if you still have this problem. By: Matteo (mpiazzatnetbug) 2010-12-14 01:38:42.000-0600 Hi, I had the same segfault on another installation, same asterisk version. I understand that 1.4.26 it's not the latestes version but upgrude production machine is not a light step. Unfortunatly I don't understand C code, I'm asking only little help to undestand the bug, maybe the bug is still there also in the latest version. As attachment the backtrace file (backtrace.txt) By: Matteo (mpiazzatnetbug) 2010-12-29 03:22:12.000-0600 Hi, These are the code line involved in the segfault 12659 if (bridgepeer->tech == &sip_tech || bridgepeer->tech == &sip_tech_info) { 12690 bridgepvt = (struct sip_pvt*)(bridgepeer->tech_pvt); 12691 if (bridgepvt->udptl) { from the debug we can see: bridgepvt = (struct sip_pvt *) 0x0 bridgepeer = (struct ast_channel *) 0xa214d0 I not undestand where is the starting point of the issue. I checked the code of 1.4.39-rc1 but for what I can see there is no difference in the code, at least for two/three step before this function into the code. By: Russell Bryant (russell) 2011-07-27 12:50:11.013-0500 Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks! |