[Top][All Lists]
[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
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