Summary: | ASTERISK-11244: Asterisk segfaults randomly on INVITE from phone to external number | ||
Reporter: | Arjuna Christensen (fujin) | Labels: | |
Date Opened: | 2008-01-15 20:13:43.000-0600 | Date Closed: | 2008-04-11 16:14:07 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/T.38 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) output.txt | |
Description: | Couldn't work out which category this applies to. Please see attached 'output.txt' as requested by backtrace.txt. Basically, randomly, Asterisk segfaults ;) ****** ADDITIONAL INFORMATION ****** svn info: Path: . URL: http://svn.digium.com/svn/asterisk/branches/1.4 Repository Root: http://svn.digium.com/svn/asterisk Repository UUID: 65c4cc65-6c06-0410-ace0-fbb531ad65f3 Revision: 98933 Node Kind: directory Schedule: normal Last Changed Author: file Last Changed Rev: 98894 Last Changed Date: 2008-01-15 11:41:55 +1300 (Tue, 15 Jan 2008) OS: Linux Ubuntu 7.04 Feisty Fawn | ||
Comments: | By: Arjuna Christensen (fujin) 2008-01-15 20:20:17.000-0600 As per JunK-Y's request: (gdb) p bridgepeer->name $1 = 0xb5a51432 "SIP/716-082cac70<ZOMBIE>" By: Arjuna Christensen (fujin) 2008-01-15 20:47:01.000-0600 Woops, just noticed this: Core was generated by `/usr/sbin/asterisk -g -T'. Program terminated with signal 11, Segmentation fault. #0 0xb5c679ee in handle_request_invite (p=0x826fec0, req=0xb5c20048, debug=0, seqno=107, sin=0xb5c2126c, recount=0xb5c2002c, e=0xb5c2026b "sip:92948929@192.168.108.3", nounlock=0xb5c20030) at chan_sip.c:14062 14062 if (bridgepvt->t38.state == T38_ENABLED) { By: Digium Subversion (svnbot) 2008-04-10 14:50:39 Repository: asterisk Revision: 114045 U branches/1.4/channels/chan_sip.c ------------------------------------------------------------------------ r114045 | mmichelson | 2008-04-10 14:50:32 -0500 (Thu, 10 Apr 2008) | 6 lines Be sure that we're not about to set bridgepvt NULL prior to dereferencing it. (closes issue ASTERISK-11244) Reported by: fujin ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=114045 By: Digium Subversion (svnbot) 2008-04-10 14:53:44 Repository: asterisk Revision: 114046 _U trunk/ U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r114046 | mmichelson | 2008-04-10 14:53:43 -0500 (Thu, 10 Apr 2008) | 14 lines Merged revisions 114045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114045 | mmichelson | 2008-04-10 14:55:33 -0500 (Thu, 10 Apr 2008) | 6 lines Be sure that we're not about to set bridgepvt NULL prior to dereferencing it. (closes issue ASTERISK-11244) Reported by: fujin ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=114046 By: Digium Subversion (svnbot) 2008-04-10 14:54:37 Repository: asterisk Revision: 114047 _U branches/1.6.0/ U branches/1.6.0/channels/chan_sip.c ------------------------------------------------------------------------ r114047 | mmichelson | 2008-04-10 14:54:36 -0500 (Thu, 10 Apr 2008) | 22 lines Merged revisions 114046 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r114046 | mmichelson | 2008-04-10 14:58:36 -0500 (Thu, 10 Apr 2008) | 14 lines Merged revisions 114045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114045 | mmichelson | 2008-04-10 14:55:33 -0500 (Thu, 10 Apr 2008) | 6 lines Be sure that we're not about to set bridgepvt NULL prior to dereferencing it. (closes issue ASTERISK-11244) Reported by: fujin ........ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=114047 By: Digium Subversion (svnbot) 2008-04-11 16:14:07 Repository: asterisk Revision: 114070 _U team/murf/bug11210/ U team/murf/bug11210/CHANGES U team/murf/bug11210/channels/chan_local.c U team/murf/bug11210/channels/chan_sip.c U team/murf/bug11210/contrib/scripts/astcli U team/murf/bug11210/include/asterisk/lock.h U team/murf/bug11210/main/features.c U team/murf/bug11210/main/manager.c U team/murf/bug11210/main/utils.c U team/murf/bug11210/res/res_config_ldap.c U team/murf/bug11210/res/res_phoneprov.c U team/murf/bug11210/utils/Makefile U team/murf/bug11210/utils/ael_main.c U team/murf/bug11210/utils/astman.c U team/murf/bug11210/utils/check_expr.c U team/murf/bug11210/utils/conf2ael.c U team/murf/bug11210/utils/hashtest.c U team/murf/bug11210/utils/hashtest2.c ------------------------------------------------------------------------ r114070 | murf | 2008-04-11 16:14:03 -0500 (Fri, 11 Apr 2008) | 80 lines Merged revisions 114042-114069 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r114042 | tilghman | 2008-04-10 13:04:29 -0600 (Thu, 10 Apr 2008) | 7 lines The hydra grows yet another head... (closes issue ASTERISK-11814) Reported by: davevg Patches: astcli.diff2 uploaded by davevg (license 209) Tested by: davevg, Corydon76 ................ r114046 | mmichelson | 2008-04-10 13:58:36 -0600 (Thu, 10 Apr 2008) | 14 lines Merged revisions 114045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114045 | mmichelson | 2008-04-10 14:55:33 -0500 (Thu, 10 Apr 2008) | 6 lines Be sure that we're not about to set bridgepvt NULL prior to dereferencing it. (closes issue ASTERISK-11244) Reported by: fujin ........ ................ r114049 | file | 2008-04-10 14:28:40 -0600 (Thu, 10 Apr 2008) | 2 lines A 'b' option has been added which causes chan_local to return the actual channel that is behind it when queried. This is useful for transfer scenarios as the actual channel will be transferred, not the Local channel. If you have been using Local channels as queue members and having issues when the agent did a blind transfer this option may solve the issue. ................ r114052 | mmichelson | 2008-04-10 16:02:32 -0600 (Thu, 10 Apr 2008) | 11 lines Merged revisions 114051 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114051 | mmichelson | 2008-04-10 15:59:49 -0500 (Thu, 10 Apr 2008) | 3 lines Fix 1.4 build when LOW_MEMORY is enabled. ........ ................ r114061 | tilghman | 2008-04-11 08:54:22 -0600 (Fri, 11 Apr 2008) | 6 lines Errors are all greater than 0 (closes issue ASTERISK-11831) Reported by: nito Patches: res_config_ldap_result_check_patch.diff uploaded by nito (license 340) ................ r114064 | mmichelson | 2008-04-11 09:49:35 -0600 (Fri, 11 Apr 2008) | 19 lines Merged revisions 114063 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114063 | mmichelson | 2008-04-11 10:44:28 -0500 (Fri, 11 Apr 2008) | 11 lines Fix a race condition that may happen between a sip hangup and a "core show channel" command. This patch adds locking to prevent the resulting crash. (closes issue ASTERISK-11586) Reported by: tsearle Patches: show_channels_crash2.patch uploaded by tsearle (license 373) Tested by: tsearle ........ ................ r114067 | twilson | 2008-04-11 15:04:46 -0600 (Fri, 11 Apr 2008) | 3 lines Fix the fact that global_variables 1) weren't being updated on reload (thanks for the report, Doug), and 2) weren't actually being appended to the list of profile variables because build_profile was called before the list was populated. Also needed to free the contents returned by load_file(). ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=114070 |