[mythtv][Experimental PATCH] BIG DVB PATCH V1
Stefan Kreuzer
mythtv at lustundliebe.de
Tue Nov 2 18:28:13 UTC 2004
Hello all,
I tried the patch on a SUSE 9.1 installation with kernel 2.6.8, qt 3.3.3 and
a single NOVA-s card.
Great work!! Thats the way, things should work for dvb users :) But
unfortunately in this early step
its not usable for me.
The first problem I notice, is that the initial scan process hangs at the
middle of the progress bar,
without an error output in the terminal window. It simply sleeps :-) No
problem for me, because
my most important channels are found. The main problem is, that the backend
segfaults after
a successful tuning to a channel.
There were several warnings during compilation, maybe this is a useful hint
to the developers.
I added the warnings from compilation of libmythtv and a gdb debug
stacktrace from mythbackend
below.
Stefan
libmythtv
videosource.cpp: In static member function `static CardUtil::DVB_TYPES
CardUtil::cardDVBType(unsigned int)':
videosource.cpp:77: warning: enumeration value `FE_ATSC' not handled in
switch
videosource.cpp: In member function `void
DVBConfigurationGroup::probeCard(const QString&)':
videosource.cpp:1646: warning: enumeration value `FE_ATSC' not handled in
switch
videosource.cpp: In member function `void
DVBCardVerificationWizard::tuneConfigscreen()':
videosource.cpp:1846: warning: enumeration value `FE_ATSC' not handled in
switch
dvbchannel.cpp: In member function `void DVBChannel::CloseDVB()':
dvbchannel.cpp:110: warning: int format, pointer arg (arg 2)
dvbchannel.cpp:117: warning: int format, pointer arg (arg 2)
dvbchannel.cpp:118: warning: int format, pointer arg (arg 2)
dvbchannel.cpp: In member function `bool
DVBChannel::GetChannelOptions(QString)
':
dvbchannel.cpp:336: warning: unused variable `int serviceid'
dvbchannel.cpp: In member function `bool
DVBChannel::GetTransportOptions(int)':
dvbchannel.cpp:411: warning: enumeration value `FE_ATSC' not handled in
switch
dvbchannel.cpp: In member function `bool DVBChannel::GetChannelPids(int)':
dvbchannel.cpp:438: warning: unused parameter `int chanid'
dvbchannel.cpp: In member function `void DVBChannel::PrintChannelOptions()':
dvbchannel.cpp:631: warning: enumeration value `FE_ATSC' not handled in
switch
dvbchannel.cpp: In member function `void DVBChannel::CheckOptions()':
dvbchannel.cpp:710: warning: enumeration value `FE_ATSC' not handled in
switch
dvbchannel.cpp: In member function `bool
DVBChannel::ParseTransportQuery(QSqlQuery&)':
dvbchannel.cpp:880: warning: enumeration value `FE_ATSC' not handled in
switch
dvbchannel.cpp: In member function `bool
DVBChannel::TuneTransport(dvb_channel_t&, bool)':
dvbchannel.cpp:1252: warning: enumeration value `FE_ATSC' not handled in
switch
siparser.cpp: In member function `bool SIParser::AddToBuffer(uint8_t*, int,
short unsigned int)':
siparser.cpp:362: warning: control reaches end of non-void function
siparser.cpp: In member function `bool SIParser::FillGuide(int, bool,
QStringList)':
siparser.cpp:492: warning: unused parameter `bool CurrentTransportOnly'
siscan.cpp: In member function `bool SIScan::ScanServicesSourceID(int)':
siscan.cpp:73: warning: control reaches end of non-void function
siscan.cpp: In member function `bool SIScan::FillEvents(int)':
siscan.cpp:191: warning: unused variable `int CurTransport'
siscan.cpp:189: warning: unused parameter `int SourceID'
siscan.cpp:229: warning: control reaches end of non-void function
dvbdev/transform.c: In function `pes_dfilt':
dvbdev/transform.c:869: warning: comparison between signed and unsigned
dvbdev/transform.c:892: warning: comparison between signed and unsigned
dvbdev/transform.c: In function `write_out':
dvbdev/transform.c:1030: warning: unused parameter `p'
dvbdev/transform.c: In function `get_pes':
dvbdev/transform.c:1554: warning: comparison between signed and unsigned
dvbdev/transform.c:1556: warning: comparison between signed and unsigned
dvbdev/transform.c:1562: warning: comparison between signed and unsigned
dvbdev/transform.c:1570: warning: comparison between signed and unsigned
dvbdev/transform.c:1579: warning: comparison between signed and unsigned
dvbdev/transform.c: In function `instant_repack':
dvbdev/transform.c:2365: warning: comparison between signed and unsigned
dvbdev/transform.c:2367: warning: comparison between signed and unsigned
dvbdev/transform.c:2379: warning: comparison between signed and unsigned
dvbdev/transform.c:2388: warning: comparison between signed and unsigned
dvbdev/transform.c: In function `ts_demux':
dvbdev/transform.c:2525: warning: cast from pointer to integer of different
size
dvbdev/transform.c:2542: warning: cast from pointer to integer of different
size
########################################################################
(gdb) run
Starting program: /usr/local/bin/mythbackend
[Thread debugging using libthread_db enabled]
[New Thread 1110706368 (LWP 7074)]
Starting up as the master server.
2004-11-01 19:01:26 SIParser: Using SI Standard: DVB
2004-11-01 19:01:26 DVB#0 DVB SI Table Parser Started
[New Thread 1114549168 (LWP 7085)]
2004-11-01 19:01:26 SIParser: Starting DVB Section Reader thread
2004-11-01 19:01:26 SIParser: Started Parser Thread
[New Thread 1116650416 (LWP 7086)]
2004-11-01 19:01:26 DVB#0 Using DVB card 0, with frontend
STV0299/TSA5059/SL1935 based.
2004-11-01 19:01:27 DVB#0 DiSEqC 1.0 Switch - Port 0
2004-11-01 19:01:27 DVB#0 DiSEqC Sending 1.0 Command: e0 10 38 f3
2004-11-01 19:01:28 DVB#0 Requesting PMap
2004-11-01 19:01:28 DVB#0 WARNING - Status: NO LOCK!
2004-11-01 19:01:28 DVB#0 Status: CARRIER | VITERBI | SIGNAL | SYNC | LOCK.
2004-11-01 19:01:28 DVB#0 Signal Locked. Waiting on PIDS
Table 00 loaded
2004-11-01 19:01:29 SIParser: Tuned to TransportID: 1101
2004-11-01 19:01:29 SIParser: NIT Present on this transport on PID 16
2004-11-01 19:01:29 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 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
2004-11-01 19:01:29 DVB#0 Using VideoPID = 101 () AudioPID = 102 (deu)
2004-11-01 19:01:29 DVB#0 Service is FTA
2004-11-01 19:01:29 DVB#0 AutoPID Complete - PAT/PMT Loaded for service
2004-11-01 19:01:29 DVB#0 Successfully tuned to channel 1.
2004-11-01 19:01:29 Closing DVB channel
closing DVBStats
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1110706368 (LWP 7074)]
0x417c5e77 in pthread_join () from /lib/tls/libpthread.so.0
(gdb) thread apply all bt full
Thread 3 (Thread 1116650416 (LWP 7086)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0x428eb858 in ?? ()
No symbol table info available.
#2 0x00000002 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
#4 0x417c9bfe in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#5 0x417c6c00 in _L_mutex_lock_33 () from /lib/tls/libpthread.so.0
No symbol table info available.
#6 0x40661a64 in __JCR_LIST__ () from /usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#7 0x428eb868 in ?? ()
No symbol table info available.
#8 0x40661a64 in __JCR_LIST__ () from /usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
#9 0x405c4d00 in vtable for DVBSIParser ()
from /usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x00000000 in ?? ()
No symbol table info available.
#11 0x428eb8d8 in ?? ()
No symbol table info available.
#12 0x4046469a in DVBSIParser::DelPid (this=0x424e87c4, pid=1080433252)
at dvbsiparser.cpp:141
it = {node = 0x417c9bfe}
x = 0
Previous frame identical to this frame (corrupt stack?)
#0 0x417c5e77 in pthread_join () from /lib/tls/libpthread.so.0
(gdb)#################################################################################
More information about the mythtv-dev
mailing list