|
From: | Kyle Dijkstra |
Subject: | [Linphone-developers] RTCP Issue with test send and recv |
Date: | Mon, 6 Mar 2017 12:43:34 -0500 |
I am trying to get the basic tests provided with oRTP working. I am using rtprecv.c as the receiver and rtpsend.c as the sender. Here is a backtrace of the issue that comes from rtprecv.c: Thread 1 "rtprecv" received signal SIGSEGV, Segmentation fault. 0x00007ffff7bd0a53 in concatb (address@hidden, address@hidden) at /usr/src/debug/ortp-1.0.1-18/src/str_utils.c:337 337 while(newm->b_cont!=NULL) newm=newm->b_cont; (gdb) bt #0 0x00007ffff7bd0a53 in concatb (address@hidden, address@hidden) at /usr/src/debug/ortp-1.0.1-18/src/str_utils.c:337 #1 0x00007ffff7bc4ada in append_sdes (full=1 '\001', m=0x6037f0, session=0x602750) at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:397 #2 rtp_session_create_and_send_rtcp_packet (address@hidden, address@hidden '\001') at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:460 #3 0x00007ffff7bc4d3e in rtp_session_send_regular_rtcp_packet_and_reschedule ( address@hidden, tc=2421164509) at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:569 #4 0x00007ffff7bc4ebd in rtp_session_run_rtcp_send_scheduler ( address@hidden) at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:604 #5 0x00007ffff7bc5085 in rtp_session_rtcp_process_recv (address@hidden) at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:620 #6 0x00007ffff7bca985 in rtp_session_recvm_with_ts (address@hidden, address@hidden) at /usr/src/debug/ortp-1.0.1-18/src/rtpsession.c:1287 #7 0x00007ffff7bcab24 in rtp_session_recv_with_ts (session=0x602750, buffer=0x7fffffffdf60 "F\030\270 \216\023\027Q\b0XO\362\255\227\274E\337Z\352s\005\342\313\025\364%\263\265\271\\\271߱q\227M\312Â\271aa \365\b=Cx;\037\v\342s\350c\335\003Ր\022\207\064\062\"'F˛\214q\"\225\tʐ\216\237N\374/\226\243*0kT\214FYJz\332\324\332\311̳R\315\375\242\253q\376\260\355X~\364|\341Ju\313\026\247\251I\324㹁\201\005Y{\365\033.\250}\252\071u\267}S\356\030\335o$z&\034\264\270\303KW\373Q\256\264\267\033\v\232\357\001", len=160, ts=72960, have_more=0x7fffffffdf5c) at /usr/src/debug/ortp-1.0.1-18/src/rtpsession.c:1364 #8 0x00000000004014bc in main () I believe it is an RTCP issue because it works fine if I add rtp_session_enable_rtcp(session,FALSE); to both the rtprecv.c and rtpsend.c. Otherwise the code is the exact same as the examples linked above so I am not sure as to what is causing the issue with RTCP. The machine is running CentOS release 6.8 (Final) if that has any effect. |
[Prev in Thread] | Current Thread | [Next in Thread] |