Mailing List Archive

mythfilldatabase/tv_grab_de: Segmentation fault
I am trying to get mythtv running on a RedHat 8.0/bttv system. I have
installed all prerequisite software (reminding me of Hercules' Hydra
...). After running setup, `mythfilldatabase --manual' is segfaulting on me.

I read in the list's archives about some fixes commited a week ago, so I tried
again with the cvs tarball, which gave me the same result. Here is the
backtrace from the debug-enabled cvs-version:

> (gdb) r
> Starting program:
> /amd/puariko/0/usr_src/redhat/BUILD/cvs/MC/programs/mythfilldatabase/mythfilldatabase
> --manual
> [New Thread 8192 (LWP 31724)]
> ###
> ### Running in manual channel configuration mode.
> ### This will ask you questions about every channel.
> ###
> ----------------- Start of XMLTV output -----------------
> couldn't get all of 7 days, only 4
> ------------------ End of XMLTV output ------------------
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 8192 (LWP 31724)]
> 0x4202c5b1 in __strtol_internal () from /lib/i686/libc.so.6
> (gdb) backtrace
> #0 0x4202c5b1 in __strtol_internal () from /lib/i686/libc.so.6
> #1 0x42029e19 in atoi () from /lib/i686/libc.so.6
> #2 0x0804a7c5 in fromXMLTVDate(QString&) (text=@0x806d460) at filldata.cpp:111
> #3 0x0804b6c5 in parseProgram(QDomElement&) (element=@0xbffff5c0) at filldata.cpp:194
> #4 0x0804c16b in parseFile(QString, QValueList<ChanInfo>*, QMap<QString,QValueList<ProgInfo> >*) (filename=Cannot access memory at address 0x0) at filldata.cpp:259
> #5 0x0804f6fd in grabData(Source, QString, int) (source=Cannot access memory at address 0x0) at filldata.cpp:717
> #6 0x0804facf in fillData(QValueList<Source>&) (sourcelist=@0xbffff8d0) at filldata.cpp:745
> #7 0x080503f4 in main (argc=2, argv=0xbffff9b4) at filldata.cpp:842
> #8 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6

Here are the changes I made to settings.txt:

--- /usr/share/mythtv/settings.txt.org 2002-11-12 06:52:33.000000000 +0100
+++ /usr/share/mythtv/settings.txt 2002-11-13 17:45:20.000000000 +0100
@@ -1,5 +1,5 @@
# XMLTV grabber to use
-str XMLTVGrab=tv_grab_na
+str XMLTVGrab=tv_grab_de

# Live TV options
#
@@ -10,16 +10,16 @@
# forcing an unpause.
int MaxBufferFill=50
# The desired path + name of the live tv buffer
-str BufferName=/mnt/store/ringbuf.nuv
+str BufferName=/usr/soft/ringbuf.nuv
# Path to store recordings in
-str RecordFilePrefix=/mnt/store
+str RecordFilePrefix=/usr/soft

# Record settings
#
# Video settings
#
# Resolution to capture at
-int Width=480
+int Width=640
int Height=480
# What codec to use? Tested values are rtjpeg (the default) and mpeg4
str Codec=rtjpeg
@@ -95,18 +95,15 @@
# chanid sorts according to the internal database order
# callsign sorts according to the channel's callsign, like TVLAN, TWC, USA
str ChannelOrdering=channum + 0
-#
-# Which input on the tuner card to start on?
-str TunerCardInput=Television

# TV options
#
#
-str TVFormat=NTSC
+str TVFormat=PAL
#
-str FreqTable=us-cable
+str FreqTable=europe-west

# Picture-in-picture options
int PIPBufferSize=1
int PIPMaxBufferFill=50
-str PIPBufferName=/mnt/store/ringbuf2.nuv
+str PIPBufferName=/usr/soft/ringbuf2.nuv
--
Axel.Thimm@physik.fu-berlin.de