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

Re: [SR-Users] Kamailio crashing when accessing db tables

2013-07-23 Thread Fabian Borot
Sorry, disregard, I was not enabling properly the mysql and the permissions modules. > From: fbo...@hotmail.com > To: sr-users@lists.sip-router.org > Subject: Kamailio crashing when accessing db tables > Date: Tue, 23 Jul 2013 13:23:38 -0400 > > Hi, I inst

Re: [SR-Users] Kamailio crashing when accessing db tables

2013-07-23 Thread Daniel-Constantin Mierla
Hello, this sounds rather strange, maybe some db lib is corrupted or not properly linked. The logs below show that the corefile was generated. Can you send the backtrace? Cheers, Daniel On 7/23/13 7:23 PM, Fabian Borot wrote: Hi, I installed the latest version 4.0 on CentOS release 5.9 ,

[SR-Users] Kamailio crashing when accessing db tables

2013-07-23 Thread Fabian Borot
Hi, I installed the latest version 4.0 on CentOS release 5.9 , and when running any fifo command that accesses a module's table (lcr, address etc.) or when a call comes in an there is a need to access a table the app crashes. Example: Jul 23 09:07:55 proxy01 kernel: kamailio[16608]: segfault at

Re: [SR-Users] Kamailio Crashing with excessive Via headers

2013-06-25 Thread Daniel-Constantin Mierla
Hello, can you reproduce it always? If yes, looks like a buffer overflow somewhere -- recompile with MEMDBG=1, like: make cfg MEMDBG=1 ... (add your specific compile config options as well) Then run with core parameters memdbg and memlog having values lower than debug. Get all the log mess

[SR-Users] Kamailio Crashing with excessive Via headers

2013-06-25 Thread Krishna Kurapati
In 4.x, Following message is crashing the Kamailio. MESSAGE sip:50.62.12.174:15060;transport=udp SIP/2.0..Via: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK.defaafa4.0..Via: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK.cefaafa4.0.. Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK.

Re: [SR-Users] Kamailio Crashing

2012-01-30 Thread Ali Jawad
Hi I have been testing with versions throughout the last week and I can confirm that 3.2.0 does not have this issue. Regards On Wed, Jan 25, 2012 at 2:42 PM, Daniel-Constantin Mierla wrote: > Hello, > > there were many fixes in branch 3.1 since 3.1.0 was released, the latest > patch release in

Re: [SR-Users] Kamailio Crashing

2012-01-25 Thread Daniel-Constantin Mierla
Hello, there were many fixes in branch 3.1 since 3.1.0 was released, the latest patch release in that series is 3.1.5. Can you upgrade to it (or to latest git version on branch 3.1) to be sure this is not a bug already fixed? Cheers, Daniel On 1/25/12 10:59 AM, Ali Jawad wrote: Hi The vers

Re: [SR-Users] Kamailio Crashing

2012-01-25 Thread Ali Jawad
Hi The version is 3.1.0 - In more detail [root@Kam-RTP-100-58 ~]# kamailio -V version: kamailio 3.1.0 (i386/linux) flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAP

Re: [SR-Users] Kamailio Crashing

2012-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/24/12 12:57 PM, Ali Jawad wrote: Hi I am running Kamailio and at times it just crashes, sometimes it happens once a day sometimes a few times a day, in debug mode it shows the following when it crashes http://pastebin.com/ZcQRnXmM are you sure this is the right log? The signal

[SR-Users] Kamailio Crashing

2012-01-24 Thread Ali Jawad
Hi I am running Kamailio and at times it just crashes, sometimes it happens once a day sometimes a few times a day, in debug mode it shows the following when it crashes http://pastebin.com/ZcQRnXmM GDB shows http://pastebin.com/02wVK0eZ GDB BT Shows http://pastebin.com/3TBAuQAp Please advice