[SR-Users] 4.4 crash at start

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 6 18:57:55 CEST 2016


Thanks! Can you try with the patch 1545b8de396e8e5d0ef24c9102beff18b3cf36e5?

Also, check that all listen ip addresses are actually used by kamailio
(they should be printed at startup).

Cheers,
Daniel

On 06/04/16 18:49, Juha Heinanen wrote:
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com




More information about the sr-users mailing list