I've compiled vdr on alpinelinux 2.5.0 and get a segfault during
start of vdr.
Even without plugins I get this segfault (I didn't apply any patch to
vdr sources).
Vdr was started with the command:

/usr/local/bin/vdr --config=/etc/vdr --epgfile=/tmp/epg.data --grab=/dev/shm 
--log=3.1 --mute --no-kbd --user=root --video=/remote/vdr/

I've made a backtrace with gdb:

vdrservernew:/tmp# gdb --core core /usr/local/bin/vdr
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/local/bin/vdr...done.
[New LWP 26493]
[New LWP 26492]
[New LWP 26494]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/local/bin/vdr --config=/etc/vdr 
--epgfile=/tmp/epg.data --grab=/dev/shm --'.
Program terminated with signal 11, Segmentation fault.
#0  skipspace (s=0x40800000 <Address 0x40800000 out of bounds>) at tools.h:196
196       if ((uchar)*s > ' ') // most strings don't have any leading space, so 
handle this case as fast as possible
(gdb) bt
#0  skipspace (s=0x40800000 <Address 0x40800000 out of bounds>) at tools.h:196
#1  isempty (s=0x40800000 <Address 0x40800000 out of bounds>) at tools.c:249
#2  0x00000000004a1eb9 in FromString (s=0x2e531d2 "1 01 deu 4:3", 
this=0x2e4aba0) at epg.c:36
#3  cComponents::SetComponent (this=<optimized out>, Index=0, 
s=s@entry=0x2e531d2 "1 01 deu 4:3") at epg.c:81
#4  0x00000000004a40f3 in cEvent::Parse (this=0x2e43360, s=<optimized out>) at 
#5  0x00000000004e9ea6 in cRecordingInfo::Read (this=0x2e2d110, 
f=f@entry=0x2e2c330) at recording.c:468
#6  0x00000000004eb4e3 in cRecording::cRecording (this=0x2e2c650, 
FileName=0x2e4c15c "Sex_and_the_City_2/2012-11-") at 
#7  0x00000000004eceb1 in cRecordings::ScanVideoDir (this=0x7fe7c0 
<Recordings>, DirName=0x2e412b0 "/remote/vdr/Sex_and_the_City_2", 
Foreground=false, LinkLevel=0) at recording.c:1165
#8  0x00000000004ed32c in cRecordings::ScanVideoDir (this=0x7fe7c0 
<Recordings>, DirName=0x2e25ff0 "/remote/vdr", Foreground=false, LinkLevel=0) 
at recording.c:1180
#9  0x000000000052694e in cThread::StartThread (Thread=0x7fe7e0 
<Recordings+32>) at thread.c:262
#10 0x00006e6b7ce69406 in start_thread () from /lib/libpthread.so.0.9.32
#11 0x00006e6b7ce61885 in clone () from /lib/libpthread.so.0.9.32
#12 0x0000000000000000 in ?? ()

does anybody see what is wrong here ?



I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

vdr mailing list

Reply via email to