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

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Marco Hierl

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@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@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@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

 

 

 

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

Hi Răzvan,

 

thanks for this hint. The parameter was not set!

After using modparam("rtpproxy", "rtpp_notify_socket", "udp:10.249.152.5:9999") OpenSIPS starts without any error.

 

Thanks again and best regards

  Marco

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:24
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Do you mind removing the parameter and make a few more tests, until we track the initial issue down? If you can, open the core dump and run:

f 1
p rtpp_notify_socket

Thanks and regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/19/2017 12:47 PM, Marco Hierl wrote:

Hi Răzvan,

 

thanks for this hint. The parameter was not set!

After using modparam("rtpproxy", "rtpp_notify_socket", "udp:10.249.152.5:9999") OpenSIPS starts without any error.

 

Thanks again and best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:24
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

I got this:

 

(gdb) f 1

#1  0x00007fbe01394c81 in timeout_listener_process (rank=0) at timeout_process.c:87

warning: Source file is more recent than executable.

87                      p = strrchr(rtpp_notify_socket.s, ':');

 

(gdb) p rtpp_notify_socket

$1 = {s = 0x0, len = 0}

(gdb)

 

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:51
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Do you mind removing the parameter and make a few more tests, until we track the initial issue down? If you can, open the core dump and run:

f 1
p rtpp_notify_socket

Thanks and regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:47 PM, Marco Hierl wrote:

Hi Răzvan,

 

thanks for this hint. The parameter was not set!

After using modparam("rtpproxy", "rtpp_notify_socket", "udp:10.249.152.5:9999") OpenSIPS starts without any error.

 

Thanks again and best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:24
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
That's weird :).
Can you start opensips in debug mode and paste me all the lines that contain the "initializing module " string, in the exact order they apear?

Thanks!

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/19/2017 12:58 PM, Marco Hierl wrote:

I got this:

 

(gdb) f 1

#1  0x00007fbe01394c81 in timeout_listener_process (rank=0) at timeout_process.c:87

warning: Source file is more recent than executable.

87                      p = strrchr(rtpp_notify_socket.s, ':');

 

(gdb) p rtpp_notify_socket

$1 = {s = 0x0, len = 0}

(gdb)

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:51
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Do you mind removing the parameter and make a few more tests, until we track the initial issue down? If you can, open the core dump and run:

f 1
p rtpp_notify_socket

Thanks and regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:47 PM, Marco Hierl wrote:

Hi Răzvan,

 

thanks for this hint. The parameter was not set!

After using modparam("rtpproxy", "rtpp_notify_socket", "udp:10.249.152.5:9999") OpenSIPS starts without any error.

 

Thanks again and best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:24
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

Hope this is what you asked for:

 

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module proto_udp

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module mi_fifo

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module db_mysql

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module sl

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module tm

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module rr

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module maxfwd

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module dialog

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module uac

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module signaling

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: NOTICE:signaling:mod_init: initializing module ...

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module auth

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module textops

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module sipmsgops

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module uri

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module dialplan

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module drouting

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module avpops

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module acc

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module exec

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module perl

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module sst

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module cfgutils

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module cachedb_local

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module benchmark

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module topology_hiding

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module nathelper

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module rtpproxy

 

Best regards

  Marco

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 12:18
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

That's weird :).
Can you start opensips in debug mode and paste me all the lines that contain the "initializing module " string, in the exact order they apear?

Thanks!


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:58 PM, Marco Hierl wrote:

I got this:

 

(gdb) f 1

#1  0x00007fbe01394c81 in timeout_listener_process (rank=0) at timeout_process.c:87

warning: Source file is more recent than executable.

87                      p = strrchr(rtpp_notify_socket.s, ':');

 

(gdb) p rtpp_notify_socket

$1 = {s = 0x0, len = 0}

(gdb)

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:51
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Do you mind removing the parameter and make a few more tests, until we track the initial issue down? If you can, open the core dump and run:

f 1
p rtpp_notify_socket

Thanks and regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:47 PM, Marco Hierl wrote:

Hi Răzvan,

 

thanks for this hint. The parameter was not set!

After using modparam("rtpproxy", "rtpp_notify_socket", "udp:10.249.152.5:9999") OpenSIPS starts without any error.

 

Thanks again and best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:24
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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

 





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Hi, Marco!

How are you installing opensips? Did you make any changes to the code?
Is it ok if I provide you a patch for your sources so that I can get more information about the error?

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/19/2017 02:26 PM, Marco Hierl wrote:

Hope this is what you asked for:

 

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module proto_udp

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module mi_fifo

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module db_mysql

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module sl

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module tm

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module rr

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module maxfwd

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module dialog

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module uac

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module signaling

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: NOTICE:signaling:mod_init: initializing module ...

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module auth

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module textops

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module sipmsgops

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module uri

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module dialplan

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module drouting

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module avpops

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module acc

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module exec

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module perl

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module sst

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module cfgutils

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module cachedb_local

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module benchmark

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module topology_hiding

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module nathelper

