Xine-devel
[Top][All Lists]
Advanced

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

Re: [xine-devel] Xine 1.1.0 thread bug wont't xine_stop


To: Barry Scott <barry.scott@xxxxxxxxxxxx>
Subject: Re: [xine-devel] Xine 1.1.0 thread bug wont't xine_stop
From: Thibaut Mattern <thibaut.mattern@xxxxxxxxx>
Date: Tue, 27 Sep 2005 12:59:11 +0200
Cc: xine-devel <xine-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivered-to: itdp@localhost
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hgJ7GsrX8AustqyKi8kXbFCF+vV0ji6dSEV6DGAwI0F4tfDsXXLL7k4oNnrAuTCF4VmUCokYMg5/WNrKdxCGfZgOtanLQB/mdmbhwu16b5PXtM/hu301eoyCA/A6zJ1OgGLsII5QuIXdalxdPMzkk2PdNvxLcqSnVZBboICTIjU=
In-reply-to: <7531f3630509270336bea5949@mail.gmail.com>
References: <43391A6E.8010008@onelan.co.uk> <7531f3630509270336bea5949@mail.gmail.com>

On 9/27/05, Thibaut Mattern <thibaut.mattern@xxxxxxxxx> wrote:
> Hi,
>
> On 9/27/05, Barry Scott <barry.scott@xxxxxxxxxxxx> wrote:
> > I'm seeing an intermittent problem with xine_stop failing to return.
> > I'm running a play list that contains mpeg2, v4l, mpeg2 dvbt in
> > a loop. This is on FC4 with xine compiled with gcc32.
> >
> > thread 1 has called xine_stop and its stuck in pthread_cond_wait.
> > Which thread is not responding and blocking the stop? What can
> > check for to help debug this problem?
>
> i don't understand very well the ticket system, but i guess there is
> someting interesting here:
>
> frontend thread in ticket_acquire (this=0x96112b0, irrevocable=1)
> video decoder thread in ticket_renew (this=0x96112b0, irrevocable=0)

If i understand correctly, the ticket is revoqued, and the engine is paused.
So if the above is correct, xine_stop while paused will always
deadlock because the ticket is ussued after the ticket_acquire call.

i hope i'm wrong, Michael ?

Thibaut


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xine-devel mailing list
xine-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xine-devel


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