16 0x4bb4a12e in clone () from /lib/libc.so.6
(gdb) bt full
#0 0x08080087 in ast_check_hangup (chan=0x0) at channel.c:315
No locals.
#1 0x08076a45 in ast_autoservice_stop (chan=0x0) at autoservice.c:140
__list_next = (struct asent *) 0x0
__list_prev = (struct asent *) 0x0
__new_prev = (struct asent *) 0x0
res = -1
as = (struct asent *) 0x9b61ec0
#2 0x001f98c9 in shell_helper (chan=0x0, cmd=0xb7888a00 "SHELL", data=0xb7888a06 "echo \"foo_bar\"", buf=0xb7888aa0 "foo_bar\n", len=4096) at func_shell.c:65
__PRETTY_FUNCTION__ = "shell_helper"
#3 0x080c9486 in ast_func_read (chan=0x0, function=0xb7889ab0 "SHELL(echo \"foo_bar\")", workspace=0xb7888aa0 "foo_bar\n", len=4096) at pbx.c:1586
res = 0
u = (struct ast_module_user *) 0x9b61438
copy = 0xb7888a00 "SHELL"
args = 0xb7888a06 "echo \"foo_bar\""
acfptr = (struct ast_custom_function *) 0x1fa180
__PRETTY_FUNCTION__ = "ast_func_read"
#4 0x080c99c4 in pbx_substitute_variables_helper_full (c=0x0, headp=0x0, cp1=0x9b62d26 "${SHELL(echo \"foo_bar\")}", cp2=0xb788acf0 "", count=255) at pbx.c:1718
cp4 = 0x815e0e9 "VarSet"
tmp = 0x9b62d26 "${SHELL(echo \"foo_bar\")}"
whereweare = 0x9b62d3e ""
length = 135651475
offset = 0
offset2 = 2147483647
isfunction = 1
workspace = 0xb7888aa0 "foo_bar\n"
ltmp = 0x0
var = 0xb7889ab0 "SHELL(echo \"foo_bar\")"
nextvar = 0x9b62d26 "${SHELL(echo \"foo_bar\")}"
nextexp = 0x0
nextthing = 0x9b62d26 "${SHELL(echo \"foo_bar\")}"
vars = 0xb7889ab0 "SHELL(echo \"foo_bar\")"
vare = 0x9b62d3e ""
pos = 0
brackets = 0
needsub = 0
len = 21
__PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full"
#5 0x080c9f4c in pbx_substitute_variables_helper (c=0x0, cp1=0x9b62d26 "${SHELL(echo \"foo_bar\")}", cp2=0xb788acf0 "", count=255) at pbx.c:1810
No locals.
#6 0x008821c5 in pbx_load_config (config_file=0x883600 "extensions.conf") at pbx_config.c:1353
cfg = (struct ast_config *) 0x9b61f70
end = 0x2
label = 0xb788ae28 "\002"
realvalue = '\0'
lastpri = -2
con = (struct ast_context *) 0x0
v = (struct ast_variable *) 0x9b62cf0
cxt = 0x0
aft = 0x0
config_flags = {flags = 0}
__PRETTY_FUNCTION__ = "pbx_load_config"
#7 0x00883423 in pbx_load_module () at pbx_config.c:1583
con = (struct ast_context *) 0x9b626a0
#8 0x00883525 in reload () at pbx_config.c:1614
No locals.
#9 0x080b75ef in ast_module_reload (name=0x0) at loader.c:587
info = (const struct ast_module_info *) 0x885e60
cur = (struct ast_module *) 0x9b0be30
res = 2
i = 7
#10 0x0808e314 in handle_reload (e=0x8170b60, cmd=-4, a=0xb788af90) at cli.c:211
x = 1588
#11 0x0808e3f7 in handle_reload_deprecated (e=0x8170b60, cmd=-4, a=0xb788af90) at cli.c:231
s = 0x0
#12 0x08093274 in ast_cli_command (fd=22, s=0xb788b10c "reload") at cli.c:1837
a = {fd = 22, argc = 1, argv = 0xb788afb4, line = 0x0, word = 0x0, pos = 0, n = 0}
retval = 0xb788b358 "\210\221\020\b@\027\b"
args = {0x8170b60 "x\t", 0x9b60bd0 "reload", 0x0, 0x9b60bda "gl\021", 0x0, 0x9b60be9 "", 0x0, 0xb788b10c "reload", 0xb788b139 "east 0", 0xb788b30b "",
0xb788b10c "reload", 0xb788b30b "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20504d53 , 0x20000000 ,
0x0, 0x31203931 , 0x30303a35 , 0x2036333a ,
0x20544445 , 0x0, 0x0, 0x0, 0xffffffff , 0x0, 0x0, 0x0, 0x0,
0x36690000 , 0x3638 , 0x0, 0x0, 0x0, 0x0, 0x4bbb5940 "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x28000000 , 0x656e6f6e , 0x29 , 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0xb788b0c8 "X\210r\006\b\026", 0x4bc57c94 "X=\001s\001T\201R\203", 0x4bb56ae9 "\201\v\005", 0x1 ,
0xb788b0c8 "X\210r\006\b\026"}
e = (struct ast_cli_entry *) 0x8170b60
x = 1
res = 0
dup = 0x9b60bd0 "reload"
#13 0x0806d672 in netconsole (vconsole=0x817f940) at asterisk.c:912
con = (struct console *) 0x817f940
hostname = "localhost.localdomain", '\0'
tmp = "reload\000\000w globals\000\000connection\n\000 set debug atleast 0", '\0' , "q0K", '\0' , "\020\000\000\000(qK", '\0' , "\220\016K\f\000\000\000a'\000\000\000\000\000_K qK\f\000\000\000\210\235JK qK\f\000\000\000\020\000\000\000)\000\000\017\t\f\000\000\000K\000\000\000\000\220\210(\210\001\020\b\001\000\000\000\f", '\0'
res = 7
fds = {{fd = 22, events = 1, revents = 1}, {fd = 23, events = 1, revents = 0}}
__PRETTY_FUNCTION__ = "netconsole"
#14 0x0810e391 in dummy_start (data=0x9b60b78) at utils.c:807
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {1271267316, 0, -1215775856, -1215777848, 1017038017, -2096720704}, __mask_was_saved = 0}}, __pad = {
0xb788b480, 0x0, 0x0, 0x0}}
__cancel_routine = (void (*)(void *)) 0x806b95d
__cancel_arg = (void *) 0xb788bb90
not_first_call = 0
ret = (void *) 0x0
a = {start_routine = 0x806d4bb , data = 0x817f940, name = 0x9b60b88 "netconsole", ' ' , "started at [ 974] asterisk.c listener()"}
#15 0x4bc512db in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#16 0x4bb4a12e in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) quit