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] kamctl ps in 1.5.0 equivallent in 3.1.2

2012-04-14 Thread Daniel-Constantin Mierla
Hello, it should be there, do you have kex module loaded? Can you look at the output of: 'kamctl fifo which' There is also an alternative, via sercmd tool -- start sercmd and then you have ps command or just run 'sercmd ps'. But again, the command should be in kamctl as well. Cheers, Dani

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