Dec 19 13:20:36 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[19793]: DBG:core:init_mod: initializing module rtpproxy

 

Best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 12:18
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

That's weird :).
Can you start opensips in debug mode and paste me all the lines that contain the "initializing module " string, in the exact order they apear?

Thanks!


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:58 PM, Marco Hierl wrote:

I got this:

 

(gdb) f 1

#1  0x00007fbe01394c81 in timeout_listener_process (rank=0) at timeout_process.c:87

warning: Source file is more recent than executable.

87                      p = strrchr(rtpp_notify_socket.s, ':');

 

(gdb) p rtpp_notify_socket

$1 = {s = 0x0, len = 0}

(gdb)

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:51
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Do you mind removing the parameter and make a few more tests, until we track the initial issue down? If you can, open the core dump and run:

f 1
p rtpp_notify_socket

Thanks and regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:47 PM, Marco Hierl wrote:

Hi Răzvan,

 

thanks for this hint. The parameter was not set!

After using modparam("rtpproxy", "rtpp_notify_socket", "udp:10.249.152.5:9999") OpenSIPS starts without any error.

 

Thanks again and best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 11:24
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Thanks for the report! Can you indicate what value are you using for the rtpp_notify_socket [1] parameter?

PS: please use pastebin for large logs/messages

[1] http://www.opensips.org/html/docs/modules/2.4.x/rtpproxy#idp5604480

Best regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 12:11 PM, Marco Hierl wrote:

Dear all,

 

OpenSIPS crashes at start with

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

 





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

Hi Răzvan,

 

I made

git clone https://github.com/OpenSIPS/opensips.git -b 2.3 opensips-2.3

check Compile Flags -> QM_MALLOC and DBG_MALLOC

 

and I changed the following 2 lines:

 

/usr/src/opensips-2.3/config.h

#define MAX_BRANCHES    15                      /*!< maximum number of branches per transaction */

/usr/src/opensips-2.3/modules/dialplan/dp_repl.c

#define DP_MAX_ATTRS_LEN        128

 

 

Sure, if you provide the patch I will compile and start again…

 

Best regards

  Marco

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 13:49
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

How are you installing opensips? Did you make any changes to the code?
Is it ok if I provide you a patch for your sources so that I can get more information about the error?

Best regards,


 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/19/2017 02:59 PM, Marco Hierl wrote:

Hi Răzvan,

 

I made

git clone https://github.com/OpenSIPS/opensips.git -b 2.3 opensips-2.3

check Compile Flags -> QM_MALLOC and DBG_MALLOC

 

and I changed the following 2 lines:

 

/usr/src/opensips-2.3/config.h

#define MAX_BRANCHES    15                      /*!< maximum number of branches per transaction */

/usr/src/opensips-2.3/modules/dialplan/dp_repl.c

#define DP_MAX_ATTRS_LEN        128

 

 

Sure, if you provide the patch I will compile and start again…

 

Best regards

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 13:49
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

How are you installing opensips? Did you make any changes to the code?
Is it ok if I provide you a patch for your sources so that I can get more information about the error?

Best regards,


 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 

Thanks!

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

Hi Răzvan,

 

the results:

https://pastebin.com/ExZdGPcN

 

best regards,

  Marco

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 16:47
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 
Thanks!


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Hi, Marco!

Can you tell me what operating system your are using? Also, what version of loader (ld -version)?

Thanks and regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/20/2017 10:52 AM, Marco Hierl wrote:

Hi Răzvan,

 

the results:

https://pastebin.com/ExZdGPcN

 

best regards,

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 16:47
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 
Thanks!


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

Hi Răzvan

 

opensips@sbc-dtag-hh:/var/log/opensips$ cat /etc/debian_version

9.3

opensips@sbc-dtag-hh:/var/log/opensips$ ld -version

GNU ld (GNU Binutils for Debian) 2.28

Copyright (C) 2017 Free Software Foundation, Inc.

This program is free software; you may redistribute it under the terms of

the GNU General Public License version 3 or (at your option) a later version.

This program has absolutely no warranty.

 

Best regards

  Marco

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Mittwoch, 20. Dezember 2017 10:20
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Can you tell me what operating system your are using? Also, what version of loader (ld -version)?

Thanks and regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 10:52 AM, Marco Hierl wrote:

Hi Răzvan,

 

the results:

https://pastebin.com/ExZdGPcN

 

best regards,

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 16:47
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 
Thanks!



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,




Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Hi, Marco!

I tried to replicate this on a debian 9 system, with the same loader, but it doesn't seem to replicate. Can you (privately if you don't want it to be public) send me the load_module and modparam you are using in the same order/manner you are using them? Also, the rtpproxy snippets you are using.

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/20/2017 11:23 AM, Marco Hierl wrote:

Hi Răzvan

 

opensips@sbc-dtag-hh:/var/log/opensips$ cat /etc/debian_version

9.3

opensips@sbc-dtag-hh:/var/log/opensips$ ld -version

