[mythtv] mythfilldatabse crashes wenn inserting data.

Malits, Markus mythtv-dev@snowman.net
Thu, 14 Nov 2002 16:05:08 +0100


Hi,

I got a problem with mythfilldatabase. It crashes after getting the xmltv
stuff.
I did a recompile with debug on, and did a run with gdb.
Thats where it crashes:

[New Thread 1024 (LWP 14261)]
----------------- Start of XMLTV output -----------------
couldn't get all of 7 days, only 3
downloading listings: ##################################################
------------------ End of XMLTV output ------------------

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 14261)]
0x4083a51e in __strtol_internal () from /lib/libc.so.6
(gdb) bt
#0  0x4083a51e in __strtol_internal () from /lib/libc.so.6
#1  0x40837d95 in atoi () from /lib/libc.so.6
#2  0x0804a604 in fromXMLTVDate (text=@0x8072178) at filldata.cpp:111
#3  0x0804b3ad in parseProgram (element=@0xbffff48c)
    at filldata.cpp:194
#4  0x0804bd98 in parseFile (filename=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x805ab68, static shared_null = 0x805ab68}, d = 0xbffff550,
static shared_null = 0x805ab68}, chanlist=0xbffff5e8, 
    proglist=0xbffff5e4) at filldata.cpp:259
#5  0x0804f569 in grabData (source=
        {id = -1073744344, name = {static null = {static null = <same as
static member of an already seen type>, d = 0x805ab68, static shared_null =
0x805ab68}, d = 0xbffff630, static shared_null = 0x805ab68}}, 
    xmltv_grabber=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x805ab68, static shared_null = 0x805ab68}, d = 0xbffff630,
static shared_null = 0x805ab68}, offset=-1) at filldata.cpp:717
#6  0x0804f9fa in fillData (sourcelist=@0xbffff688)
    at filldata.cpp:745
#7  0x08050183 in main (argc=1, argv=0xbffff744) at filldata.cpp:842
---Type <return> to continue, or q <return> to quit---
#8  0x408259ed in __libc_start_main () from /lib/libc.so.6
(gdb) 

would be cool if you can help me out! 
cheers, markus