sippy / rtpproxy

The RTPproxy is a high-performance software proxy for RTP streams that can work together with Sippy B2BUA, Kamailio, OpenSIPS and SER.
http://rtpproxy.org
BSD 2-Clause "Simplified" License
417 stars 114 forks source link

*** Error in `/usr/local/bin/rtpproxy': free(): invalid pointer: 0x00007fff71eb0800 *** #96

Closed solarmon closed 5 years ago

solarmon commented 5 years ago

Hi,

Platform: CentOS Linux release 7.6.1810 (Core) rtpproxy version: 2.2.alpha.5913768 gcc version: 7.3.1 20180303

I was able to successfully build and install rtpproxy 2.2.alpha.5913768 from source.

However, when I run the /usr/local/bin/rtpproxy -V command to check it, I get the following error output:

2.2.alpha.5913768
*** Error in `/usr/local/bin/rtpproxy': free(): invalid pointer: 0x00007fff71eb0800 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81489)[0x7fa4dc08c489]
/usr/local/bin/rtpproxy[0x409ff6]
/usr/local/bin/rtpproxy(main+0xdf1)[0x408d91]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fa4dc02d3d5]
/usr/local/bin/rtpproxy[0x409cfe]
======= Memory map: ========
00400000-0044b000 r-xp 00000000 08:02 291265                             /usr/local/bin/rtpproxy
0064a000-0064b000 r--p 0004a000 08:02 291265                             /usr/local/bin/rtpproxy
0064b000-0064c000 rw-p 0004b000 08:02 291265                             /usr/local/bin/rtpproxy
0064c000-0066d000 rw-p 00000000 00:00 0
00f31000-00f52000 rw-p 00000000 00:00 0                                  [heap]
7fa4d7dea000-7fa4d7dff000 r-xp 00000000 08:02 289856                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fa4d7dff000-7fa4d7ffe000 ---p 00015000 08:02 289856                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fa4d7ffe000-7fa4d7fff000 r--p 00014000 08:02 289856                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fa4d7fff000-7fa4d8000000 rw-p 00015000 08:02 289856                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7fa4d8000000-7fa4d8021000 rw-p 00000000 00:00 0
7fa4d8021000-7fa4dc000000 ---p 00000000 00:00 0
7fa4dc00b000-7fa4dc1cd000 r-xp 00000000 08:02 263963                     /usr/lib64/libc-2.17.so
7fa4dc1cd000-7fa4dc3cd000 ---p 001c2000 08:02 263963                     /usr/lib64/libc-2.17.so
7fa4dc3cd000-7fa4dc3d1000 r--p 001c2000 08:02 263963                     /usr/lib64/libc-2.17.so
7fa4dc3d1000-7fa4dc3d3000 rw-p 001c6000 08:02 263963                     /usr/lib64/libc-2.17.so
7fa4dc3d3000-7fa4dc3d8000 rw-p 00000000 00:00 0
7fa4dc3d8000-7fa4dc3df000 r-xp 00000000 08:02 269185                     /usr/lib64/librt-2.17.so
7fa4dc3df000-7fa4dc5de000 ---p 00007000 08:02 269185                     /usr/lib64/librt-2.17.so
7fa4dc5de000-7fa4dc5df000 r--p 00006000 08:02 269185                     /usr/lib64/librt-2.17.so
7fa4dc5df000-7fa4dc5e0000 rw-p 00007000 08:02 269185                     /usr/lib64/librt-2.17.so
7fa4dc5e0000-7fa4dc5e2000 r-xp 00000000 08:02 268264                     /usr/lib64/libdl-2.17.so
7fa4dc5e2000-7fa4dc7e2000 ---p 00002000 08:02 268264                     /usr/lib64/libdl-2.17.so
7fa4dc7e2000-7fa4dc7e3000 r--p 00002000 08:02 268264                     /usr/lib64/libdl-2.17.so
7fa4dc7e3000-7fa4dc7e4000 rw-p 00003000 08:02 268264                     /usr/lib64/libdl-2.17.so
7fa4dc7e4000-7fa4dc8e5000 r-xp 00000000 08:02 268309                     /usr/lib64/libm-2.17.so
7fa4dc8e5000-7fa4dcae4000 ---p 00101000 08:02 268309                     /usr/lib64/libm-2.17.so
7fa4dcae4000-7fa4dcae5000 r--p 00100000 08:02 268309                     /usr/lib64/libm-2.17.so
7fa4dcae5000-7fa4dcae6000 rw-p 00101000 08:02 268309                     /usr/lib64/libm-2.17.so
7fa4dcae6000-7fa4dcafd000 r-xp 00000000 08:02 263989                     /usr/lib64/libpthread-2.17.so
7fa4dcafd000-7fa4dccfc000 ---p 00017000 08:02 263989                     /usr/lib64/libpthread-2.17.so
7fa4dccfc000-7fa4dccfd000 r--p 00016000 08:02 263989                     /usr/lib64/libpthread-2.17.so
7fa4dccfd000-7fa4dccfe000 rw-p 00017000 08:02 263989                     /usr/lib64/libpthread-2.17.so
7fa4dccfe000-7fa4dcd02000 rw-p 00000000 00:00 0
7fa4dcd02000-7fa4dcd24000 r-xp 00000000 08:02 268122                     /usr/lib64/ld-2.17.so
7fa4dcf0d000-7fa4dcf12000 rw-p 00000000 00:00 0
7fa4dcf20000-7fa4dcf23000 rw-p 00000000 00:00 0
7fa4dcf23000-7fa4dcf24000 r--p 00021000 08:02 268122                     /usr/lib64/ld-2.17.so
7fa4dcf24000-7fa4dcf25000 rw-p 00022000 08:02 268122                     /usr/lib64/ld-2.17.so
7fa4dcf25000-7fa4dcf26000 rw-p 00000000 00:00 0
7fff71e93000-7fff71eb4000 rw-p 00000000 00:00 0                          [stack]
7fff71ef2000-7fff71ef4000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted

Please can you advise what the issue is and how it can be resolved.

Thank you.

solarmon commented 5 years ago

Thanks, I just tried the latest master build and I no longer get the error:

# /usr/local/bin/rtpproxy -V
2.2.alpha.42ce8d8