linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] segfault in concatb after approximately 5 seconds


From: Roeland Jansen
Subject: [Linphone-developers] segfault in concatb after approximately 5 seconds of data.
Date: Fri, 8 Mar 2019 17:20:51 +0100

recently I started to use libort13 but at some point it segfaults.

the segfault happens in str_utils.c in this piece of code:


mblk_t *concatb(mblk_t *mp, mblk_t *newm){
       while (mp->b_cont!=NULL) mp=mp->b_cont;
       mp->b_cont=newm;
       while(newm->b_cont!=NULL) newm=newm->b_cont;
       return newm;
}

at the fourth line while(newm->b_cont!=NULL) newm=newm->b_cont;



#0  0x00007faf72209d93 in concatb (address@hidden, newm=0x0) at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/str_utils.c:337
337             while(newm->b_cont!=NULL) newm=newm->b_cont;
[Current thread is 1 (Thread 0x7faf72b4f740 (LWP 21620))]
(gdb) bt full
#0  0x00007faf72209d93 in concatb (address@hidden, newm=0x0) at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/str_utils.c:337
No locals.
#1  0x00007faf721fe428 in append_sdes (full=1 '\001', m=0x1f7cd90, session=0x1f2f990) at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/rtcp.c:397
       sdes = <optimized out>
       sdes = <optimized out>
#2  rtp_session_create_and_send_rtcp_packet (address@hidden, address@hidden '\001') at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/rtcp.c:460
       m = 0x1f7cd90
       is_sr = 0 '\000'
#3  0x00007faf721fe6c6 in rtp_session_send_regular_rtcp_packet_and_reschedule (session=0x1f2f990, tc=729110785) at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/rtcp.c:569
       sa = 0x1f305e0
#4  0x00007faf7220428f in rtp_session_recvm_with_ts (address@hidden, address@hidden) at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/rtpsession.c:1304
       mp = <optimized out>
       rtp = <optimized out>
       ts = <optimized out>
       packet_time = <optimized out>
       sched = <optimized out>
       rejected = 0
#5  0x00007faf72204485 in rtp_session_recv_with_ts (session=0x1f2f990, buffer=<optimized out>, len=32532, ts=26720, have_more=0x7ffd68c31ea8)
   at /usr/src/debug/ortp-1.0.2-lp150.28.1.x86_64/src/rtpsession.c:1381
       mp = 0x0
       plen = <optimized out>
       blen = 236
#6  0x0000000000401efc in run_rx ()
No symbol table info available.
#7  0x0000000000402441 in main ()
No symbol table info available.


someone an idea what happens? I did send it to the some maintainer, and some other places but so far no dice.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]