Hi Achintha,

If you are using usrloc with DB persistence and you reloaded / restarted your OpenSIPS, this is a known issue (ticket #1094 [1]). The logs look almost identical - let me know if this is not the case, and we'll take a better look at it.

Regards,

[1]: https://github.com/OpenSIPS/opensips/issues/1094

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 21.04.2017 14:03, Achintha wrote:
hi all,

i configured opensips 2.3 beta on centos 7
then i configured mid-registrar module and freeswitch server as main registrar.

first user registered properly but opensips is crashed when second user registration with following console-log

--------
Apr 21 08:29:41 [17198] DBG:core:udp_read_req: probing packet received len = 4 Apr 21 08:30:11 [17198] DBG:core:udp_read_req: probing packet received len = 4 Apr 21 08:30:32 [17204] DBG:usrloc:run_ul_callbacks: contact=0x7f84670f1448, callback type 8/13, id 0 entered Apr 21 08:30:32 [17204] DBG:mid_registrar:mid_reg_ct_event: Contact callback (8): contact='sip:agent6@124.43.84.213:33483;rinstance=99a97045756effbc' | param=(0x7f84670f1578 -> (nil)) | data[0]=((nil))
Apr 21 08:30:32 [17191] DBG:core:handle_sigs: status = 139
Apr 21 08:30:32 [17191] INFO:core:handle_sigs: child process 17204 exited by a signal 11
Apr 21 08:30:32 [17191] INFO:core:handle_sigs: core was generated
Apr 21 08:30:32 [17191] INFO:core:handle_sigs: terminating due to SIGCHLD
Apr 21 08:30:32 [17203] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17202] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17201] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17200] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17199] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17198] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17197] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17196] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17195] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17194] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17193] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17192] INFO:core:sig_usr: signal 15 received
Apr 21 08:30:32 [17191] INFO:core:cleanup: cleanup
Apr 21 08:30:32 [17191] NOTICE:event_route:destroy: destroy module ...
Apr 21 08:30:32 [17191] DBG:core:pool_remove: connection still kept in the pool Apr 21 08:30:32 [17191] DBG:usrloc:run_ul_callbacks: contact=0x7f84670f1448, callback type 8/13, id 0 entered Apr 21 08:30:32 [17191] DBG:mid_registrar:mid_reg_ct_event: Contact callback (8): contact='sip:agent6@124.43.84.213:33483;rinstance=99a97045756effbc' | param=(0x7f84670f1578 -> (nil)) | data[0]=((nil))

--------

then i open core.dump file as follows


gdb /core.13220


GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
[New LWP 13220]
Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/lib/debug/usr/sbin/opensips.debug...done.
done.
Missing separate debuginfo for
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/a5/a5fdc4da1088f91746c38a0fc43583eb415ee1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `opensips'.
Program terminated with signal 11, Segmentation fault.
#0 crcitt_string_array (dst=dst@entry=0x7fcf31ded9e1 <from_tag+33> "", src=src@entry=0x90, size=size@entry=1) at crc.c:225
225                     len=src[i].len;
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-157.el7_3.1.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.14.1-27.el7_3.x86_64 libcom_err-1.42.9-9.el7.x86_64 libcurl-7.29.0-35.el7.centos.x86_64 libgcc-4.8.5-11.el7.x86_64 libidn-1.28-4.el7.x86_64 librabbitmq-0.5.2-1.el7.x86_64 libselinux-2.5-6.el7.x86_64 libssh2-1.4.3-10.el7_2.1.x86_64 nspr-4.13.1-1.0.el7_3.x86_64 nss-3.28.2-1.6.el7_3.x86_64 nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64 nss-util-3.28.2-1.1.el7_3.x86_64 openldap-2.4.40-13.el7.x86_64 openssl-libs-1.0.1e-60.el7_3.1.x86_64 pcre-8.32-15.el7_2.1.x86_64 postgresql-libs-9.2.18-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb)


---
please help me to solve this issue


--
Best Regards..
Achintha



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to