Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. Thread 1 "rtp" received signal SIGSEGV, Segmentation fault.
  2. 0x00007ffff7bd0a53 in concatb (mp=mp@entry=0x60fc00, newm=newm@entry=0x0)
  3. at /usr/src/debug/ortp-1.0.1-18/src/str_utils.c:337
  4. 337 while(newm->b_cont!=NULL) newm=newm->b_cont;
  5. (gdb) bt
  6. #0 0x00007ffff7bd0a53 in concatb (mp=mp@entry=0x60fc00, newm=newm@entry=0x0)
  7. at /usr/src/debug/ortp-1.0.1-18/src/str_utils.c:337
  8. #1 0x00007ffff7bc4ada in append_sdes (full=1 '01', m=0x60fc00, session=0x60a610)
  9. at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:397
  10. #2 rtp_session_create_and_send_rtcp_packet (session=session@entry=0x60a610,
  11. full=full@entry=1 '01') at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:460
  12. #3 0x00007ffff7bc4d3e in rtp_session_send_regular_rtcp_packet_and_reschedule (
  13. session=session@entry=0x60a610, tc=596717386)
  14. at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:569
  15. #4 0x00007ffff7bc4ebd in rtp_session_run_rtcp_send_scheduler (
  16. session=session@entry=0x60a610) at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:604
  17. #5 0x00007ffff7bc5085 in rtp_session_rtcp_process_recv (session=session@entry=0x60a610)
  18. at /usr/src/debug/ortp-1.0.1-18/src/rtcp.c:620
  19. #6 0x00007ffff7bca985 in rtp_session_recvm_with_ts (session=session@entry=0x60a610,
  20. user_ts=user_ts@entry=27840) at /usr/src/debug/ortp-1.0.1-18/src/rtpsession.c:1287
  21. #7 0x00007ffff7bcab24 in rtp_session_recv_with_ts (session=0x60a610,
  22. buffer=0x60b8d0 "364Y346 35134131q367s335H232316z235243o34225.346Px263221=374251y17737736434210235260244g340206321301XC(&n305306662462621033264335T", len=160, ts=27840, have_more=0x7fffffffcf8c)
  23. at /usr/src/debug/ortp-1.0.1-18/src/rtpsession.c:1364
  24. #8 0x0000000000402039 in rtpSession::rtp2disk(_RtpSession*, unsigned int, int, unsigned char*) ()
  25. #9 0x0000000000402392 in rtpSession::recv(std::string) ()
  26. #10 0x0000000000402770 in main ()
  27.  
  28. for (i=0;i<channels;i++){
  29. printf("channel %dn", i);
  30. session[i]=rtp_session_new(mode);
  31. rtp_session_set_scheduling_mode( session[i],1);
  32. rtp_session_enable_rtcp(session[i],TRUE);
  33. rtp_session_set_blocking_mode(session[i],0);
  34. rtp_session_set_local_addr(session[i],"0.0.0.0”,localPort, localPort + 1);
  35. if (mode != RTP_SESSION_RECVONLY) {
  36. //set remote address for sendonly and sendrecv sessions
  37. rtp_session_set_remote_addr(session[i],rs[i].address.c_str(), rs[i].port);
  38. }
  39. rtp_session_set_payload_type(session[i],payloadType);
  40. rtp_session_set_recv_buf_size(session[i],256);
  41. if (ssrc!=NULL) rtp_session_set_ssrc(session[i],atoi(ssrc));
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement