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



Dr. Werner Fink wrote:
> 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?

This is the vdr-1.2.6 package + thread.[ch] from vdr 1.3.9 + your
patch + LOCK_THREADs in cDvbDevice. I have no idea which threads
lock up.

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
vdr       7874  0.0  0.6 13420 3520 pts/21   -    15:02   0:00 /var/tmp/build-root.compile
vdr          -  0.0    -     -    - -        S+   15:02   0:00 -
vdr          -  0.0    -     -    - -        S+   15:02   0:00 -
vdr          -  0.0    -     -    - -        S+   15:02   0:00 -
vdr          -  0.1    -     -    - -        S+   15:04   0:00 -
vdr          -  0.0    -     -    - -        S+   15:04   0:00 -

cu
Ludwig

-- 
(o_  Ludwig.Nussel@gmx.de
//\  PGP Key ID: FF8135CE
V_/_ ICQ:        52166811




Home | Main Index | Thread Index