Re: [SR-Users] Kamailio crashing after comparing AVP with string

2016-01-07 Thread Jurijs Ivolga
Hi all! To follow-up on this issue, I created sample config file which is killing Kamailio. :) Please find in attachment kamailio config and dispatcher config file. To crash kamailio dispatcher list file should contain at least 2 records and all destinations(It looks like it is enough even if 1

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Daniel-Constantin Mierla
Hello, you haven't executed 'bt full' in the gdb. Can you do it and send again the output? The issue seems related to forcing the socket, not avp related. So the output of bt full will help to track the origin of the issue. Cheers, Daniel On 17/12/15 09:41, Jurijs Ivolga wrote: > Hi, > > I have

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Jurijs Ivolga
Hi Daniel, Please find attached backtrace. I believe something is wrong with attributes, when I'm using text file for dispatcher list. When there is nothing in attributes, everything work fine. Please let me know if you need anything else. Thank you! 2015-12-17 12:25 GMT+02:00 Jurijs Ivolga :

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Jurijs Ivolga
Hi, Just quick question, before sending some more debug info. I just figured out that issue is related to dispatcher list, I'm using text file. Following dispatcher list do not work: 1 sip:1.1.1.1;transport=udp 0 0 bla 1 sip:2.2.2.2;transport=udp 0 0 blabla But if I use below one, it works with

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Daniel-Constantin Mierla
Hello, reproduce the case with 'ulimit -c unlimited' executed in the terminal before starting kamailio. You should get a corefile and then get the output of 'bt full' in the gdb (gdb /path/to/kamailio /path/to/corefile). Send the output here to investigate it. Cheers, Daniel On 17/12/15 09:41, J

[SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Jurijs Ivolga
Hi, I have weird behavior, when I'm trying to compare AVP with string: if ($avp(AVP_ATTRS) != "bla") { ds_next_dst(); } $avp(AVP_ATTRS) contains Dispatcher attribute. Kamailio crashes: Dec 17 03:39:30 /usr/local/sbin/kamailio[4844]: CRITICAL: [pass_fd.c:275]: receive_f