Re: [SR-Users] Core Dump during shutdown on SPARC64

2016-01-31 Thread Spencer Thomason
Hi Daniel, I was able to prevent the bus error by reverting part of commit 1b366aa1c6c37e2320da10fb68f0370199333f5d as below: diff --git a/cfg/cfg_struct.c b/cfg/cfg_struct.c index 8bfe429..519c6a9 100644 --- a/cfg/cfg_struct.c +++ b/cfg/cfg_struct.c @@ -295,8 +295,7 @@ static void cfg_destory_gr

Re: [SR-Users] Core Dump during shutdown on SPARC64

2016-01-14 Thread Spencer Thomason
Hi Daniel, I haven’t yet but I will try to test shortly. Here is the value of the block variable: (gdb) p /s block $1 = (unsigned char *) 0x76e5ded4 “" Thanks, Spencer On Jan 13, 2016, at 11:07 PM, Daniel-Constantin Mierla mailto:mico...@gmail.com>> wrote: Hello, hmm, they are multip

Re: [SR-Users] Core Dump during shutdown on SPARC64

2016-01-13 Thread Daniel-Constantin Mierla
Hello, hmm, they are multiple of 8, so they should be aligned to 64bits. Or maybe the 'block' variable value is not aligned to 8bytes ... Have you done any sip traffic via this kamailio instance. Is all ok at runtime? Cheers, Daniel On 14/01/16 08:01, Spencer Thomason wrote: > Hi Daniel, > See

Re: [SR-Users] Core Dump during shutdown on SPARC64

2016-01-13 Thread Spencer Thomason
Hi Daniel, See below: (gdb) p group->var_offset $1 = 64 (gdb) p mapping[i].offset $2 = 56 Thanks! Spencer > On Jan 13, 2016, at 10:18 PM, Daniel-Constantin Mierla > wrote: > > Hello, > > can you get the values for group->var_offset and mapping[i].offset in > frame 0? > > Cheers, > Daniel >

Re: [SR-Users] Core Dump during shutdown on SPARC64

2016-01-13 Thread Daniel-Constantin Mierla
Hello, can you get the values for group->var_offset and mapping[i].offset in frame 0? Cheers, Daniel On 14/01/16 05:41, Spencer Thomason wrote: > Hello, > I’m trying to get Kamailio running on Solaris 11 SPARC64 and I’m receiving a > bus error on shutdown. If needed, we can make SPARC hardwar

[SR-Users] Core Dump during shutdown on SPARC64

