Re: [vdr] VDR segfault with cable provider Unitymedia (DE)

2011-10-25 Thread Juergen Judt

Zitat von Udo Richter udo_rich...@gmx.de:


Am 25.10.2011 01:41, schrieb Juergen Judt:

I have problems with the VDR because I get segfaults every ~5-10 minutes.
Similar problems are also reported in the VDR-Portal --
www.vdr-portal.de/board60-linux/board14-betriebssystem/board69-c-t-vdr/p1025768-segfault-mit-vdr-1-7-21/?highlight=#post1025768


The reason seems to be that for some reason d-getDescriptorNumber()  
is greater than d-getLastDescriptorNumber().


Did you try the patch that Zabrimus posted on Oct 11? It doesn't fix  
the invalid descriptor number, but at least it handles the bug  
gracefully and doesn't crash any more.


Cheers,

Udo



No I didn't try the fix, for me it was temp. enough to set the update  
channel to Names and PIDs.
I did not saw in the Portal thread, that you have already inform  
Klaus. So that I thought I post this issue to the VDR mailing list, to  
test maybe something and to solve this problem maybe in the next VDR  
version.


Bye,
Juergen


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] VDR segfault with cable provider Unitymedia (DE)

2011-10-24 Thread Juergen Judt

vdr-1.7.21 segfault by cable provider unitymedia (DE)

Hi,

I have problems with the VDR because I get segfaults every ~5-10 minutes.
Similar problems are also reported in the VDR-Portal --  
www.vdr-portal.de/board60-linux/board14-betriebssystem/board69-c-t-vdr/p1025768-segfault-mit-vdr-1-7-21/?highlight=#post1025768  
.


The failure / segfault must have something to do with the EPG scan..
When I limit the channels.conf and set in the DVB menu -- Update  
Channels to Names and PIDs it works without segfaults.


In case that the cable provider Unitymedia send wrong data, I assume  
the vdr should not make a segfault.


I make some test with different (unpatched=vanilla VDR) VDR version,  
but all with the same result -- segfault (see attachment).

So it seems that the cable provider send something what let the VDR crash :( .

Do you have any idea or patch?
Can I test something with special syslog information?

Bye,
Juergen




VDR-1.7.21
SYSLOG:

Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 215 from '480 - 
18:45,;' to '484 - 23:00,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 218 from '480 - 
19:30,;' to '484 - 23:30,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 222 from '463 - 
18:45,;' to '483 - 22:45,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 221 from '463 - 
18:00,;' to '493 - 22:30,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 219 from '487 - 
18:30,;' to '463 - 23:00,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 216 from '465 - 
18:30,;' to '477 - 22:45,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 217 from '437 - 
18:15,;' to '464 - 22:30,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 220 from '447 - 
18:30,;' to '475 - 22:45,;'
Oct 25 00:02:49 HTCP vdr: [12852] changing name of channel 223 from '998 - 
23:00,;undefined' to '400 - 23:30,;'
Oct 25 00:02:49 HTCP vdr: [12852] linking channel 44 from none to 215 218 222 
221 219 216 217 220 223
Oct 25 00:02:50 HTCP vdr: [12852] changing name of channel 32 from 'X-treme,;' 
to 'Sky Sport 1,Sport1;SKY'
Oct 25 00:02:50 HTCP vdr: [12852] changing name of channel 33 from 'Golf,;' to 
'Sky Sport 2,Sport2;SKY'
Oct 25 00:02:50 HTCP vdr: [12852] changing name of channel 30 from '2. Liga,;' 
to 'Sky Bundesliga,Sky Buli;SKY'
Oct 25 00:03:51 HTCP vdr: [12852] changing pids of channel 297 from 0+0=0:0:0:0 
to 0+0=0:0:0:0
Oct 25 00:04:55 HTCP vdr: [12852] changing pids of channel 87 from 
501+501=2:502=deu@3:0:504 to 601+601=2:602=deu@3:0:604
Oct 25 00:04:58 HTCP vdr: [12852] changing pids of channel 80 from 
2801+2801=2:2802=deu@3,2803=mis@3:0:2904 to 
2901+2901=2:2902=deu@3,2903=mis@3:0:2904
Oct 25 00:04:59 HTCP vdr: [12852] changing pids of channel 82 from 
3001+3001=2:3002=deu@3,3003=mis@3:0:2904 to 
2901+2901=2:2902=deu@3,2903=mis@3:0:2904
Oct 25 00:05:18 HTCP kernel: [27954.490184] section handler[12852]: segfault at 
3010d ip 004f8fe9 sp 7fa93f7fc558 error 4 in vdr[40+15a000]
Oct 25 00:05:18 HTCP init: vdr main process (12761) killed by SEGV signal
Oct 25 00:05:18 HTCP init: vdr-frontend main process (12776) terminated with 
status 1
Oct 25 00:05:18 HTCP vdr-crash: vdr exit with signal SEGV . Restarting
Oct 25 00:05:19 HTCP vdr: [13117] VDR version 1.7.21 started
Oct 25 00:05:19 HTCP vdr: [13117] switched to user 'vdr'
Oct 25 00:05:19 HTCP vdr: [13117] codeset is 'UTF-8' - known
Oct 25 00:05:19 HTCP vdr: [13117] found 28 locales in 
/home/chuck/VDR/vdr-1.7.21/locale
Oct 25 00:05:19 HTCP vdr: [13117] loading plugin: 
/home/chuck/VDR/vdr-1.7.21/PLUGINS/lib/libvdr-xine.so.1.7.21
Oct 25 00:05:19 HTCP vdr: [13117] loading /home/chuck/VDR/var/lib/vdr/setup.conf

Core was generated by `/home/chuck/VDR/vdr-1.7.21/vdr 
--lirc=/var/run/lirc/lircd -v /srv/vdr/video.00'.
Program terminated with signal 11, Segmentation fault.
#0  cHashBase::Get (this=0x39881c8, Id=1319817600) at tools.c:1992
1992 if (hob-id == Id)
(gdb) bt
#0  cHashBase::Get (this=0x39881c8, Id=1319817600) at tools.c:1992
#1  0x00482cbc in cEIT::cEIT (this=0x7fa93f7fcd10, Schedules=0x7634e0, 
Source=1124073472, Tid=81 'Q', Data=value optimized out, 
OnlyRunningStatus=false)
at eit.c:68
#2  0x0048410b in cEitFilter::Process (this=0x7fa940088650, Pid=value 
optimized out, Tid=81 'Q', Data=0x7fa93f7fce40 Q\360\310Z?\341(\240,
Length=value optimized out) at eit.c:382
#3  0x004d5e4c in cSectionHandler::Action (this=0x310de70) at 
sections.c:212
#4  0x004ecadc in cThread::StartThread (Thread=0x310de70) at 
thread.c:257
#5  0x7fa949cc9d8c in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x7fa94879404d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x in ?? ()


VDR-1.7.16
SYSLOG:

Oct 25 01:05:01 HTCP vdr: [21320] changing pids of channel 158 from 
0+0=0:4011=deu@4:0:0 to 0+0=0:4011=deu@3:0:0
Oct 25 01:05:02 HTCP vdr: [21320] changing pids of channel 159 from