Mailing List archive

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

[vdr] Re: "Broken pipe" back again!




Klaus Schmidinger schrieb:
Gerhard Steiner wrote:

Hello,
I am using vdr 1.2.1 together with the patches from andreas
kool.
As I have to get the epg-data externaly, I am using
xmltv2vdr which uses svdrp to get the data into vdr.

Till yesterday this worked fine.
Now I am getting the following error:
Jul 13 13:27:20 firix vdr[3565]: connect from 127.0.0.1,
port 1963 - accepted
Jul 13 13:27:24 firix vdr[3565]: lost connection to SVDRP
client
Jul 13 13:27:24 firix vdr[3565]: ERROR (svdrp.c,354):
Broken pipe
Jul 13 13:27:24 firix vdr[3565]: closing SVDRP connection

I put some logging messages into the code.
It seams, that within the function safe_read "read" returns
0 and the errorno=1 (EAGAIN).
I don't know why this happens, but it also occurs in
vdr-1.2.1 plain vanilla.

Try changing line 1108 in VDR/svdrp.c from

           else if (r <= 0) {

to

           else if (r < 0) {

Klaus
Hi,
i solved the problem by adding a few sleep's to the exit routine
from xmltv2vdr.pl:
 ProcessEpg($descv);

 # Lets get out of here! :-)
+sleep 1;
 SVDRPsend("QUIT");
+sleep 1;
 SVDRPreceive(221);

+sleep 1;
 close(SOCK);


until now i have not seen any further errors (broken pipe/missing epg)

Regards Onno



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index