2016-01-13 Thread Spencer Thomason
Hello, I’m trying to get Kamailio running on Solaris 11 SPARC64 and I’m receiving a bus error on shutdown. If needed, we can make SPARC hardware available for testing. Thanks, Spencer Core was generated by `/opt/kamailio/sbin/kamailio -f /opt/kamailio/etc/kamailio/kamailio.cfg -P /syst'. Pr

Re: [SR-Users] Core dump while saving user location in mongo

2015-01-30 Thread Mickael Marrache
l Marrache Cc: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Core dump while saving user location in mongo Hello, I pushed a patch that takes care of initializing the columns array of the result - it is in the master branch for now. However, the log messages don't seem

Re: [SR-Users] Core dump while saving user location in mongo

2015-01-29 Thread Daniel-Constantin Mierla
on (h=0x7fff25b774c0, a=0x7f83a328d418, > msg=0x7f83a33083e0) at action.c:712 > > #23 0x00429a7a in run_actions (h=0x7fff25b774c0, a=0x7f83a328d418, > msg=0x7f83a33083e0) at action.c:1583 > > #24 0x0041d2cd in do_action (h=0x7fff25b774c0, a=0x7f83a328d658, > msg=0x

Re: [SR-Users] Core dump while saving user location in mongo

2015-01-29 Thread Mickael Marrache
13, argv=0x7fff25b77bc8) at main.c:2561 I can try to reproduce the issue with the REGISTER if you need. Mickael From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, January 29, 2015 12:26 PM To: Kamailio (SER) - Users Mailing

Re: [SR-Users] Core dump while saving user location in mongo

2015-01-29 Thread Mickael Marrache
rval", 60) Yes, I use DB_ONLY (3) mode. Mickael From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, January 29, 2015 12:23 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Core dump while saving user

Re: [SR-Users] Core dump while saving user location in mongo

2015-01-29 Thread Daniel-Constantin Mierla
Also, give the error messages from syslog file. Cheers, Daniel On 29/01/15 11:23, Daniel-Constantin Mierla wrote: > Hello, > > can you give the parameters for usrloc module? Are you using DB_ONLY mode? > > Cheers, > Daniel > > On 29/01/15 08:55, Mickael Marrache wrote: >> >> Hi, >> >> >> >> Whe

Re: [SR-Users] Core dump while saving user location in mongo

2015-01-29 Thread Daniel-Constantin Mierla
Hello, can you give the parameters for usrloc module? Are you using DB_ONLY mode? Cheers, Daniel On 29/01/15 08:55, Mickael Marrache wrote: > > Hi, > > > > When my proxy receives a REGISTER request, it crashes while saving the > user location in MongoDB. > > > > This is the backtrace from th

[SR-Users] Core dump while saving user location in mongo

2015-01-28 Thread Mickael Marrache
Hi, When my proxy receives a REGISTER request, it crashes while saving the user location in MongoDB. This is the backtrace from the core dump: #0 0x003f08e32625 in raise () from /lib64/libc.so.6 #1 0x003f08e33e05 in abort () from /lib64/libc.so.6 #2 0x006196f9 in fm

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

Re: [SR-Users] core dump

2011-05-12 Thread Dominguez Jover, Ricardo
router.org [mailto:sr-users-boun...@lists.sip-router.org] En nombre de Klaus Darilion Enviado el: miércoles, 11 de mayo de 2011 11:40 Para: sr-users@lists.sip-router.org Asunto: Re: [SR-Users] core dump IIRC there were some changes in recent kernels which needs some more tweaking (there was a commit f

Re: [SR-Users] core dump

2011-05-11 Thread Hervé Cochet
s.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] En nombre de Hervé Cochet Enviado el: miércoles, 11 de mayo de 2011 11:20 Para: sr-users@lists.sip-router.org Asunto: Re: [SR-Users] core dump Hi, I also have the same problem with kamailio 3.1 I made a modification to the file daemon

Re: [SR-Users] core dump

2011-05-11 Thread Klaus Darilion
IIRC there were some changes in recent kernels which needs some more tweaking (there was a commit from Daniel, but I can't remember the details) regards Klaus Am 11.05.2011 10:28, schrieb Dominguez Jover, Ricardo: > Hi everybody, > > We are having an uncontrolled crash in Kamailio 3.1: > > May

Re: [SR-Users] core dump

2011-05-11 Thread Dominguez Jover, Ricardo
yo de 2011 11:20 Para: sr-users@lists.sip-router.org Asunto: Re: [SR-Users] core dump Hi, I also have the same problem with kamailio 3.1 I made a modification to the file daemonize.c because if lim.rlim_cur is set to -1 the test with size parameter at line 491 do not work because rlimit parameter

Re: [SR-Users] core dump

2011-05-11 Thread Hervé Cochet
Hi, I also have the same problem with kamailio 3.1 I made a modification to the file daemonize.c because if lim.rlim_cur is set to -1 the test with size parameter at line 491 do not work because rlimit parameters are unsigned int. --- kamailio-3.1.0/daemonize.c.ori    2011-04-12 12:24:14.000

[SR-Users] core dump

2011-05-11 Thread Dominguez Jover, Ricardo
Hi everybody, We are having an uncontrolled crash in Kamailio 3.1: May 10 20:34:51 tip1 /usr/local/kamailio-3.1/sbin/kamailio[23366]: : [pass_fd.c:293]: ERROR: receive_fd: EOF on 39 May 10 20:34:51 tip1 /usr/local/kamailio-3.1/sbin/kamailio[23327]: ALERT: [main.c:741]: child process 23364 exi