rendered paste body#0 0xb7edd8dc in inet_aton () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7edd8dc in inet_aton () from /lib/tls/libc.so.6
#1 0x080a0c6e in ast_get_ip_or_srv (sin=0xb7cfa064, value=0x0,
service=0xb7f2ae80 "\210\035\023") at acl.c:209
#2 0x080a124d in ast_get_ip (sin=0x0, value=0x0) at acl.c:230
#3 0xb794aec1 in peer_set_srcaddr (peer=0x8152fa8,
srcaddr=0x8150e6e "10.255.40.41") at chan_iax2.c:7879
#4 0xb793bd79 in build_peer (name=0x8150c70 "astpbx-pstn", v=0x8150e40,
temponly=0) at chan_iax2.c:8026
#5 0xb794b5f4 in set_config (config_file=0xb795c7a4 "iax.conf", reload=0)
at chan_iax2.c:8579
#6 0xb793d633 in load_module () at chan_iax2.c:9363
#7 0x0805b8a3 in __load_resource (resource_name=0x813a54f "chan_iax2.so",
cfg=0x21) at loader.c:402
#8 0x0805b07b in load_modules (preload_only=-1073743472) at loader.c:542
#9 0x080b14bf in main (argc=-1073743008, argv=0xbffffd64) at asterisk.c:2106
(gdb) bt full
#0 0xb7edd8dc in inet_aton () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x080a0c6e in ast_get_ip_or_srv (sin=0xb7cfa064, value=0x0,
service=0xb7f2ae80 "\210\035\023") at acl.c:209
hp = (struct hostent *) 0x0
ahp = {hp = {h_name = 0x0, h_aliases = 0x0, h_addrtype = 0,
h_length = 135597471, h_addr_list = 0x1},
buf = "\000\000\000\000\200®ò·\237\r\025\b\000\000\000\000¸ñÿ¿\"Ùí·\237\r\025\b¤ñÿ¿\n\000\000\000\000\000\000\000¨ñÿ¿\200 Ï·d Ï·\000\000\000\000\001\000\000\000\003\000\000\000 \r\025\b\nÿ(\000\225\r\025\b 2\025\b\2302\025\bp\r\025\bi6\f\b\225\r\025\b 2\025\bo9â·\017½ñ·\230÷ÿ¿D¸æ·\200®ò·Põÿ¿!\000\000\000ðñÿ¿\002\000\000\000\002\000\000\000lóÿ¿ÏVé·-õÿ¿Zóÿ¿\002\000\000\000\200®ò\000o9â·\017½ñ·<\033ÿ·gUý·TZ\000\000\000\000\000\000\200®ò·\020öÿ\000hõ\021\b"...}
srv = "ÊUæ·\200®ò·\000>ò·À:ò·\210ðÿ¿\200®ò·\000>ò·À:ò·\210ðÿ¿(\234å·\000>ò·\000>ò·\000\000\000\000\000>ò· ðÿ¿Ø4\v\b\000>ò·\000>ò· 0\021\b¤À\017\b\033[1;30;40m -- \033[0;37;40m\000@¸ò·\200®ò·@¸ò·\001\000\000\000èðÿ¿C¬æ·@¸ò·'\000\000\000\200®ò·'\000\000\000 0\021\b\bñÿ¿A[â·P4\025\b 0\021\b'\000\000\000\200\000\000\000\bñÿ¿`\212ý·¸ñÿ¿\235r\005\b\200²\020\bæ\220\016\b"...
host = "ßÿÿÿ", '\0' <repeats 12 times>, "\034½ñ·\000:ò·", '\0' <repeats 12 times>, "\200®ò·pñ33»>\020\b\200®ò·\234«ñ·!\000\000\000\bñÿ¿kZé·Gñÿ¿!\000\000\000\234«ñ·pñÿ¿\000\000\000\000iÓí·Øïÿ¿\2129ì·;\000\000\000ï^æ·\001\000\000\000\000\200þ·;\000\000\000P\000\000\000«r\017\b\000>ò·;\000\000\000üïÿ¿^Pæ·\000>ò·\000\200þ·;\000\000\000\033\000\000\000\200®ò·;\000\000\000Æ0\021\b\024ðÿ¿öOæ·\000---Type <return> to continue, or q <return> to quit---
>ò·\000\200þ·;\000\000\000\000>ò·4ðÿ¿)Uæ·"...
tportno = 53175
#2 0x080a124d in ast_get_ip (sin=0x0, value=0x0) at acl.c:230
No locals.
#3 0xb794aec1 in peer_set_srcaddr (peer=0x8152fa8,
srcaddr=0x8150e6e "10.255.40.41") at chan_iax2.c:7879
sin = {sin_family = 41088, sin_port = 47055, sin_addr = {
s_addr = 4294967256}, sin_zero = "Ö-ç·\006\016\025\b"}
nonlocal = 1
port = 4569
sockfd = 15
tmp = 0x0
#4 0xb793bd79 in build_peer (name=0x8150c70 "astpbx-pstn", v=0x8150e40,
temponly=0) at chan_iax2.c:8026
peer = (struct iax2_peer *) 0x8152fa8
prev = (struct iax2_peer *) 0x8150e60
oldha = (struct ast_ha *) 0x0
maskfound = 0
found = 0
#5 0xb794b5f4 in set_config (config_file=0xb795c7a4 "iax.conf", reload=0)
at chan_iax2.c:8579
cfg = (struct ast_config *) 0x8150780
capability = 2097151
---Type <return> to continue, or q <return> to quit---
v = (struct ast_variable *) 0x8150780
cat = 0x8150c70 "astpbx-pstn"
utype = 0x8150cfd "peer"
format = 135595808
portno = 4569
x = -1214898396
user = (struct iax2_user *) 0x0
peer = (struct iax2_peer *) 0x0
ns = (struct ast_netsock *) 0x0
#6 0xb793d633 in load_module () at chan_iax2.c:9363
config = 0x0
res = -1214903264
x = -1214920266
reg = (struct iax2_registry *) 0xb795c9b6
peer = (struct iax2_peer *) 0xb795c9b6
ns = (struct ast_netsock *) 0xb795c9b6
sin = {sin_family = 2, sin_port = 55569, sin_addr = {s_addr = 0},
sin_zero = "¹Jâ·\220Eò·"}
attr = {__mutexkind = 1}
#7 0x0805b8a3 in __load_resource (resource_name=0x813a54f "chan_iax2.so",
cfg=0x21) at loader.c:402
fn = "/usr/lib/asterisk/modules/chan_iax2.so\000\000tdata.so", '\0' <repeats 207 times>
---Type <return> to continue, or q <return> to quit---
errors = 0
res = 0
m = (struct module *) 0x814ec60
flags = -1073743632
val = 0x0
key = 0xbffff8f0 "\033[33;40mInter Asterisk eXchange (Ver 2)\033[0;37;40m"
tmp = "\033[33;40mInter Asterisk eXchange (Ver 2)\033[0;37;40m\000æ·i\000\000\000\005\000\000\000Ø\000\000\000\001\000\000\000\200®ò·\000>ò·À:ò·"
#8 0x0805b07b in load_modules (preload_only=-1073743472) at loader.c:542
mods = (DIR *) 0x813a380
d = (struct dirent *) 0xbffff990
x = 1
cfg = (struct ast_config *) 0x81288a8
v = (struct ast_variable *) 0x81288a8
tmp = "\033[1;37;40mchan_iax2.so\033[0;37;40m\000\0000;37;40m\000¿T\005\000\000\024Í\020\b\037\000\000\000Øüÿ¿\200\230\b\b\024Í\020\b\220v\b\bà/\017\b 0\017\b"
#9 0x080b14bf in main (argc=-1073743008, argv=0xbffffd64) at asterisk.c:2106
pw = (struct passwd *) 0x1
c = 0
filename = "/root/.asterisk_history", '\0' <repeats 56 times>
hostname = "astpbx-woodbay.priv.woodbay.scrd.ca", '\0' <repeats 28 times---Type <return> to continue, or q <return> to quit---
>
tmp = "D¸æ·\000\220þ·0üÿ¿\000\000\000\000@¼ò·\210¸ò·@¸ò·\000\000\000\000 õ\021\b\005\000\000\000 \000\000\000@¸ò·\200®ò·@¸ò·\001\000\000\000Hüÿ¿\224³æ·@¸ò·\033\000\000\000ä\207ý·"
xarg = 0x0
x = -28
f = (FILE *) 0x1
sigs = {__val = {134238211, 0 <repeats 31 times>}}
num = 0
buf = 0x1 <Address 0x1 out of bounds>
runuser = 0x0
rungroup = 0x861 <Address 0x861 out of bounds>
(gdb)