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

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


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16309 
====================================================================== 
Reported By:                asgaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16309
Category:                   Functions/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
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:              
====================================================================== 
Date Submitted:             2009-11-23 06:23 CST
Last Modified:              2010-01-17 13:45 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
====================================================================== 

---------------------------------------------------------------------- 
 (0116789) svnbot (reporter) - 2010-01-17 13:45
 https://issues.asterisk.org/view.php?id=16309#c116789 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 240717

U   trunk/main/pbx.c

------------------------------------------------------------------------
r240717 | seanbright | 2010-01-17 13:45:49 -0600 (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=240717 

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




More information about the asterisk-bugs mailing list