[mythtv] [EXPerimental PATCH] BIG DVB PATCH V1.1

Stefan Kreuzer mythtv at lustundliebe.de
Sat Nov 6 14:48:13 UTC 2004


@Taylor

I've tested the last patch, but with no success..

1. The first scanning hung at ~10%, I had to repeat it 3 or 4 times, but it
can't find all of my important channels (but many others). This is a new 
behavior in V1.1.
Once, setup locks up and spit QDatabase errors to the terminal, but I can
not reproduce this. I had to kill the process manually.
My progress bar stopped at  ~ 40-50%, but I can see that the scanning
program is working "Table 02 loaded" is repeated endless in the terminal 
window.

2. Mythbackend segfaults, gdb output looks very different to that from V1.0.

A suggestion to the developers, would it be possible to store the default
values for a initial scan in a database table? It  would be very
comfortable, if a user can select his preferred satellite from a droppdown
box inside the dvb setup.

Btw: Whats about the longitude setting in the input connection setup? Do I
have to insert a value manually instead to leave it to 0?

A debug stack trace from gdb is attached, thank You for Your work!

Stefan

----- Original Message ----- 
From: "Taylor Jacob" <rtjacob at earthlink.net>
To: "Development of mythtv" <mythtv-dev at mythtv.org>
Sent: Friday, November 05, 2004 10:43 PM
Subject: [mythtv] [EXPerimental PATCH] BIG DVB PATCH V1.1


> John and I have fixed all the bugs that have shown up in the V1 patch.  I
> have
> placed it on my website again.. I look forward to your feedback..
>
> http://www.digitalregime.com/mythdvb/
>
> Taylor
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
This GDB was configured as "i586-suse-linux".
(gdb) file /usr/local/bin/mythbackend
Reading symbols from /usr/local/bin/mythbackend...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/mythbackend
[Thread debugging using libthread_db enabled]
[New Thread 1110722752 (LWP 14735)]
Starting up as the master server.
2004-11-06 14:20:42 SIParser: Using SI Standard: DVB
2004-11-06 14:20:42 DVB#0 DVB SI Table Parser Started
2004-11-06 14:20:42 SIParser: Starting DVB Section Reader thread
[New Thread 1114565552 (LWP 14746)]
2004-11-06 14:20:42 SIParser: Started Parser Thread
[New Thread 1116666800 (LWP 14747)]
2004-11-06 14:20:42 DVB#0 Using DVB card 0, with frontend STV0299/TSA5059/SL1935 based.
2004-11-06 14:20:43 DVB#0 DiSEqC 1.0 Switch - Port 0
2004-11-06 14:20:43 DVB#0 DiSEqC Sending 1.0 Command: e0 10 38 f3
2004-11-06 14:20:43 DVB#0 Requesting PMap
2004-11-06 14:20:44 DVB#0 WARNING - Status: NO LOCK!
2004-11-06 14:20:44 DVB#0 Status: CARRIER | VITERBI | SIGNAL | SYNC | LOCK.
2004-11-06 14:20:44 DVB#0 Signal Locked. Waiting on PIDS
Table 00 loaded
2004-11-06 14:20:44 SIParser: Tuned to TransportID: 1101
2004-11-06 14:20:44 SIParser: NIT Present on this transport on PID 16
2004-11-06 14:20:44 SIParser: Services on this Transport: 28106 28107 28108 28109 28110 28111 28112 28113 28114 28120 28121 28122 28123 28124 28125 28126 28127 28128 28129 28130
Table 00 loaded
Table 02 loaded
Table 02 loaded
Table 01 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
2004-11-06 14:20:45 DVB#0 Using VideoPID = 101 () AudioPID = 102 (deu)
2004-11-06 14:20:45 DVB#0 Service is FTA
2004-11-06 14:20:45 DVB#0 AutoPID Complete - PAT/PMT Loaded for service
2004-11-06 14:20:45 DVB#0 Successfully tuned to channel 1.
2004-11-06 14:20:45 Closing DVB channel
2004-11-06 14:20:45 SIParser: Stopping DVB Section Reader
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
Table 02 loaded
2004-11-06 14:20:45 SIParser: DVB Section Reader thread stopped

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1116666800 (LWP 14747)]
0x4191da83 in _int_malloc () from /lib/tls/libc.so.6
(gdb) thread apply all bt full

Thread 3 (Thread 1116666800 (LWP 14747)):
#0  0x4191da83 in _int_malloc () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x4191f344 in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x4186810e in operator new () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3  0x404398d9 in QValueListPrivate<ElementaryPIDObject>::insert (
    this=0x80e4f18, it={node = 0x80e50e0}, x=@0x428ef950) at qvaluelist.h:289
        p = (QValueListNode<ElementaryPIDObject> *) 0x4066532c
#4  0x404766f3 in QValueList<ElementaryPIDObject>::append (this=0x428ef980,
    x=@0x428ef950) at qvaluelist.h:525
