Mailing List archive

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

[vdr] R: Re: Complete all-in-one safe threading patch for vanilla vdr-1.3.17 (with poison)



Hi all,
I need your help because I am becoming crazy :-).
After more than a month of tests I am not able to create a working
client-server VDR environment.
I tried a lot o VDR (1.3.12 -> 1.3.17) and plugins versions (streamdev and
xine) but I had always the same problem.

On the client side, my vdr crashes during a fast channel switching, I get:
ERROR: thread XXXXXX won't end (waited 3 seconds) - cancelling it... 
And then a segmentation fault error.

I traced this problem and i had this dump:

#0  0x40051300 in sem_timedwait () from /lib/libpthread.so.0
#1  0x4004dbea in pthread_mutex_unlock () from /lib/libpthread.so.0
#2  0x4033f670 in cStreamdevAssembler::Action (this=0x8256ad0) at
client/assembler.c:86
#3  0x080d0a98 in cThread::StartThread (Thread=0x8256ad0) at thread.c:189
#4  0x4004ccc4 in pthread_detach () from /lib/libpthread.so.0
#5  0x40259037 in clone () from /lib/libc.so.6 

My last configuration is:
Server side:
Kernel 2.4.25 DVB driver 1.1.1 VDR 1.3.12 and streamdev-0.3.3-pre3-geni
Client side:
Kernel 2.6.7 VDR 1.3.17 (poison patched, streamdev-0.3.3-pre3-geni (pioson
patched) and xine 0.6.0 (poison patched)
NO CAM installed

I never activated NPTL, do you think it could solve the problem?

Does anyone has a runnig VDR streamdev client server architecture? If yes,
could you describe it?

CYM suggested me to disable "Suspend mode" but, with that configuration I am
not able to have a full control of the server machine that is my priority.

Thanks for you help

	Cristiano


vdr-bounce@linuxtv.org wrote:
> Cristiano wrote:
>> Hi Mr C.Y.M.
>> I am sorry to trouble you but I need help from you.
>> 
>> 
>>> This cumulative version (Rev3) of the all-in-one patch includes
>>> Rainer's tools.[ch] safe threading fixes.
>> 
>> 
>> I had "thread problems" switching VDR channel on a streamdev client
>> (VDR 1.3.17, streamdev 0.3.3 pre4 patched, xine 0.6.0 patched) so I
>> tried to apply safe threading patch (rev 2) to VDR and poison patch
>> to plugins but i don't solve my problems, VDR crash again switching
>> channel. 
>> 
>> Do I miss something, Do I have to compile my kernel (slackware 10,
>> 2.4.26) with some option activated?
>> 
> 
> If I disable "suspend mode" vdr does not seem to crash with streaming.
> Switching channels with the client in "suspend mode" is what
> I am assuming you are referring to?  Yes, there are still
> some threading problems with vdr to be worked out.  When it
> locks up, I get an error similar to this:
> 
> vdr[9972]: ERROR: thread 1671177 won't end (waited 3 seconds) -
> cancelling it... 
> 
> Please forward to list so everyone can benefit from your observations.





Home | Main Index | Thread Index