[asterisk-bugs] [Asterisk 0016309]: segfault in "core show functions"

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 17 13:47:47 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16309 
====================================================================== 
Reported By:                asgaroth
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   16309
Category:                   Functions/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-23 06:23 CST
Last Modified:              2010-01-17 13:47 CST
====================================================================== 
Summary:                    segfault in "core show functions"
Description: 
Whenever I perform a "core show functions" in the asterisk CLI, asterisk
crashes with a segfault, see below:

*CLI> core show functions
Installed Custom Functions:
--------------------------------------------------------------------------------
AGENT                 AGENT(<agentid>[:item])              Gets
information about an Agent
ARRAY                 ARRAY(var1[,var2[...][,varN]])       Allows setting
multiple variables at once
AUDIOHOOK_INHERIT     AUDIOHOOK_INHERIT(source)            Set whether an
audiohook may be inherited to another channel
BASE64_DECODE         BASE64_DECODE(<base64_string>)       Decode a base64
string
BASE64_ENCODE         BASE64_ENCODE(<string>)              Encode a string
in base64
BLACKLIST             BLACKLIST()                          Check if the
callerid is on the blacklist
CALLERID              CALLERID(datatype[,<optional-CID>])  Gets or sets
Caller*ID data on the channel.
CALLERPRES            CALLERPRES()                         Gets or sets
Caller*ID presentation on the channel.
CDR                   CDR(<name>[,options])                Gets or sets a
CDR variable
CHANNEL               CHANNEL(item)                        Gets/sets
various pieces of information about the channel.
CHECKSIPDOMAIN        CHECKSIPDOMAIN(<domain|IP>)          Checks if
domain is a local domain
Segmentation Fault - core dumped
====================================================================== 

---------------------------------------------------------------------- 
 (0116791) svnbot (reporter) - 2010-01-17 13:47
 https://issues.asterisk.org/view.php?id=16309#c116791 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 240719

_U  branches/1.6.1/
U   branches/1.6.1/main/pbx.c

------------------------------------------------------------------------
r240719 | seanbright | 2010-01-17 13:47:46 -0600 (Sun, 17 Jan 2010) | 12
lines

Merged revisions 240717 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240717 | seanbright | 2010-01-17 14:45:48 -0500 (Sun, 17 Jan 2010) | 5
lines
  
  Avoid a crash on Solaris when running 'core show functions.'
  
  (closes issue https://issues.asterisk.org/view.php?id=16309)
  Reported by: asgaroth
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=240719 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-17 13:47 svnbot         Checkin                                      
2010-01-17 13:47 svnbot         Note Added: 0116791                          
======================================================================




More information about the asterisk-bugs mailing list