25.01.2015 13:21, Klaus Schmidinger kirjutas:
On 23.01.2015 16:43, Adam Juraszek wrote:
On Fri, Jan 23, 2015 at 11:23 AM, Klaus Schmidinger
<Klaus.Schmidinger@xxxxxxx> wrote:
On 22.01.2015 15:51, Adam Juraszek wrote:
Hello,
I have a few months old system with vdr 2.0.6. VDR is used only as a
backend for xbmc (via xvdr plugin).
Everything works fine except for a few lags which I tracked to VDR
creating new channels every now and then. When I checked the channels
I noticed there are duplicates (there are 36374 channels and many of
them are there about 500 times). I wouldn't be surprised if vdr would
suffer performance problem with such number of channels.
See the setup.conf (not changed in months), syslog and part of
channels (got by LSTC command) and stats:
https://gist.github.com/juriad/2b635ef475a6ddf829ab
Why VDR creates duplicate channels?
Is there problem with my configuration or is it a bug in vdr?
What other information shall I provide?
Looks like VDR doesn't find an existing channel in its Channels list
when it encounters a new version of the SDT. At the moment I have no
idea how that could happen.
Is this a plain vanilla, unpatched version 2.0.6 of VDR?
Klaus
Yes, it is unpatched version (just checked diff againts
vdr-2.0.6.tar.bz2).
I tried to use gdb to see what is happening.
Anyway, the backtrace of call of method cChannels::NewChannel is:
#0 cChannels::NewChannel (this=0x76b800 <Channels>,
Transponder=0xf992a0, Name=Name@entry=0x7f74ce78fdf0 "CT 1 HD",
ShortName=ShortName@entry=0x7f74ce790df0 "",
Provider=Provider@entry=0x7f74ce791df0 "Towercom",
Nid=Nid@entry=3, Tid=3234, Sid=4901, Rid=0) at channels.c:1013
#1 0x00000000004d64ee in cSdtFilter::Process (this=0xf9aa40,
Pid=<optimized out>, Tid=<optimized out>, Data=<optimized out>,
Length=<optimized out>) at sdt.c:105
#2 0x00000000004d727c in cSectionHandler::Action (this=0xfa41e0) at
sections.c:211
#3 0x00000000004f8b23 in cThread::StartThread (Thread=0xfa41e0) at
thread.c:262
#4 0x00007f74d79920a4 in start_thread (arg=0x7f74ce794700) at
pthread_create.c:309
#5 0x00007f74d63acccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
I tried to create a core-dump but gdb failed to do so.
Maybe you can add some debug output when a channel named "CT 1 HD" is
encountered in the SDT and then searched for in the Channels list.
Since the channel apparently *is* in the list, the search for it
seems to fail at some point. We need to find out the reason for that.
Klaus
Is there any progress?
Maybe my problem related to this too. I just jumped from vdr-2.1.6 to
the 2.1.8 and now I have many false OBSOLETE channels.
For example, i have channel (svdrpsend printout):
875 TV11:11804:hM2O0S0:S4.8E:27500:6001=2:6002=@3:6006:90F,93E:6000:86:8:0
but this and any other channels on that transponder marked as OBSOLETE:
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'TV11,;' on
S4.8E transponder 111804 with id 86-8-6000-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'TV 2
Filmkanalen,;Viasat' on S4.8E transponder 111804 with id 86-8-6010-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'Ticket,;' on
S4.8E transponder 111804 with id 86-8-6020-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'MTV NO,;' on
S4.8E transponder 111804 with id 86-8-6040-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat
History,;' on S4.8E transponder 111804 with id 86-8-6050-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat Sport
Baltic,;' on S4.8E transponder 111804 with id 86-8-6060-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'Sjuan,;' on
S4.8E transponder 111804 with id 86-8-6080-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'TV4 Film,;' on
S4.8E transponder 111804 with id 86-8-6090-0
Feb 2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat Nature
East,;' on S4.8E transponder 111804 with id 86-8-6030-0
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 822 from
'Viasat Sport Baltic,;' to 'Viasat Sport Baltic OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 875 from
'TV11,;' to 'TV11 OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 876 from 'TV
2 Filmkanalen,;' to 'TV 2 Filmkanalen OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 877 from
'Viasat History,;' to 'Viasat History OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 878 from
'Sjuan,;' to 'Sjuan OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 879 from
'TV4 Film,;' to 'TV4 Film OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 880 from
'Viasat Nature East,;' to 'Viasat Nature East OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 888 from
'MTV NO,;' to 'MTV NO OBSOLETE,;OBSOLETE '
Feb 2 22:14:50 akovdr vdr: [5269] changing name of channel 945 from
'Ticket,;' to 'Ticket OBSOLETE,;OBSOLETE '
At the same time this problem not occurred with DVB-C channels.
250 2 ETV2:266000:C0M256:C:6875:300=2:310=est@3,311=est@3:0:B00:1004:16:1:0
In the DVB settings UpdateChannels = 4 selected.
br,
Arthur
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr