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