ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Deadlock


From: Michel de Boer
Subject: Re: [Ccrtp-devel] Deadlock
Date: Tue, 01 Nov 2005 13:10:09 +0100
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

Thanks for your response. I don't know what glibc version this user has.
I have asked. But I doubt it is an old version as I believe he is
running NPTL instead of LinuxThreads.

The thread that actually hangs in the pthread_join() is not the
thread that was handling the RTP packets. The hanging thread
destroyed the SingleThreadRTPSession object thereby killing the
RTP thread. From the backtraces I have received it seems that
the RTP thread has exited (maybe even before the RTPSession object
is killed; I can't tell. So I would expect pthread_join()
to return immediately. I will see what more information I get
to solve this problem.


David Sugar wrote:
Which version of glibc was the target platform under?  I have seen very
odd problems like that in rather old glibc's, perhaps around the time of
Debian woody, with the older linuxthreads stuff, when a thread
terminates itself by exiting, and something later then tries to join
with it.

Michel de Boer wrote:


Hi,

I hope this mailing list is still alive. It has been very quiet here
recently.

A user of my SIP softphone Twinkle reported a deadlock situation to me.
The function backtrace showed the following:

#0  0x0000003f88f07105 in pthread_join () from /lib/libpthread.so.0
#1  0x00002aaaab008b48 in ost::Thread::terminate ()
  from /usr/lib/libccgnu2-1.3.so.1
#2  0x0000000000575f70 in ~SingleThreadRTPSession (this=0xb5e420,
   __vtt_parm=0x5c9b48) at rtp.h:456
#3  0x000000000057686e in ~t_twinkle_rtp_session (this=0xb5e420)
   at twinkle_rtp_session.h:10

Somehow it seems that the RTP session thread gets stuck in
pthread_join() forever.

Has someone else experience this problem? Or does somebody knows
how to solve it?

The problem is that I cannot reproduce this problem on my own
machine, so it is a bit hard to debug :-(

Best regards,
Michel


_______________________________________________
Ccrtp-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/ccrtp-devel






reply via email to

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