[OpenSIPS-Users] OpenSIPS crash with core dump
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue May 9 09:21:59 EDT 2017
Hi Sammy,
Do you have the OpenSIPS packages from the official repo or you built
them by yourself ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
http://www.opensips.org/events/Summit-2017Amsterdam.html
On 05/02/2017 11:57 PM, SamyGo wrote:
> Hi Razvan,
> Can you guide me on how to do that ? which option from "make
> menuconfig" should I check from compile options. Meanwhile trying to
> figure out the same for openssl.
>
> Will get back to you with these debug symbols in place and core re-read.
>
> Regards,
> Sammy
>
> On Tue, May 2, 2017 at 3:22 AM, Răzvan Crainea <razvan at opensips.org
> <mailto:razvan at opensips.org>> wrote:
>
> Hi, Sammy!
>
> Can you install the debugging symbols for both opensips and
> openssl? After you install them, inspect the core file again and
> run a 'bt full' command.
> It will help us figure out the stack trace to see what happened.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
> On 05/02/2017 02:22 AM, SamyGo wrote:
>
> Hi All,
> I've been seeing some crashes in my opensips servers:
>
>
> *_version:_* opensips 2.2.1 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
> MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> main.c compiled on 16:33:09 Jan 12 2017 with gcc 4.8
>
> *Operatin System:* Ubuntu 14.04.5 LTS
>
> *_Core File:_*
>
> (gdb) bt full
>
> #0 strlen () at ../sysdeps/x86_64/strlen.S:106
>
> No locals.
>
> #1 0x00007f55a8a32f59 in i2d_SSL_SESSION () from
> /lib/x86_64-linux-gnu/libssl.so.1.0.0
>
> No symbol table info available.
>
> #2 0x00007f55a8a07bd5 in ?? () from
> /lib/x86_64-linux-gnu/libssl.so.1.0.0
>
> No symbol table info available.
>
> #3 0x00007f55a8a08960 in ?? () from
> /lib/x86_64-linux-gnu/libssl.so.1.0.0
>
> No symbol table info available.
>
> #4 0x00007f55a83f5a7f in ?? () from
> /home/opensips/local/opensips/2_21/lib64/opensips/modules/proto_tls.so
>
> No symbol table info available.
>
> #5 0x00007f55a83fe880 in ?? () from
> /home/opensips/local/opensips/2_21/lib64/opensips/modules/proto_tls.so
>
> No symbol table info available.
>
> #6 0x00000000005a372d in ?? ()
>
> No symbol table info available.
>
> #7 0x00000000005a4dcb in tcp_worker_proc ()
>
> No symbol table info available.
>
> #8 0x000000000059cbb9 in tcp_start_processes ()
>
> No symbol table info available.
>
> #9 0x0000000000419cda in main ()
>
> No symbol table info available.
>
>
>
>
> *_Another Crash trace:_*
>
>
>
> (gdb) bt full
>
> #0 0x00007fc0abe039da in strtok () at
> ../sysdeps/x86_64/strtok.S:186
>
> No locals.
>
> #1 0x0000000000000024 in ?? ()
>
> No symbol table info available.
>
> #2 0x0000000200000004 in ?? ()
>
> No symbol table info available.
>
> #3 0x00007ffe32a6f9c0 in ?? ()
>
> No symbol table info available.
>
> #4 0x00007fbf8baef57c in ?? ()
>
> No symbol table info available.
>
> #5 0x0000000200000002 in ?? ()
>
> No symbol table info available.
>
> #6 0x00007ffe32a6f9d0 in ?? ()
>
> No symbol table info available.
>
> #7 0x00007fbf8aa8bf00 in ?? () from
> /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
>
> No symbol table info available.
>
> #8 0x00007fbf8b53f000 in ?? ()
>
> No symbol table info available.
>
> #9 0x0000000000000014 in ?? ()
>
> No symbol table info available.
>
> #10 0x0000000000000000 in ?? ()
>
> No symbol table info available.
>
> (gdb)
>
>
>
>
>
> (gdb) bt full
>
> #0 0x00007fe03fc9cc37 in __GI_raise (sig=sig at entry=6) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
>
> resultvar = 0
>
> pid = 36112
>
> selftid = 36112
>
> #1 0x00007fe03fca0028 in __GI_abort () at abort.c:89
>
> save_stage = 2
>
> act = {__sigaction_handler = {sa_handler = 0x0,
> sa_sigaction =
> 0x0}, sa_mask = {__val = {140596270402586, 8589934592, 64, 3, 33,
> 140596283430288,
>
> 140596283430040, 18446744073709551614,
> 140596264663692,
> 140596282823192, 3, 33, 140596264116466, 3, 8885408, 1}},
> sa_flags =
> 8885408,
>
> sa_restorer = 0x1}
>
> sigs = {__val = {32, 0 <repeats 15 times>}}
>
> #2 0x00007fdf1ebfaa62 in ?? () from
> /home/opensips/local/opensips/2_21/lib64/opensips/modules/tls_mgm.so
>
> No symbol table info available.
>
> #3 0x00007fdf1e610fcd in CRYPTO_free () from
> /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
>
> No symbol table info available.
>
> #4 0x00007fdf1e9c8c16 in SSL_SESSION_free () from
> /lib/x86_64-linux-gnu/libssl.so.1.0.0
>
> No symbol table info available.
>
> #5 0x00007fdf1e9c6f5d in SSL_free () from
> /lib/x86_64-linux-gnu/libssl.so.1.0.0
>
> No symbol table info available.
>
> #6 0x00007fdf1e38a327 in ?? () from
> /home/opensips/local/opensips/2_21/lib64/opensips/modules/proto_tls.so
>
> No symbol table info available.
>
> #7 0x0000000000593114 in ?? ()
>
> No symbol table info available.
>
> #8 0x00000000005933b0 in ?? ()
>
> No symbol table info available.
>
> #9 0x00000000004147f4 in ?? ()
>
> No symbol table info available.
>
> #10 0x00000000004154db in ?? ()
>
> No symbol table info available.
>
> #11 0x000000000059d087 in tcp_start_processes ()
>
> No symbol table info available.
>
> #12 0x0000000000419cda in main ()
>
> No symbol table info available.
>
>
>
>
>
> (gdb) bt full
>
> #0 0x00007fe03fc9cc37 in __GI_raise (sig=sig at entry=6) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
>
> resultvar = 0
>
> pid = 35939
>
> selftid = 35939
>
> #1 0x00007fe03fca0028 in __GI_abort () at abort.c:89
>
> save_stage = 2
>
> act = {__sigaction_handler = {sa_handler = 0x1,
> sa_sigaction =
> 0x1}, sa_mask = {__val = {0, 140596279116408, 140601127703847,
> 1, 0,
> 6087545,
>
> 140601119395120, 0, 140596279116408, 8739288,
> 140601127732437, 1, 140601120396285, 0, 0, 140601123293024}},
> sa_flags =
> 0, sa_restorer = 0x0}
>
> sigs = {__val = {32, 0 <repeats 15 times>}}
>
> #2 0x0000000000443a3b in ?? ()
>
> No symbol table info available.
>
> #3 <signal handler called>
>
> No locals.
>
> #4 0x00007fe03fd312a7 in sched_yield () at
> ../sysdeps/unix/syscall-template.S:81
>
> No locals.
>
> #5 0x000000000059b7ab in tcp_destroy ()
>
> No symbol table info available.
>
> #6 0x00000000004441ab in cleanup ()
>
> No symbol table info available.
>
> #7 0x0000000000444d67 in handle_sigs ()
>
> No symbol table info available.
>
> #8 0x0000000000419e3c in main ()
>
> No symbol table info available.
>
>
>
> Looking for some pointers
>
>
> Thanks,
> Sammy
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170509/402f589f/attachment-0001.html>
More information about the Users
mailing list