[OpenSIPS-Users] opensips crash
volga629 at networklab.ca
volga629 at networklab.ca
Thu Aug 16 00:31:12 EDT 2018
Hello Bogdan,
I was be able catch the crash and presence module is segfault the
opensips.
[root at aitossbc03 ccpp-2018-08-15-23:20:51.377819-10036]# gdb coredump
GNU gdb (GDB) Fedora 8.0.1-36.fc27
Copyright (C) 2017 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[New LWP 10036]
Reading symbols from /usr/sbin/opensips...Reading symbols from
/usr/lib/debug/usr/sbin/opensips-3.0.0.b33b7a7e7-2.fc27.x86_64.debug...done.
done.
warning: Ignoring non-absolute filename: <linux-vdso.so.1>
Missing separate debuginfo for linux-vdso.so.1
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/f9/61d796c26168fae4f7c8c3d20d229ec61e97a7
Missing separate debuginfo for
/usr/lib64/opensips/modules/db_postgres.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/af/a6d95e187d5dcba1eb023bbc63c262201ad79a
Missing separate debuginfo for
/usr/lib64/opensips/modules/cachedb_mongodb.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/b6/396b906d1cbb1a0dfba6e55d9403c5ef3203c4
Missing separate debuginfo for /usr/lib64/opensips/modules/presence.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/9b/91e940f23ccd73dd8d85c3cba662ad053d41f9
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_mwi.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/0f/71857a5f102128ec9271834c5c50fbbb489eaa
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_xml.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/d5/c0541f0d0dc673a4c1471a29002ada102b4b4f
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_dialoginfo.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/65/838cc25cb0cc95909a38c8740e2a5eca50ea50
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_callinfo.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/5b/e9f008d233d92f83f94ec0a22804d9f3f42f97
Missing separate debuginfo for /usr/lib64/opensips/modules/pua.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/bf/bb7811d4410f272fba13e1bd3d55162cc8a570
Missing separate debuginfo for
/usr/lib64/opensips/modules/pua_dialoginfo.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/cb/9844b685005e0d892755305f4112ba4b87ef0b
Missing separate debuginfo for /usr/lib64/opensips/modules/xcap.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/a3/72d49769b2d1beac896874ee6b727e7d9f65e9
Missing separate debuginfo for
/usr/lib64/opensips/modules/db_postgres.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/af/a6d95e187d5dcba1eb023bbc63c262201ad79a.debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for
/usr/lib64/opensips/modules/cachedb_mongodb.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/b6/396b906d1cbb1a0dfba6e55d9403c5ef3203c4.debug
Missing separate debuginfo for /usr/lib64/opensips/modules/presence.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/9b/91e940f23ccd73dd8d85c3cba662ad053d41f9.debug
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_mwi.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/0f/71857a5f102128ec9271834c5c50fbbb489eaa.debug
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_xml.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/d5/c0541f0d0dc673a4c1471a29002ada102b4b4f.debug
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_dialoginfo.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/65/838cc25cb0cc95909a38c8740e2a5eca50ea50.debug
Missing separate debuginfo for
/usr/lib64/opensips/modules/presence_callinfo.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/5b/e9f008d233d92f83f94ec0a22804d9f3f42f97.debug
Missing separate debuginfo for /usr/lib64/opensips/modules/pua.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/bf/bb7811d4410f272fba13e1bd3d55162cc8a570.debug
Missing separate debuginfo for
/usr/lib64/opensips/modules/pua_dialoginfo.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/cb/9844b685005e0d892755305f4112ba4b87ef0b.debug
Missing separate debuginfo for /usr/lib64/opensips/modules/xcap.so
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/a3/72d49769b2d1beac896874ee6b727e7d9f65e9.debug
Core was generated by `/usr/sbin/opensips -P /run/opensips/opensips.pid
-f /etc/opensips/opensips.cfg'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fe4a3f0c9a6 in __strlen_sse2 () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install
cyrus-sasl-gssapi-2.1.26-34.fc27.x86_64
cyrus-sasl-lib-2.1.26-34.fc27.x86_64
cyrus-sasl-plain-2.1.26-34.fc27.x86_64 glibc-2.26-28.fc27.x86_64
json-c-0.12.1-5.fc27.x86_64 keyutils-libs-1.5.10-3.fc27.x86_64
krb5-libs-1.15.2-9.fc27.x86_64 libbson-1.9.5-1.fc27.x86_64
libcom_err-1.43.5-2.fc27.x86_64 libcrypt-nss-2.26-28.fc27.x86_64
libdb-5.3.28-27.fc27.x86_64 libgcc-7.3.1-5.fc27.x86_64
libselinux-2.7-3.fc27.x86_64 libstdc++-7.3.1-5.fc27.x86_64
libxml2-2.9.7-1.fc27.x86_64 mongo-c-driver-libs-1.9.5-1.fc27.x86_64
nspr-4.19.0-1.fc27.x86_64 nss-3.36.1-1.0.fc27.x86_64
nss-softokn-freebl-3.36.1-1.0.fc27.x86_64
nss-util-3.36.1-1.0.fc27.x86_64 openldap-2.4.45-4.fc27.x86_64
openssl-libs-1.1.0h-3.fc27.x86_64 pcre2-10.31-4.fc27.x86_64
postgresql-libs-9.6.9-1.fc27.x86_64 snappy-1.1.4-5.fc27.x86_64
sssd-client-1.16.1-8.fc27.x86_64 xz-libs-5.2.3-4.fc27.x86_64
zlib-1.2.11-4.fc27.x86_64
(gdb) bt
#0 0x00007fe4a3f0c9a6 in __strlen_sse2 () from /lib64/libc.so.6
#1 0x00007fe497f4c999 in msg_presentity_clean () from
/usr/lib64/opensips/modules/presence.so
#2 0x000055e7c1d0ed0a in handle_timer_job () at timer.c:738
#3 0x000055e7c1defd6e in handle_io (event_type=1, idx=3,
fm=0x7fe4a3b140c8) at net/net_tcp_proc.c:134
#4 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>,
repeat=<optimized out>) at net/../io_wait_loop.h:280
#5 tcp_worker_proc_loop () at net/net_tcp_proc.c:386
#6 0x000055e7c1dfd4cd in tcp_start_processes (chd_rank=0x55e7c20d3e04
<chd_rank>, startup_done=0x0) at net/net_tcp.c:1887
#7 0x000055e7c1c9f7f4 in main_loop () at main.c:760
#8 main (argc=<optimized out>, argv=<optimized out>) at main.c:1400
(gdb) bt full
#0 0x00007fe4a3f0c9a6 in __strlen_sse2 () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fe497f4c999 in msg_presentity_clean () from
/usr/lib64/opensips/modules/presence.so
No symbol table info available.
#2 0x000055e7c1d0ed0a in handle_timer_job () at timer.c:738
t = 0x7fe49fe52cc8
l = <optimized out>
__FUNCTION__ = "handle_timer_job"
#3 0x000055e7c1defd6e in handle_io (event_type=1, idx=3,
fm=0x7fe4a3b140c8) at net/net_tcp_proc.c:134
con = <optimized out>
ret = 5
n = <optimized out>
rw = <optimized out>
response = {94453881454084, 94453877288783}
s = 0
resp = <optimized out>
#4 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>,
repeat=<optimized out>) at net/../io_wait_loop.h:280
ret = <optimized out>
i = <optimized out>
e = 0x7fe4a3b140c8
ep_event = {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64
= 0}}
fd = <optimized out>
n = 1
r = 3
#5 tcp_worker_proc_loop () at net/net_tcp_proc.c:386
__FUNCTION__ = "tcp_worker_proc_loop"
#6 0x000055e7c1dfd4cd in tcp_start_processes (chd_rank=0x55e7c20d3e04
<chd_rank>, startup_done=0x0) at net/net_tcp.c:1887
r = <optimized out>
reader_fd = {176, 178}
pid = <optimized out>
__FUNCTION__ = "tcp_start_processes"
#7 0x000055e7c1c9f7f4 in main_loop () at main.c:760
startup_done = 0x0
chd_rank = 46
#8 main (argc=<optimized out>, argv=<optimized out>) at main.c:1400
cfg_stream = <optimized out>
c = -1
r = <optimized out>
tmp = 0x7ffd0b05eefd ""
tmp_len = <optimized out>
---Type <return> to continue, or q <return> to quit---
port = <optimized out>
proto = <optimized out>
protos_no = <optimized out>
options = 0x55e7c1e34098
"f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:P:G:W:o:"
ret = -1
seed = 2546139228
rfd = <optimized out>
__FUNCTION__ = "main"
(gdb)
volga629
On Fri, Jul 27, 2018 at 5:43 AM, Bogdan-Andrei Iancu
<bogdan at opensips.org> wrote:
> Hi,
>
> See http://www.opensips.org/Documentation/TroubleShooting-Crash for
> how to extract the backtrace from the corefile.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> OpenSIPS Bootcamp 2018
> http://opensips.org/training/OpenSIPS_Bootcamp_2018/
>
> On 07/26/2018 08:53 PM, volga629 at networklab.ca wrote:
>> Hello Everyone,
>> Opensips crashing randomly how possible find what the issue
>>
>>
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6297]:
>> CRITICAL:core:handle_tcp_worker: dead tcp worker 4 (EOF received),
>> pid 6292
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:handle_sigs: child process 6292 exited by a signal 11
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:handle_sigs: core was generated
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:handle_sigs: terminating due to SIGCHLD
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6265]: INFO:core:sig_usr:
>> signal 15 received
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6266]: INFO:core:sig_usr:
>> signal 15 received
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6267]: INFO:core:sig_usr:
>> signal 15 received
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:shutdown_opensips: process 15(6279) [SIP receiver
>> udp:private_ip_interface:5060 ] terminated, still waiting for 31
>> more
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:shutdown_opensips: process 18(6282) [SIP receiver
>> udp:public_ip_interface:5082 ] terminated, still waiting for 30 more
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:shutdown_opensips: process 20(6284) [SIP receiver
>> udp:public_ip_interface:5060 ] terminated, still waiting for 29 more
>> Jul 26 12:11:43 sbc01 /usr/sbin/opensips[6264]:
>> INFO:core:shutdown_opensips: process 22(6286) [SIP receiver
>> udp:public_ip_interface:5060 ] terminated, still waiting for 28 more
>>
>> volga629
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list