You have to upgrade to 4.0.7 as it replaced 4.0.6 in 4.0.x series. It could be that the backtrace will still be relevant.

It is useful to know the parameters for registrar and usrloc modules.

Cheers,
Daniel

On 16/06/15 18:45, Marc Soda wrote:
Unfortunately, the best I can do is this:

Core was generated by `/usr/sbin/kamailio -f /etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fa3e65a5f3b in ?? () from /usr/lib/x86_64-linux-gnu/kamailio/modules/usrloc.so
(gdb) #0  0x00007fa3e65a5f3b in ?? () from /usr/lib/x86_64-linux-gnu/kamailio/modules/usrloc.so
#1  0x00007fa3e659a2b8 in mem_timer_udomain () from /usr/lib/x86_64-linux-gnu/kamailio/modules/usrloc.so
#2  0x00007fa3e658bec6 in synchronize_all_udomains () from /usr/lib/x86_64-linux-gnu/kamailio/modules/usrloc.so
#3  0x00007fa3e65a465a in ?? () from /usr/lib/x86_64-linux-gnu/kamailio/modules/usrloc.so
#4  0x000000000054d517 in ?? ()
#5  0x0000000000552aa2 in slow_timer_main ()
#6  0x000000000047df69 in main_loop ()
#7  0x000000000041bcd1 in main ()

I can't find the proper kamailio-dbg DEB to install for 4.0.6.  Only 4.0.7 is in the repo.

Anyway, I still believe the trouble is with writing to the DB.

Marc

On Tue, Jun 16, 2015 at 12:05 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
On 06/16/2015 12:04 PM, Marc Soda wrote:

Is it normal for Kamailio to segfault

No. :-) Can you provide a GDB backtrace?

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


ntended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com