[Home]

Summary:ASTERISK-10622: Using func_curl in the [globals] section causes a segfault
Reporter:jmls (jmls)Labels:
Date Opened:2007-10-26 06:36:03Date Closed:2007-10-26 08:59:14
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Functions/func_curl
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 11090.txt
Description:I was wanting to use some data from a web service to set a global variable. If I use func_curl in the [globals] section, asterisk segfaults.

If you don't have func_curl preloaded, then asterisk will start, as func_curl is not initially registered. However, any subsequent "extensions reload" will cause the segfault.

****** ADDITIONAL INFORMATION ******

bt full attached
Comments:By: Digium Subversion (svnbot) 2007-10-26 08:52:56

Repository: asterisk
Revision: 87120

U   branches/1.4/funcs/func_curl.c

------------------------------------------------------------------------
r87120 | tilghman | 2007-10-26 08:52:55 -0500 (Fri, 26 Oct 2007) | 7 lines

The addition of autoservice to func_curl additionally made func_curl dependent
on the existence of a channel, with no real reason.  This should make func_curl
once again work without a channel.
Reported by jmls.
Fixed by tilghman.
Closes issue ASTERISK-10622

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

By: Digium Subversion (svnbot) 2007-10-26 08:59:14

Repository: asterisk
Revision: 87121

_U  trunk/
U   trunk/funcs/func_curl.c

------------------------------------------------------------------------
r87121 | tilghman | 2007-10-26 08:59:13 -0500 (Fri, 26 Oct 2007) | 15 lines

Merged revisions 87120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87120 | tilghman | 2007-10-26 08:54:30 -0500 (Fri, 26 Oct 2007) | 7 lines

The addition of autoservice to func_curl additionally made func_curl dependent
on the existence of a channel, with no real reason.  This should make func_curl
once again work without a channel.
Reported by jmls.
Fixed by tilghman.
Closes issue ASTERISK-10622

........

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