[SR-Users] 4.4 crash at start
Juha Heinanen
jh at tutpro.com
Wed Apr 6 18:49:33 CEST 2016
Daniel-Constantin Mierla writes:
> Have you reverted only e6dd2c172be3712e8c468cbe7e55ba94d81a7b62, or
> also d7fca53e8c5409849ec044098a143e7254129c00.
I'm not quite sure. I just replaced socket_info.c with the one that is
enclosed.
> >From the core file, can you give the output with gdb for:
>
> p ifa
> p *ifa
> p *ifa->ifa_addr
(gdb) p ifa
$1 = (struct ifaddrs *) 0x12778d8
(gdb) p *ifa
$2 = {ifa_next = 0x1277990, ifa_name = 0x127797c "ppp0", ifa_flags = 69841,
ifa_addr = 0x0, ifa_netmask = 0x0, ifa_ifu = {ifu_broadaddr = 0x0,
ifu_dstaddr = 0x0}, ifa_data = 0x1278064}
(gdb) p *ifa->ifa_addr
Cannot access memory at address 0x0
> Also, are you using listen with interface id (e.g., eth0)? Or is with ip
> only, or no listen parameter?
listen=192.98.102.10:5060
listen=tcp:192.98.102.10:8000
listen=udp:127.0.0.1:5070
listen=tcp:127.0.0.1:5070
listen=udp:127.0.0.1:5070
listen=tcp:127.0.0.1:5070
listen=tcp:127.0.0.1:6060
-- Juha
More information about the sr-users
mailing list