[mythtv] mythfilldatabase/tv_grab_de: Segmentation fault

Axel Thimm mythtv-dev@snowman.net
Wed, 13 Nov 2002 23:51:20 +0100


--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
=2E..). 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 tr=
ied
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/myth=
filldatabase
> --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 ------------------
>=20
> 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=3D@0x806d460) at filldata=
.cpp:111
> #3  0x0804b6c5 in parseProgram(QDomElement&) (element=3D@0xbffff5c0) at f=
illdata.cpp:194
> #4  0x0804c16b in parseFile(QString, QValueList<ChanInfo>*, QMap<QString,=
QValueList<ProgInfo> >*) (filename=3DCannot access memory at address 0x0) a=
t filldata.cpp:259
> #5  0x0804f6fd in grabData(Source, QString, int) (source=3DCannot access =
memory at address 0x0) at filldata.cpp:717
> #6  0x0804facf in fillData(QValueList<Source>&) (sourcelist=3D@0xbffff8d0=
) at filldata.cpp:745
> #7  0x080503f4 in main (argc=3D2, argv=3D0xbffff9b4) 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=3Dtv_grab_na
+str XMLTVGrab=3Dtv_grab_de
=20
 # Live TV options
 #
@@ -10,16 +10,16 @@
 # forcing an unpause.
 int MaxBufferFill=3D50
 # The desired path + name of the live tv buffer
-str BufferName=3D/mnt/store/ringbuf.nuv
+str BufferName=3D/usr/soft/ringbuf.nuv
 # Path to store recordings in
-str RecordFilePrefix=3D/mnt/store
+str RecordFilePrefix=3D/usr/soft
=20
 # Record settings
 #
 # Video settings
 #
 # Resolution to capture at
-int Width=3D480
+int Width=3D640
 int Height=3D480
 # What codec to use?  Tested values are rtjpeg (the default) and mpeg4
 str Codec=3Drtjpeg
@@ -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=3Dchannum + 0
-#
-# Which input on the tuner card to start on?
-str TunerCardInput=3DTelevision
=20
 # TV options
 #=20
 #
-str TVFormat=3DNTSC
+str TVFormat=3DPAL
 #
-str FreqTable=3Dus-cable
+str FreqTable=3Deurope-west
=20
 # Picture-in-picture options
 int PIPBufferSize=3D1
 int PIPMaxBufferFill=3D50
-str PIPBufferName=3D/mnt/store/ringbuf2.nuv
+str PIPBufferName=3D/usr/soft/ringbuf2.nuv
--=20
Axel.Thimm@physik.fu-berlin.de=20
--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE90tdoQBVS1GOamfERAqpnAJ9fyT6fI8NWx4hdeMg0O6JGCOaKhQCeL6qJ
lkCPK3Yl4e9k/HIJtEVQFS8=
=6bfg
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--