hi list
vdr 2.1.2 segfaults in libc, as soon as I use the terminal syntax (vdr --genindex) to recreate a missing index file. Trying the same thing in a user interface (vdr-sxfe) works as planed.
Here's a backtrace of what's happing:
/usr/local/src/vdr/vdr-2.1.2/vdr --genindex=/var/lib/video/True_blood/At_last/2013-11-29.00.30.203-0.rec/ Speicherzugriffsfehler (Speicherabzug geschrieben) gdb /usr/local/src/vdr/vdr-2.1.2/vdr ./core Reading symbols from /usr/local/src/vdr/vdr-2.1.2/vdr...done. Loaded symbols for /lib/i686/cmov/libc.so.6 <<snip>> Core was generated by `/usr/local/src/vdr/vdr-2.1.2/vdr --genindex=/var/lib/video/True_blood/At_l'. Program terminated with signal 11, Segmentation fault. #0 0xb7496df5 in ?? () from /lib/i686/cmov/libc.so.6 (gdb) bt #0 0xb7496df5 in ?? () from /lib/i686/cmov/libc.so.6 #1 0x0813b644 in strstr (this=0xbfb16560, FileName=0x82600a8 "/var/lib/video/True_blood/At_last/2013-11-29.00.30.203-0.rec") at /usr/include/string.h:335 #2 cRecording (this=0xbfb16560, FileName=0x82600a8 "/var/lib/video/True_blood/At_last/2013-11-29.00.30.203-0.rec") at recording.c:814 #3 0x0813be54 in GenerateIndex (FileName=0xbfb177ee "/var/lib/video/True_blood/At_last/2013-11-29.00.30.203-0.rec/") at recording.c:2679 #4 0x0818c589 in main (argc=2, argv=0xbfb16904) at vdr.c:345
vdr source is unpatched, built using "make LCLBLD=1"
OS is Ubuntu 12.04 & Debian/Squeeze. Any ideas what is causing this? Can somebody else reproduce this as well with an unpatched source?
Regards,
Lou@vdr-portal