Re: [SR-Users] Core Dump from select stmt

2012-04-22 Thread Akan
The fix fixed the problem with the select but I am still getting core dumps. This looks like when an Option request comes in. I have included the back trace from the core files. Thanks Nathaniel On 4/19/2012 10:16 AM, Akan wrote: The fix resolved the problem. Thanks Nathaniel On 4/18/2012

Re: [SR-Users] Core Dump from select stmt

2012-04-19 Thread Akan
The fix resolved the problem. Thanks Nathaniel On 4/18/2012 3:03 AM, Daniel-Constantin Mierla wrote: Hello, On 4/17/12 4:52 AM, Akan wrote: Sorry, I am new to git. What is the git command to add the patch or can I just download all of the updates? you can download now all updates if you ins

Re: [SR-Users] Core Dump from select stmt

2012-04-18 Thread Daniel-Constantin Mierla
Hello, On 4/17/12 4:52 AM, Akan wrote: Sorry, I am new to git. What is the git command to add the patch or can I just download all of the updates? you can download now all updates if you install latest git branch 3.2: * http://www.kamailio.org/wiki/install/3.2.x/git For backporting patches,

Re: [SR-Users] Core Dump from select stmt

2012-04-16 Thread Akan
Sorry, I am new to git. What is the git command to add the patch or can I just download all of the updates? Thanks Nathaniel On 4/16/2012 8:31 AM, Daniel-Constantin Mierla wrote: Hello, the issue was produced inside the debugger module, while printing config trace, according to the worker p

Re: [SR-Users] Core Dump from select stmt

2012-04-16 Thread Daniel-Constantin Mierla
Hello, the issue was produced inside the debugger module, while printing config trace, according to the worker process back trace. Can you try with the patch from following commit: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=40ddcf88df9ef71bba7c182b7a1d76b559645628 If

Re: [SR-Users] Core Dump from select stmt

2012-04-15 Thread Akan
On Solaris they seem to manage core dumps a little differently. Only 3 processes produced core dumps. I have included the text files of the back trace. Thanks Nathaniel On 4/15/2012 5:34 AM, Daniel-Constantin Mierla wrote: Hello, this one seems from the main process during the shut down cle

Re: [SR-Users] Core Dump from select stmt

2012-04-15 Thread Daniel-Constantin Mierla
Hello, this one seems from the main process during the shut down cleanup. Perhaps the core from main process overwritten the one from worker process. Can you enable one core file per process in Solaris? In linux is possible via: echo "1"> /proc/sys/kernel/core_uses_pid Then you have to rep

Re: [SR-Users] Core Dump from select stmt

2012-04-14 Thread Akan
Here is the output from gdb that you requested: Core was generated by `./kamailio'. Program terminated with signal 10, Bus error. #0 0x0001001c9ff0 in cfg_destory_groups () at cfg/cfg_struct.c:306 306 old_string = *(char **)(block + group-

Re: [SR-Users] Core Dump from select stmt

2012-04-14 Thread Daniel-Constantin Mierla
Hello, from the log messages, you got a core dump file. Locate it (should be in / if you haven't specified -w 'path' or solaris does not have a special directory for corefiles) and get the back trace: gdb /path/to/kamailio /path/to/corefile Then inside gdb execute 'bt full' and send the outp

Re: [SR-Users] Core Dump from select stmt

2012-04-14 Thread Reda Aouad
Hi. I don't know what your problem is, but here is a more elegant way to do it. Instead of manually rewriting $ru, try the following function which achieves the same result: rewritehostport("ip:port"); Then route(relay). Reda On 14 avr. 2012, at 02:56, Akan Technology wrote: > hello, > > I

[SR-Users] Core Dump from select stmt

2012-04-13 Thread Akan Technology
hello, I am running kamailio 3.2.2 on Solaris 10 64 bit and I am getting a core dump on this statement: $ru = "sip:" + $rU + "@" + $sel(cfg_get.registrar1.server_ip) + $sel(cfg_get.registrar1.server_port); Here is how the variable is defined: registrar1.se

[SR-Users] Core Dump from select stmt

2012-04-13 Thread Akan Technology
hello, I am running kamailio 3.2.2 on Solaris 10 64 bit and I am getting a core dump on this statement: $ru = "sip:" + $rU + "@" + $sel(cfg_get.registrar1.server_ip) + $sel(cfg_get.registrar1.server_port); Here is how the variable is defined: registrar