GNU ld (GNU Binutils for Debian) 2.28

Copyright (C) 2017 Free Software Foundation, Inc.

This program is free software; you may redistribute it under the terms of

the GNU General Public License version 3 or (at your option) a later version.

This program has absolutely no warranty.

 

Best regards

  Marco

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Mittwoch, 20. Dezember 2017 10:20
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Can you tell me what operating system your are using? Also, what version of loader (ld -version)?

Thanks and regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 10:52 AM, Marco Hierl wrote:

Hi Răzvan,

 

the results:

https://pastebin.com/ExZdGPcN

 

best regards,

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 16:47
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 
Thanks!



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,




Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Marco Hierl

Hi Răzvan

 

If this

https://pastebin.com/EQin4t7y

is not enough I can send my config file privately, if you like.

 

Best regards

  Marco

 

 

 

Von: Users [mailto:[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Mittwoch, 20. Dezember 2017 11:13
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

I tried to replicate this on a debian 9 system, with the same loader, but it doesn't seem to replicate. Can you (privately if you don't want it to be public) send me the load_module and modparam you are using in the same order/manner you are using them? Also, the rtpproxy snippets you are using.

Best regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 11:23 AM, Marco Hierl wrote:

Hi Răzvan

 

opensips@sbc-dtag-hh:/var/log/opensips$ cat /etc/debian_version

9.3

opensips@sbc-dtag-hh:/var/log/opensips$ ld -version

GNU ld (GNU Binutils for Debian) 2.28

Copyright (C) 2017 Free Software Foundation, Inc.

This program is free software; you may redistribute it under the terms of

the GNU General Public License version 3 or (at your option) a later version.

This program has absolutely no warranty.

 

Best regards

  Marco

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Mittwoch, 20. Dezember 2017 10:20
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Can you tell me what operating system your are using? Also, what version of loader (ld -version)?

Thanks and regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 10:52 AM, Marco Hierl wrote:

Hi Răzvan,

 

the results:

https://pastebin.com/ExZdGPcN

 

best regards,

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 16:47
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 
Thanks!




Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,





Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com






_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

Razvan Crainea-3
Hi, Marco!

Tried with your configs, but didn't manage to replicate.
One last thing I will ask you: Can you apply the first patch I have sent you[1] and start opensips with the LD_DEBUG=all environment variable set? Something like:

LD_DEBUG=all opensips -f /etc/opensips/opensips.cfg

[1] https://pastebin.com/jUfzdSDk

Thanks, I really appreciate your help!

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 12/20/2017 12:43 PM, Marco Hierl wrote:

Hi Răzvan

 

If this

https://pastebin.com/EQin4t7y

is not enough I can send my config file privately, if you like.

 

Best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Mittwoch, 20. Dezember 2017 11:13
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

I tried to replicate this on a debian 9 system, with the same loader, but it doesn't seem to replicate. Can you (privately if you don't want it to be public) send me the load_module and modparam you are using in the same order/manner you are using them? Also, the rtpproxy snippets you are using.

Best regards,


Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 11:23 AM, Marco Hierl wrote:

Hi Răzvan

 

opensips@sbc-dtag-hh:/var/log/opensips$ cat /etc/debian_version

9.3

opensips@sbc-dtag-hh:/var/log/opensips$ ld -version

GNU ld (GNU Binutils for Debian) 2.28

Copyright (C) 2017 Free Software Foundation, Inc.

This program is free software; you may redistribute it under the terms of

the GNU General Public License version 3 or (at your option) a later version.

This program has absolutely no warranty.

 

Best regards

  Marco

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Mittwoch, 20. Dezember 2017 10:20
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

Can you tell me what operating system your are using? Also, what version of loader (ld -version)?

Thanks and regards,



Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 10:52 AM, Marco Hierl wrote:

Hi Răzvan,

 

the results:

https://pastebin.com/ExZdGPcN

 

best regards,

  Marco

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 16:47
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Hi, Marco!

That's my fault, I was doing the changes on the master branch, not 2.3. But the patch should be fine.
Can you revert the patch and apply this one[2]. This is done against 2.3 :).

[2] https://pastebin.com/f2nDrfbS
 
Thanks!




Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/19/2017 05:22 PM, Marco Hierl wrote:

done:

https://pastebin.com/qzQX1FPy

 

but I inserted the new lines by hand… it seems that we are using different version of rtpproxy.c ? I took branch 2.3 from git this morning? Did I take a wrong one?

 

best regards

  Marco

 

 

 

Von: Users [[hidden email]] Im Auftrag von Razvan Crainea
Gesendet: Dienstag, 19. Dezember 2017 14:26
An: [hidden email]
Betreff: Re: [OpenSIPS-Users] segfault at 0 ip 00007fc20dade325 sp 00007ffe11ed3eb8 error 4 in libc-2.24.so

 

Please apply this[1] patch and run again without the parameter set, and then send over the INFO logs.

[1] https://pastebin.com/jUfzdSDk

Best regards,





Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com






_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users