ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Bug fix (was: Demo program "audiotx" dropping RTP pack


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] Bug fix (was: Demo program "audiotx" dropping RTP packets)
Date: Sun, 23 Mar 2003 00:24:45 +0100
User-agent: Mutt/1.5.3i

        Hi, this is exactly the same problem as I have just seen on a
GNU/Linux box. You guessed right, I have just identified a silly bug
in the stack which caused those packets to be wrongly considered
expired at the sender side. It is fixed in CVS. The patch is also
attached to this mail.

On Sat, Mar 22, 2003 at 09:15:14PM +0100, Robert Szelepcsenyi wrote:
> Hi,
> 
> 
> I have finally compiled the library on FreeBSD. For some reason the
> compilation process seems to think there is glibc present on the system
> (which is not on FreeBSD) and throws in a prototype for getopt.h, which
> conflicts with the standard library (stdlib). I commented out the offending
> declaration in getopt.h to get over the problematic point (a symptomatic
> treatment, but helped me to solve the problem quickly).
> 
> However, the demo program behaves EXACTLY THE SAME. Each second for about
> 1/2 second there are no packets. I used the demo program without any
> modification.
> 
> The problem might be in the CommonCPP library. However, I do not believe
> that very much, because the demo program keeps printing out dots
> continuously also for the packets that get lost. I would guess at some
> buffer or timestamp problem.
> 
> 
> Robert Szelepcsenyi
> 
> Output from tcpdump:
> 
> 
> 020023 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019992 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019975 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 020011 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 020000 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 020289 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019743 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 480042 127.0.0.1.3990 > 127.0.0.1.6102: udp 172 <=== !!!
> 019940 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019973 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 020055 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 020082 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019900 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019988 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019995 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 020580 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019765 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 019982 127.0.0.1.3990 > 127.0.0.1.6102: udp 172
> 

Attachment: patch-ccrtp-overflow.diff
Description: Text document


reply via email to

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