9 May
2017
9 May
'17
11:41 a.m.
Hi Jose,
I maintain a PTLib fork that I use for GnuGk and all my other H323Plus projects in the GnuGk CVS. Its a fork based on PTLib 2.10.9. http://openh323gk.cvs.sourceforge.net/viewvc/openh323gk/ptlib/
But the locking issue H323Plus commit refers to is a PTimedMutex locking issue on a H323Connection object, not on UDP sockets.
Regards, Jan
--
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail : jan@willamowius.de
Website: https://www.gnugk.org
Support: https://www.willamowius.com/gnugk-support.html
Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Geschäftsführer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584
Jose Uceda wrote:
> Hi all,
>
> In one of our softwares which uses the H323+ library, we are
> recently suffering from lockups when the calls are disconnecting. It's
> currently running with H323+ from CVS and PTLib 2.12.8.
>
> As far as we have been able to trace, it seems to be that the RTP
> UDP socket or signalling channel sometimes remains in a loop and they
> don't close as expected (log says Broken Pipe errors, eg). That issue
> causes the call is not finished correctly, and it seems to leave the
> cleaner thread in a stuck state so subsequent calls are no longer hanged
> up (at least we don't receive OnCleared event anymore).
>
> When we were trying to debug the problem, we saw that the issue
> became worse with PTLib 2.12.9, and we also suffered from many more
> locks with the 1,175 h323.cxx file revision, which was reverted about a
> month later.
>
> The comment from the commit that reverts 1,175 revision reads as
> follows:
> "Always calling Wait (0) on mutex can cause issues with lock nesting,
> move fix to PTLib fork"
>
> Is there any fork of PTLib in some repository that we haven't
> noticed about it, that is the official one to use with H323+?
>
> Thanks in advance.
>
> Regards,
>
> Jose Uceda
>
>