(gdb) bt #0 0x00e73c50 in WriteMemoryCallback (ptr=0x86a0e7c, size=1, nmemb=32, data=0x869f2b0) at func_curl.c:329 #1 0x00985c54 in Curl_client_write () from /usr/lib/libcurl.so.3 #2 0x0099ca2b in Curl_httpchunk_read () from /usr/lib/libcurl.so.3 #3 0x0099aabc in Curl_readwrite () from /usr/lib/libcurl.so.3 #4 0x0099bbbe in Curl_perform () from /usr/lib/libcurl.so.3 #5 0x0099bfc9 in curl_easy_perform () from /usr/lib/libcurl.so.3 #6 0x00e74058 in acf_curl_exec (chan=0x869e928, cmd=0xb7621bb0 "CURL", info=0xb7621bb5 "http://192.168.175.97/nascar/test.pl", buf=0xb7621c60 "", len=4096) at func_curl.c:415 #7 0x080eae64 in ast_func_read (chan=0x869e928, function=0xb7622c70 "CURL(http://192.168.175.97/nascar/test.pl)", workspace=0xb7621c60 "", len=4096) at pbx.c:2841 #8 0x080eb395 in pbx_substitute_variables_helper_full (c=0x869e928, headp=0x869ea3c, cp1=0x8591c78 "foo=${CURL(http://192.168.175.97/nascar/test.pl)}", cp2=0xb7625eac "", count=8187) at pbx.c:2975 #9 0x080eb909 in pbx_substitute_variables_helper (c=0x869e928, cp1=0x8591c78 "foo=${CURL(http://192.168.175.97/nascar/test.pl)}", cp2=0xb7625ea8 "foo=", count=8191) at pbx.c:3067 #10 0x080eb9e2 in pbx_substitute_variables (passdata=0xb7625ea8 "foo=", datalen=8192, c=0x869e928, e=0x8591cb0) at pbx.c:3089 #11 0x080ebc0a in pbx_extension_helper (c=0x869e928, con=0x0, context=0x869eb92 "default", exten=0x869ebe2 "77", priority=4, label=0x0, callerid=0x868f1c8 "1223", action=E_SPAWN, found=0xb76282fc, combined_find_spawn=1) at pbx.c:3151 #12 0x080ed15d in ast_spawn_extension (c=0x869e928, context=0x869eb92 "default", exten=0x869ebe2 "77", priority=4, callerid=0x868f1c8 "1223", found=0xb76282fc, combined_find_spawn=1) at pbx.c:3608 #13 0x080ed7ef in __ast_pbx_run (c=0x869e928) at pbx.c:3696 #14 0x080eeced in pbx_thread (data=0x869e928) at pbx.c:3974 #15 0x0813c14a in dummy_start (data=0x869f2e8) at utils.c:1024 #16 0x0084e45b in start_thread () from /lib/libpthread.so.0 #17 0x007a624e in clone () from /lib/libc.so.6