No locals.
#5  0x40473057 in QValueList<ElementaryPIDObject>::operator+= (
    this=0x428ef980, x=@0x428ef950) at qvaluelist.h:550
No locals.
#6  0x4046c7af in SIParser::ParsePMT (this=0x42488008, head=0x428ef9d0,
    buffer=0x4248c06c "��t\n\004deu\001R\001\002\004��006\n\004deu\001\005�026�005o\003", size=57) at siparser.cpp:744
        e = {Type = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80ea3c8,
---Type <return> to continue, or q <return> to quit---
    static shared_null = 0x80b9380}, PID = 2070, Language = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80ea468,
    static shared_null = 0x80b9380}, CA = {sh = 0x80e5110}}
        p = {ServiceID = 0, Video = {sh = 0x80ea7a0}, Audio = {
    sh = 0x80ea7f0}, Teletext = {sh = 0x80ea840}, Data = {sh = 0x80e4f18},
  Other = {sh = 0x80e4f88}, PCRPID = 3901}
        descriptors_length = 5 '\005'
        PIDType = 5 '\005'
        pidescriptors_length = 9
        tempPos = 34
        pos = 34
#7  0x4046cf85 in SIParser::ParseDVBTable (this=0x42488008, head=0x428ef9d0,
    buffer=0x4248c06c "��t\n\004deu\001R\001\002\004��006\n\004deu\001\005�026�005o\003", size=57) at siparser.cpp:924
No locals.
#8  0x4046b3b4 in SIParser::ParseTable (this=0x42488008,
    buffer=0x4248c064 "\002>m�", size=65) at siparser.cpp:545
        head = {table_id = 2 '\002', section_length = 62,
  table_id_ext = 28129, current_next = true, version = 24 '\030',
  section_number = 0 '\0', section_last = 0 '\0'}
#9  0x4046a829 in SIParser::StartParser (this=0x42488008) at siparser.cpp:324
No locals.
---Type <return> to continue, or q <return> to quit---
#10 0x4043ab56 in SpawnSIParser (param=0x42488008) at dvbchannel.cpp:71
        siparser = (class DVBSIParser *) 0x42488008
#11 0x417c99dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0x41972ffa in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread 1110722752 (LWP 14735)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbfffeae8 in ?? ()
No symbol table info available.
#2  0x0000399b in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x417c9f2f in pthread_join () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x4043b492 in DVBChannel::CloseDVB (this=0x80e1bc0) at dvbchannel.cpp:124
No locals.
#6  0x40414d04 in TVRec (this=0x42449008, capturecardnum=1) at tv_rec.cpp:89
        chanorder = {static null = {
    static null = <same as static member of an already seen type>,
---Type <return> to continue, or q <return> to quit---
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80e1ba8,
  static shared_null = 0x80b9380}
        inputname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80e1a10,
  static shared_null = 0x80b9380}
        startchannel = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80e1b68,
  static shared_null = 0x80b9380}
#7  0x0805e2de in setupTVs (ismaster=true) at main.cpp:124
        tv = (TVRec *) 0x4000000b
        enc = (EncoderLink *) 0x19
        cardid = 1
        host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80dae98,
  static shared_null = 0x80b9380}
        localhostname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80c6408,
  static shared_null = 0x80b9380}
        query = <incomplete type>
---Type <return> to continue, or q <return> to quit---
#8  0x08061251 in main (argc=1, argv=0xbffff174) at main.cpp:544
        a = <incomplete type>
        logfile = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80c2990,
  static shared_null = 0x80b9380}
        binname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80c2168,
  static shared_null = 0x80b9380}
        verboseString = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80c3110,
  static shared_null = 0x80b9380}
        daemonize = false
        printsched = false
        testsched = false
        nosched = false
        printexpire = false
        logfd = -1
        pidfs = <incomplete type>
        db = (struct QSqlDatabase *) 0x80c6ee0
        subthread = (struct QSqlDatabase *) 0x80c6fb8
---Type <return> to continue, or q <return> to quit---
        expthread = (struct QSqlDatabase *) 0x80c7120
        hkthread = (struct QSqlDatabase *) 0x80c7288
        jobthread = (struct QSqlDatabase *) 0x80c73f0
        msdb = (struct QSqlDatabase *) 0x80c7558
        port = 6543
        statusport = 6544
        myip = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80db130,
  static shared_null = 0x80b9380}
        masterip = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80b9380, static shared_null = 0x80b9380}, d = 0x80daeb0,
  static shared_null = 0x80b9380}
        ismaster = true
        runsched = 156
        expdb = (struct QSqlDatabase *) 0x15
        hkdb = (struct QSqlDatabase *) 0x3
        jobdb = (struct QSqlDatabase *) 0x80bd810
#0  0x4191da83 in _int_malloc () from /lib/tls/libc.so.6
(gdb)


More information about the mythtv-dev mailing list