Mailing List archive

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

[vdr] Re: Driver or VDR Problem setting and jusageing cutmarks on Nexus 2.1



On Sat, Jun 05, 2004 at 07:13:35PM +0200, Ludwig Nussel wrote:
> Dr. Werner Fink wrote:
> > On Fri, Jun 04, 2004 at 10:09:28PM +0200, Andreas Share wrote:
> > > i have tested the patch, but it does not work for me. I have the same
> > > problem as before....if i use the nptl enabled glibc pthread libs (/lib/i686
> > > & /lib/tls) the rcu expansion does not work anymore (hang) and all vdr
> > > threats runīs at least with only one pid. I dont have tested setting and
> > > moving cutmarks....
> > 
> > Normally the threads based on NPTL do have only one process and therefore
> > only one pid.  This is the reason why for signal handling the masks have to
> > be set appropiate for each thread and the process to be sure that the
> > thread which should reveive a signal does get it (-> POSIX requires this).
> > The simple way as for the old pthread does not work ... or better the
> > result is not predictable within NPTL.
> 
> I doubt it's only the signal handling. It looks like a
> synchronization problem to me. It seems vdr tries to play the
> recording and display the still picture at the same time when
> jumping between cutmarks. I added some LOCK_THREAD into cDvbDevice
> functions, that makes at least the displayed garbage go away but
> there are still hangs or even deadlocks.

Could you detect the thread which locked up?   What does
ps -um --pid <pid_of_vdr> say?

         Werner

-- 
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
 "Having a smoking section in a restaurant is like having
         a  peeing section in a swimming pool." -- Edward Burr




Home | Main Index | Thread Index