[OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl marco.hierl at next-id.de
Tue Dec 19 05:11:12 EST 2017


Dear all,

OpenSIPS crashes at start with
segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so[7fc20da5c000+195000]

Dec 19 10:21:41 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[32543]: INFO:rtpproxy:rtpp_test: rtp proxy <udp:10.249.152.6:7890> found, support for it enabled
Dec 19 10:21:41 sbc-dtag-hh opensips: INFO:core:daemonize: pre-daemon process exiting with 0
Dec 19 10:21:41 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[32551]: CRITICAL:core:receive_fd: EOF on 10
Dec 19 10:21:41 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[32472]: INFO:core:handle_sigs: child process 32473 exited by a signal 11
Dec 19 10:21:41 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[32472]: INFO:core:handle_sigs: core was generated
Dec 19 10:21:41 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[32472]: INFO:core:handle_sigs: terminating due to SIGCHLD
Dec 19 10:21:41 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[32551]: INFO:core:sig_usr: signal 15 received

root at sbc-dtag-hh:/usr/opensips/tmp# /usr/opensips/akt/sbin/opensips -Version
version: opensips 2.3.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_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.
git revision: 2ae87c644
main.c compiled on 14:05:36 Dec 15 2017 with gcc 6.3.0

root at sbc-dtag-hh:/usr/opensips/tmp# gdb /usr/opensips/akt/sbin/opensips core.32473
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 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-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"...
Reading symbols from /usr/opensips/akt/sbin/opensips...done.
[New LWP 32473]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/opensips/akt/sbin/opensips -P /run/opensips/opensips.pid -f /usr/opensips/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  strrchr () at ../sysdeps/x86_64/strrchr.S:32
32      ../sysdeps/x86_64/strrchr.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  strrchr () at ../sysdeps/x86_64/strrchr.S:32
No locals.
#1  0x00007f5ecc3d3c81 in timeout_listener_process (rank=0) at timeout_process.c:87
        saddr_un = {sun_family = 21992,
          sun_path = "\307\005\375\177\000\000\350U\307\005\375\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000                                                                                      \000\000\000\000\000\244`\234\361^\177\000\000 a\234\361^\177\000\000&6f\361^\177\000\000\b\230\234\361^\177\000\000\000\000\000\000\261\bZ+\210s\231\3                                                                                      21^\177\000\000\000V\307\005\375\177\000\000\360Wy\374;V\000\000\223\061f\361^\177"}
        s_un = 0x563bfc7b70e9 <internal_fork+1076>
        saddr_in = {sin_family = 24740, sin_port = 61852, sin_addr = {s_addr = 32606}, sin_zero = " a\234\361^\177\000"}
        s_in = 0x7ffd05c75660
        s_in6 = 0x100000001
        connect_fd = 32606
        buffer = '\000' <repeats 16 times>, "\377\377\377\377\375\177\000\000\244\\\337\361^\177\000\000\001\000\000\000\000\000\000\000 at 1\234\361^\177                                                                                      \000\000\000\000\000\000\000\000\000\000\020?c\361^\177\000\000\260U\307\005\375\177\000\000\367\326\337\361^\177\000\000\000\000\000\000\377", '\000'                                                                                       <repeats 11 times>, '%' <repeats 16 times>, '\000' <repeats 16 times>, "\210s\231\321^\177\000\000\000V\307\005\375\177\000\000\360Wy\374;V\000\000`X\3                                                                                      07\005\375\177\000\000\000\000\000\000\000\000\000\000\250l{\374;V\000\000        \305\360>\314^\177\000\000\377\377\377\377\377\000\000\000"...
        p = 0x5c43c38c00000000 <error: Cannot access memory at address 0x5c43c38c00000000>
        sp = 0x563bfc7957f0 <_start> "1\355I\211\321^H\211\342H\203\344\360PTL\215\005\312j\025"
        end = 0x0
        start = 0x563bfc8ce4c9 <tcp_connect_proc_to_tcp_main+80> "\353\032\213\005\263q*"
        h_entry = 0
        h_id = 0
        id = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -55115112}
        port = 0
        saddr = 0x80005c75660
        len = 32606
        i = 0
        n = 0
        left = -868290363
        optval = 1
        rtpp_info = {sa_family = 21880, sa_data = "\307\005\000\000\000\000\321\020\337\361^\177\000"}
        rtpp_lst = 0x80e00000001
        terminate_reason = {s = 0x7f5ecc3ed4b5 "RTPProxy Timeout", len = 16}
---Type <return> to continue, or q <return> to quit---
        offset = 0
        __FUNCTION__ = "timeout_listener_process"
#2  0x0000563bfc828b56 in start_module_procs () at sr_module.c:763
        m = 0x7f5ee16665b8
        n = 0
        l = 0
        x = 0
        __FUNCTION__ = "start_module_procs"
#3  0x0000563bfc822f22 in main_loop () at main.c:656
        chd_rank = 0
        startup_done = 0x0
        __FUNCTION__ = "main_loop"
#4  0x0000563bfc825f58 in main (argc=11, argv=0x7ffd05c75868) at main.c:1283
        cfg_log_stderr = 1
        cfg_stream = 0x563bfd4fd010
        c = -1
        r = 0
        tmp = 0x7ffd05c76eb3 ""
        tmp_len = 0
        port = 194
        proto = 0
        protos_no = 1
        options = 0x563bfc912670 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
        ret = -1
        seed = 529466522
        rfd = 4
        __FUNCTION__ = "main"
What am I doing wrong?
thanks and best regards
  Marco




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171219/2d352f35/attachment-0001.html>


More information about the Users mailing list