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

Juergen Judt chuck-vdr at nikmo.de
Tue Oct 25 01:41:04 CEST 2011


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



-------------- next part --------------

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 at 3:0:504 to 601+601=2:602=deu at 3:0:604
Oct 25 00:04:58 HTCP vdr: [12852] changing pids of channel 80 from 2801+2801=2:2802=deu at 3,2803=mis at 3:0:2904 to 2901+2901=2:2902=deu at 3,2903=mis at 3:0:2904
Oct 25 00:04:59 HTCP vdr: [12852] changing pids of channel 82 from 3001+3001=2:3002=deu at 3,3003=mis at 3:0:2904 to 2901+2901=2:2902=deu at 3,2903=mis at 3:0:2904
Oct 25 00:05:18 HTCP kernel: [27954.490184] section handler[12852]: segfault at 30000010d ip 00000000004f8fe9 sp 00007fa93f7fc558 error 4 in vdr[400000+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  0x0000000000482cbc in cEIT::cEIT (this=0x7fa93f7fcd10, Schedules=0x7634e0, Source=1124073472, Tid=81 'Q', Data=<value optimized out>, OnlyRunningStatus=false)
    at eit.c:68
#2  0x000000000048410b 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  0x00000000004d5e4c in cSectionHandler::Action (this=0x310de70) at sections.c:212
#4  0x00000000004ecadc in cThread::StartThread (Thread=0x310de70) at thread.c:257
#5  0x00007fa949cc9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fa94879404d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 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 at 4:0:0 to 0+0=0:4011=deu at 3:0:0
Oct 25 01:05:02 HTCP vdr: [21320] changing pids of channel 159 from 0+0=0:4021=deu at 4;4022=deu at 106:0:0 to 0+0=0:4021=deu at 3;4022=deu at 106:0:0
Oct 25 01:05:02 HTCP vdr: [21320] changing pids of channel 160 from 0+0=0:4031=deu at 4:0:0 to 0+0=0:4031=deu at 3:0:0
Oct 25 01:05:05 HTCP vdr: [21320] changing pids of channel 320 from 523+523=2:524=esl at 4,3573=qaa at 4:0:528 to 523+523=2:524=esl at 4,3573=qaa at 4:3572=esl:528
Oct 25 01:05:07 HTCP kernel: [31543.552222] section handler[21320]: segfault at 30000010d ip 00000000004eca19 sp 00007f4fe6705558 error 4 in vdr[400000+14a000]
Oct 25 01:05:07 HTCP init: vdr main process (21230) killed by SEGV signal
Oct 25 01:05:07 HTCP init: vdr-frontend main process (21246) terminated with status 1
Oct 25 01:05:07 HTCP vdr-crash: vdr exit with signal SEGV . Restarting
Oct 25 01:05:08 HTCP vdr: [21528] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 25 01:05:08 HTCP vdr: [21568] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 25 01:05:08 HTCP vdr: [21554] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 25 01:05:08 HTCP vdr: [21554] VDR version 1.7.16 started
Oct 25 01:05:08 HTCP vdr: [21554] switched to user 'vdr'
Oct 25 01:05:08 HTCP vdr: [21554] codeset is 'UTF-8' - known
Oct 25 01:05:08 HTCP vdr: [21554] found 27 locales in /home/chuck/VDR/VDR/locale
Oct 25 01:05:08 HTCP vdr: [21554] no locale for language code 'por'
Oct 25 01:05:08 HTCP vdr: [21554] loading plugin: /home/chuck/VDR/VDR/PLUGINS/lib/libvdr-xine.so.1.7.16
Oct 25 01:05:08 HTCP vdr: [21554] loading /home/chuck/VDR/var/lib/vdr/setup.conf

Core was generated by `/home/chuck/VDR/VDR/vdr --lirc=/var/run/lirc/lircd -v /srv/vdr/video.00 -c /hom'.
Program terminated with signal 11, Segmentation fault.
#0  cHashBase::Get (this=0x38ad9d8, Id=1319416200) at tools.c:1936
1936             if (hob->id == Id)
(gdb) bt
#0  cHashBase::Get (this=0x38ad9d8, Id=1319416200) at tools.c:1936
#1  0x000000000047ebfc in cEIT::cEIT (this=0x7f4fe6705d10, Schedules=0x753480, Source=1124073472, Tid=80 'P', Data=<value optimized out>, OnlyRunningStatus=false)
    at eit.c:68
#2  0x000000000048004b in cEitFilter::Process (this=0x7f4fe02091e0, Pid=<value optimized out>, Tid=80 'P',
    Data=0x7f4fe6705e40 "P\366\035ZA", <incomplete sequence \355>, Length=<value optimized out>) at eit.c:382
#3  0x00000000004c9b7c in cSectionHandler::Action (this=0x7f4fe020b660) at sections.c:212
#4  0x00000000004e099c in cThread::StartThread (Thread=0x7f4fe020b660) at thread.c:257
#5  0x00007f4fec64cd8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f4feb11704d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()


VDR-1.7.15
SYSLOG:

Oct 25 01:19:37 HTCP vdr: [22876] changing pids of channel 154 from 0+0=0:3831=deu at 4:0:0 to 0+0=0:3831=deu at 3:0:0
Oct 25 01:19:38 HTCP vdr: [22876] changing pids of channel 155 from 0+0=0:3841=deu at 4:0:0 to 0+0=0:3841=deu at 3:0:0
Oct 25 01:19:38 HTCP vdr: [22876] changing pids of channel 156 from 0+0=0:3851=deu at 4:0:0 to 0+0=0:3851=deu at 3:0:0
Oct 25 01:19:39 HTCP vdr: [22876] changing pids of channel 157 from 0+0=0:4001=deu at 4:0:0 to 0+0=0:4001=deu at 3:0:0
Oct 25 01:19:39 HTCP vdr: [22876] changing pids of channel 158 from 0+0=0:4011=deu at 4:0:0 to 0+0=0:4011=deu at 3:0:0
Oct 25 01:19:40 HTCP vdr: [22876] changing pids of channel 159 from 0+0=0:4021=deu at 4;4022=deu at 106:0:0 to 0+0=0:4021=deu at 3;4022=deu at 106:0:0
Oct 25 01:19:40 HTCP vdr: [22876] changing pids of channel 160 from 0+0=0:4031=deu at 4:0:0 to 0+0=0:4031=deu at 3:0:0
Oct 25 01:19:42 HTCP kernel: [32418.389344] section handler[22876]: segfault at 30000010d ip 00000000004ec839 sp 00007fbeaa7fa558 error 4 in vdr[400000+14a000]
Oct 25 01:19:42 HTCP init: vdr main process (22785) killed by SEGV signal
Oct 25 01:19:42 HTCP init: vdr-frontend main process (22800) terminated with status 1
Oct 25 01:19:42 HTCP vdr-crash: vdr exit with signal SEGV . Restarting
Oct 25 01:19:42 HTCP vdr: [23017] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 25 01:19:42 HTCP vdr: [23055] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 25 01:19:42 HTCP vdr: [23043] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 25 01:19:42 HTCP vdr: [23043] VDR version 1.7.15 started
Oct 25 01:19:42 HTCP vdr: [23043] switched to user 'vdr'
Oct 25 01:19:42 HTCP vdr: [23043] codeset is 'UTF-8' - known
Oct 25 01:19:42 HTCP vdr: [23043] found 26 locales in /home/chuck/VDR/VDR/locale
Oct 25 01:19:42 HTCP vdr: [23043] loading plugin: /home/chuck/VDR/VDR/PLUGINS/lib/libvdr-xine.so.1.7.15
Oct 25 01:19:42 HTCP vdr: [23043] loading /home/chuck/VDR/var/lib/vdr/setup.conf

Core was generated by `/home/chuck/VDR/VDR/vdr --lirc=/var/run/lirc/lircd -v /srv/vdr/video.00 -c /hom'.
Program terminated with signal 11, Segmentation fault.
#0  cHashBase::Get (this=0x4664ff8, Id=1319961600) at tools.c:1927
1927             if (hob->id == Id)
(gdb) bt
#0  cHashBase::Get (this=0x4664ff8, Id=1319961600) at tools.c:1927
#1  0x000000000047ea7c in cEIT::cEIT (this=0x7fbeaa7fad10, Schedules=0x753420, Source=1124073472, Tid=81 'Q', Data=<value optimized out>, OnlyRunningStatus=false)
    at eit.c:68
#2  0x000000000047fecb in cEitFilter::Process (this=0x7fbeac0d7130, Pid=<value optimized out>, Tid=81 'Q', Data=0x7fbeaa7fae40 "Q\360\256ZE?",
    Length=<value optimized out>) at eit.c:382
#3  0x00000000004c99ec in cSectionHandler::Action (this=0x7fbeac0ee6a0) at sections.c:212
#4  0x00000000004e080c in cThread::StartThread (Thread=0x7fbeac0ee6a0) at thread.c:257
#5  0x00007fbeb4781d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fbeb324c04d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()






More information about the vdr mailing list