Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Backend crashes almost daily

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


flo at flobittner

Oct 6, 2007, 10:23 AM

Post #1 of 10 (1111 views)
Permalink
Backend crashes almost daily

Hi,

my Backend crashes almost daily these days. Yesterday evening i watched a
recording, then another frontend joined -> crash. Today morning it crashed
without a frontend. After that i used gdb like mentioned here:
http://mythtv.org/docs/mythtv-HOWTO-22.html.

I compiled mythtv with debug support (backend only / 0.20.2) and started it
with gdb. It's running on a athlon 64 3500+, 2gig ram, 4x500gb linux raid, 2x
skystar2 with sasc, xen domain0.

It took 2 hours then i got another crash. No frontend was connected when it
happened. Can someone please have a look at the logs and tell me whats wrong
with it?

******************************************************************* myth.log:

2007-10-06 17:00:18.527 desired_program(9697) pid(0x4fd)
2007-10-06 17:00:18.529 pmt_pid(0x4fd)
2007-10-06 17:00:18.530 PAT for output stream
2007-10-06 17:00:18.531 Program Association Table
PSIP tableID(0x0) length(13) extension(0x458)
version(30) current(1) section(0) last_section(0)
tsid: 1112
programCount: 1
program number 1 has PID 0x 4fd data 0x0 0x1 0x228 0x253

2007-10-06 17:00:18.533 DVBSM(3)::AddPIDFilter(0x4fd):
2007-10-06 17:00:18.613 SM(3)::AddFlags: Seen(PMT,) Match() Wait()
2007-10-06 17:00:18.636 SM(3)::AddFlags: Seen() Match(PMT,) Wait()
2007-10-06 17:00:18.666 CreatePMTSingleProgram()
2007-10-06 17:00:18.666 PMT in input stream
2007-10-06 17:00:18.667 Program Map Table ver(1) pid(0x4fd) pnum(9697) len(46)
Conditional Access: sid(0x500) pid(0x1af6) data_size(11)

Stream #0 pid(0xb1) type(video-mpeg2 0x2)
Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
ISO-639 Language: code(fra) canonical(fra) eng(Unknown)

2007-10-06 17:00:18.670 PMT for output stream
2007-10-06 17:00:18.683 Program Map Table ver(1) pid(0x4fd) pnum(1) len(23)

Stream #0 pid(0xb1) type(video-mpeg2 0x2)
Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)

2007-10-06 17:00:18.702 DTVSM(3)::SetNIT(): net_id = 1
2007-10-06 17:00:18.710 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
2007-10-06 17:00:18.750 TVRec(2): Got good signal
2007-10-06 17:00:18.769 TVRec(2): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScan
nerRunning,
2007-10-06 17:00:18.792 DVBSM(3)::AddPIDFilter(0x12):
2007-10-06 17:00:18.822 DVBSM(3)::AddPIDFilter(0xb11):
2007-10-06 17:00:18.829 DVBSM(3)::AddPIDFilter(0xb12):
2007-10-06 17:00:18.948 DTVSM(3)::SetNIT(): net_id = 1
2007-10-06 17:00:18.956 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
2007-10-06 17:00:33.476 AddTSPacket: Out of sync!!! Need to wait for next
payloadStart PID: 0x12, continuity counter: 14 (exp
ected 12).

******************************************************************* gdb.txt

[Thread debugging using libthread_db enabled]
[New Thread 47786535860704 (LWP 14367)]
[New Thread 1082132800 (LWP 14371)]
[New Thread 1090525504 (LWP 14373)]
[New Thread 1098918208 (LWP 14377)]
[New Thread 1107310912 (LWP 14378)]
[New Thread 1115703616 (LWP 14380)]
[New Thread 1124096320 (LWP 14382)]
[New Thread 1132489024 (LWP 14383)]
[New Thread 1140881728 (LWP 14384)]
[New Thread 1149274432 (LWP 14385)]
[New Thread 1157667136 (LWP 14386)]
[New Thread 1166059840 (LWP 14387)]
[New Thread 1174452544 (LWP 14388)]
[New Thread 1182845248 (LWP 14389)]
[New Thread 1191237952 (LWP 14390)]
[New Thread 1199630656 (LWP 14391)]
[New Thread 1208023360 (LWP 14392)]
[New Thread 1216416064 (LWP 14463)]
[New Thread 1224808768 (LWP 14464)]
[New Thread 1233201472 (LWP 14485)]
[New Thread 1241594176 (LWP 14486)]
[Thread 1233201472 (LWP 14485) exited]
[Thread 1241594176 (LWP 14486) exited]
[New Thread 1241594176 (LWP 14594)]
[New Thread 1233201472 (LWP 14595)]
[Thread 1216416064 (LWP 14463) exited]
[Thread 1224808768 (LWP 14464) exited]
[New Thread 1224808768 (LWP 14596)]
[New Thread 1216416064 (LWP 14597)]
[Thread 1241594176 (LWP 14594) exited]
[Thread 1233201472 (LWP 14595) exited]
[New Thread 1233201472 (LWP 14739)]
[New Thread 1241594176 (LWP 14740)]
[Thread 1224808768 (LWP 14596) exited]
[Thread 1216416064 (LWP 14597) exited]
[New Thread 1216416064 (LWP 14751)]
[New Thread 1224808768 (LWP 14752)]
[Thread 1233201472 (LWP 14739) exited]
[Thread 1241594176 (LWP 14740) exited]
[New Thread 1241594176 (LWP 14859)]
[New Thread 1233201472 (LWP 14860)]
[Thread 1216416064 (LWP 14751) exited]
[Thread 1224808768 (LWP 14752) exited]
[New Thread 1224808768 (LWP 14872)]
[New Thread 1216416064 (LWP 14873)]
[Thread 1241594176 (LWP 14859) exited]
[Thread 1233201472 (LWP 14860) exited]
[New Thread 1233201472 (LWP 15023)]
[New Thread 1241594176 (LWP 15024)]
[Thread 1224808768 (LWP 14872) exited]
[Thread 1216416064 (LWP 14873) exited]
[New Thread 1216416064 (LWP 15046)]
[New Thread 1224808768 (LWP 15047)]
[New Thread 1249986880 (LWP 15077)]
[Thread 1233201472 (LWP 15023) exited]
[Thread 1241594176 (LWP 15024) exited]
[New Thread 1241594176 (LWP 15166)]
[New Thread 1233201472 (LWP 15167)]
[Thread 1216416064 (LWP 15046) exited]
[Thread 1224808768 (LWP 15047) exited]
[New Thread 1224808768 (LWP 15184)]
[New Thread 1216416064 (LWP 15185)]
[Thread 1241594176 (LWP 15166) exited]
[Thread 1233201472 (LWP 15167) exited]
[New Thread 1233201472 (LWP 15317)]
[New Thread 1241594176 (LWP 15318)]
[Thread 1224808768 (LWP 15184) exited]
[Thread 1216416064 (LWP 15185) exited]
[New Thread 1216416064 (LWP 15347)]
[New Thread 1224808768 (LWP 15348)]
[Thread 1233201472 (LWP 15317) exited]
[Thread 1241594176 (LWP 15318) exited]
[New Thread 1241594176 (LWP 15474)]
[New Thread 1233201472 (LWP 15475)]
[Thread 1216416064 (LWP 15347) exited]
[Thread 1224808768 (LWP 15348) exited]
[New Thread 1224808768 (LWP 15507)]
[New Thread 1216416064 (LWP 15508)]
[Thread 1241594176 (LWP 15474) exited]
[Thread 1233201472 (LWP 15475) exited]
[New Thread 1233201472 (LWP 15599)]
[New Thread 1241594176 (LWP 15600)]
[Thread 1224808768 (LWP 15507) exited]
[Thread 1216416064 (LWP 15508) exited]
[New Thread 1216416064 (LWP 15631)]
[New Thread 1224808768 (LWP 15632)]
[Thread 1233201472 (LWP 15599) exited]
[Thread 1241594176 (LWP 15600) exited]
[New Thread 1241594176 (LWP 15738)]
[New Thread 1233201472 (LWP 15739)]
[Thread 1216416064 (LWP 15631) exited]
[Thread 1224808768 (LWP 15632) exited]
[New Thread 1224808768 (LWP 15803)]
[New Thread 1216416064 (LWP 15804)]
[New Thread 1258379584 (LWP 15805)]
[New Thread 1266772288 (LWP 15806)]
[Thread 1258379584 (LWP 15805) exited]
[Thread 1266772288 (LWP 15806) exited]
[New Thread 1266772288 (LWP 15807)]
[New Thread 1258379584 (LWP 15808)]
[New Thread 1275164992 (LWP 15809)]
[Thread 1216416064 (LWP 15804) exited]
[Thread 1224808768 (LWP 15803) exited]
[New Thread 1224808768 (LWP 15810)]
[New Thread 1216416064 (LWP 15811)]
[Thread 1275164992 (LWP 15809) exited]
[New Thread 1275164992 (LWP 15813)]
[Thread 1275164992 (LWP 15813) exited]
[Thread 1216416064 (LWP 15811) exited]
[Thread 1224808768 (LWP 15810) exited]
[Thread 1258379584 (LWP 15808) exited]
[Thread 1266772288 (LWP 15807) exited]
[New Thread 1266772288 (LWP 15875)]
[New Thread 1258379584 (LWP 15876)]
[New Thread 1224808768 (LWP 15936)]
[New Thread 1216416064 (LWP 15937)]
[Thread 1224808768 (LWP 15936) exited]
[Thread 1216416064 (LWP 15937) exited]
[Thread 1241594176 (LWP 15738) exited]
[Thread 1233201472 (LWP 15739) exited]
[New Thread 1233201472 (LWP 15963)]
[New Thread 1241594176 (LWP 15964)]
[Thread 1266772288 (LWP 15875) exited]
[Thread 1258379584 (LWP 15876) exited]
[New Thread 1258379584 (LWP 16026)]
[New Thread 1266772288 (LWP 16027)]
[Thread 1233201472 (LWP 15963) exited]
[Thread 1241594176 (LWP 15964) exited]
[New Thread 1241594176 (LWP 16076)]
[New Thread 1233201472 (LWP 16077)]
[Thread 1258379584 (LWP 16026) exited]
[Thread 1266772288 (LWP 16027) exited]
[New Thread 1266772288 (LWP 16137)]
[New Thread 1258379584 (LWP 16138)]
[Thread 1241594176 (LWP 16076) exited]
[Thread 1233201472 (LWP 16077) exited]
[New Thread 1233201472 (LWP 16196)]
[New Thread 1241594176 (LWP 16197)]
[Thread 1266772288 (LWP 16137) exited]
[Thread 1258379584 (LWP 16138) exited]
[New Thread 1258379584 (LWP 16269)]
[New Thread 1266772288 (LWP 16270)]
[Thread 1233201472 (LWP 16196) exited]
[Thread 1241594176 (LWP 16197) exited]
[New Thread 1241594176 (LWP 16345)]
[New Thread 1233201472 (LWP 16346)]
[Thread 1258379584 (LWP 16269) exited]
[Thread 1266772288 (LWP 16270) exited]
[New Thread 1266772288 (LWP 16428)]
[New Thread 1258379584 (LWP 16429)]
[Thread 1241594176 (LWP 16345) exited]
[Thread 1233201472 (LWP 16346) exited]
[New Thread 1233201472 (LWP 16458)]
[New Thread 1241594176 (LWP 16459)]
[Thread 1266772288 (LWP 16428) exited]
[Thread 1258379584 (LWP 16429) exited]
[New Thread 1258379584 (LWP 16539)]
[New Thread 1266772288 (LWP 16540)]
[Thread 1233201472 (LWP 16458) exited]
[Thread 1241594176 (LWP 16459) exited]
[New Thread 1241594176 (LWP 16569)]
[New Thread 1233201472 (LWP 16570)]
[Thread 1258379584 (LWP 16539) exited]
[Thread 1266772288 (LWP 16540) exited]
[New Thread 1266772288 (LWP 16650)]
[New Thread 1258379584 (LWP 16651)]
[Thread 1241594176 (LWP 16569) exited]
[Thread 1233201472 (LWP 16570) exited]
[New Thread 1233201472 (LWP 16710)]
[New Thread 1241594176 (LWP 16711)]
[Thread 1266772288 (LWP 16650) exited]
[Thread 1258379584 (LWP 16651) exited]
[New Thread 1258379584 (LWP 16788)]
[New Thread 1266772288 (LWP 16789)]
[Thread 1233201472 (LWP 16710) exited]
[Thread 1241594176 (LWP 16711) exited]
[New Thread 1241594176 (LWP 16833)]
[New Thread 1233201472 (LWP 16834)]
[Thread 1258379584 (LWP 16788) exited]
[Thread 1266772288 (LWP 16789) exited]
[New Thread 1266772288 (LWP 16899)]
[New Thread 1258379584 (LWP 16900)]
[Thread 1241594176 (LWP 16833) exited]
[Thread 1233201472 (LWP 16834) exited]
[New Thread 1233201472 (LWP 16944)]
[New Thread 1241594176 (LWP 16945)]
[Thread 1266772288 (LWP 16899) exited]
[Thread 1258379584 (LWP 16900) exited]
[New Thread 1258379584 (LWP 17038)]
[New Thread 1266772288 (LWP 17039)]
[Thread 1233201472 (LWP 16944) exited]
[Thread 1241594176 (LWP 16945) exited]
[New Thread 1241594176 (LWP 17080)]
[New Thread 1233201472 (LWP 17081)]
[Thread 1258379584 (LWP 17038) exited]
[Thread 1266772288 (LWP 17039) exited]
[New Thread 1266772288 (LWP 17152)]
[New Thread 1258379584 (LWP 17153)]
[Thread 1241594176 (LWP 17080) exited]
[Thread 1233201472 (LWP 17081) exited]
[New Thread 1233201472 (LWP 17194)]
[New Thread 1241594176 (LWP 17195)]
[Thread 1266772288 (LWP 17152) exited]
[Thread 1258379584 (LWP 17153) exited]
[New Thread 1258379584 (LWP 17263)]
[New Thread 1266772288 (LWP 17264)]
[Thread 1233201472 (LWP 17194) exited]
[Thread 1241594176 (LWP 17195) exited]
[New Thread 1241594176 (LWP 17305)]
[New Thread 1233201472 (LWP 17306)]
[Thread 1258379584 (LWP 17263) exited]
[Thread 1266772288 (LWP 17264) exited]
[New Thread 1266772288 (LWP 17420)]
[New Thread 1258379584 (LWP 17421)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1258379584 (LWP 17421)]
MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
mpeg/mpegtables.h:430
430 if (progNum==ProgramNumber(i))

Thread 118 (Thread 1258379584 (LWP 17421)):
#0 MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
mpeg/mpegtables.h:430
send_single_program = <value optimized out>
#1 0x00002b7623e62485 in MPEGStreamData::HandleTables (this=0x1065a18,
pid=<value optimized out>, psip=@0x2aaaac03ab50) at
mpeg/mpegstreamdata.cpp:527
tsid = <value optimized out>
pat = {<PSIPTable> = {<PESPacket> = {_vptr.PESPacket = 0x2b762478c090,
_pesdata = 0x2aaaaadc90c9 "", _fullbuffer = 0x2aaaaadc9010 "G@\022\021!
\024G", _psiOffset = 184, _ccLast = 1, _pesdataSize = 188, _allocSize = 3877,
_badPacket = false}, static PSIP_OFFSET = 8}, <No data fields>}
version = 0
#2 0x00002b7623e75c49 in DVBStreamData::HandleTables (this=0x1065930,
pid=53196, psip=@0x33f31) at mpeg/dvbstreamdata.cpp:198
No locals.
#3 0x00002b7623e644c3 in MPEGStreamData::HandleTSTables (this=0x1065a18,
tspacket=0x10e1a80) at mpeg/mpegstreamdata.cpp:693
pmt_sp = (ProgramMapTable *) 0x1842
morePSIPPackets = false
psip = (PSIPTable *) 0x2aaaac03ab50
#4 0x00002b7623e58801 in MPEGStreamData::ProcessTSPacket (this=0x1065a18,
tspacket=@0x10e1a80) at mpeg/mpegstreamdata.cpp:731
No locals.
#5 0x00002b7623e58657 in MPEGStreamData::ProcessData (this=0x1065a18,
buffer=0x10e11b0 "G", len=6210) at mpeg/mpegstreamdata.cpp:716
newpos = 212785
pos = 2256
#6 0x00002b762424f9ee in DVBSignalMonitor::RunTableMonitorTS (this=0x1085f10)
at dvbsignalmonitor.cpp:386
timeout = {tv_sec = 0, tv_usec = 48000}
len = 6210
remainder = 6210
buffer_size = 2820000
buffer = (unsigned char *) 0xcfcc <Address 0xcfcc out of bounds>
dvr_fname = {static null = {static null = <same as static member of an
already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0xa79f40, static shared_null = 0x705e20}
dvr_fd = 15
fd_select_set = {fds_bits = {32768, 0 <repeats 15 times>}}
#7 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
(param=0x2aaaaadc90d1) at dvbsignalmonitor.cpp:173
No locals.
#8 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#9 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 117 (Thread 1266772288 (LWP 17420)):
#0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
No symbol table info available.
#2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x1085f10) at
signalmonitor.cpp:271
slist = {<QValueList<QString>> = {sh = 0x2aaaac00bcc0}, <No data fields>}
me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0xa4deb0}, message =
{static null = {static null = <same as static member of an already seen
type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x99e700, static
shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
0x2aaaac00bcc0}, <No data fields>}}
#3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop (self=0x4b816040) at
signalmonitor.cpp:294
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 116 (Thread 1233201472 (LWP 17306)):
#0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b762424f99b in DVBSignalMonitor::RunTableMonitorTS (this=0x993d20)
at dvbsignalmonitor.cpp:367
timeout = {tv_sec = 0, tv_usec = 16000}
len = 2256
remainder = 0
buffer_size = 2820000
buffer = <value optimized out>
dvr_fname = {static null = {static null = <same as static member of an
already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0xa6f3d0, static shared_null = 0x705e20}
dvr_fd = 21
fd_select_set = {fds_bits = {0 <repeats 16 times>}}
#2 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread (param=0x16) at
dvbsignalmonitor.cpp:173
No locals.
#3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 115 (Thread 1241594176 (LWP 17305)):
#0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
No symbol table info available.
#2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x993d20) at
signalmonitor.cpp:271
slist = {<QValueList<QString>> = {sh = 0x2aaaac0f4ae0}, <No data fields>}
me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x898ab0}, message =
{static null = {static null = <same as static member of an already seen
type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x1068b30, static
shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
0x2aaaac0f4ae0}, <No data fields>}}
#3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop (self=0x4a013040) at
signalmonitor.cpp:294
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 38 (Thread 1249986880 (LWP 15077)):
#0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b7625c32a35 in MythSocket::readyReadThread () at mythsocket.cpp:743
it = {<QGListIterator> = {list = 0x2b7625f2b860, curNode = 0x0}, <No data
fields>}
rval = <value optimized out>
rfds = {fds_bits = {17179869184, 0 <repeats 15 times>}}
timeout = {tv_sec = 0, tv_usec = 10000}
sock = <value optimized out>
maxfd = 34
#2 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#3 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 17 (Thread 1208023360 (LWP 14392)):
#0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b1909 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7de670) at
mainserver.cpp:131
No locals.
#3 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 16 (Thread 1199630656 (LWP 14391)):
#0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b1909 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a0a80) at
mainserver.cpp:131
No locals.
#3 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 15 (Thread 1191237952 (LWP 14390)):
#0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b1909 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x0000000000487a0c in ProcessRequestThread::run (this=0x889e20) at
mainserver.cpp:131
No locals.
#3 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 14 (Thread 1182845248 (LWP 14389)):
#0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b1909 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7ee2f0) at
mainserver.cpp:131
No locals.
#3 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 13 (Thread 1174452544 (LWP 14388)):
#0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b1909 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a2970) at
mainserver.cpp:131
No locals.
#3 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 12 (Thread 1166059840 (LWP 14387)):
#0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b7625498964 in SSDP::run (this=0x89fe50) at ssdp.cpp:227
nMaxSocket = 14
read_set = {fds_bits = {28672, 0 <repeats 15 times>}}
timeout = {tv_sec = 0, tv_usec = 160000}
#2 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 11 (Thread 1157667136 (LWP 14386)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76273fc5b5 in QThreadInstance::deinit ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b76273fc70e in QThread::msleep () from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#3 0x00002b762549beaa in TaskQueue::run (this=0x898180) at taskqueue.cpp:140
ttNow = {tv_sec = 1191682833, tv_usec = 413664}
pTask = (Task *) 0x0
#4 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 10 (Thread 1149274432 (LWP 14385)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b18b9 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b76254ab58f in CEvent::WaitForEvent (this=0x9900e0, time=500) at
threadpool.cpp:96
ret = <value optimized out>
#3 0x00002b76254ac35c in WorkerThread::run (this=0x9900c0) at
threadpool.cpp:227
timer = {m_timer = {ds = 61221332}}
#4 0x00002b76273fc92b in QThreadInstance::start ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 9 (Thread 1140881728 (LWP 14384)):
#0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
No symbol table info available.
#2 0x00002b7623cce199 in JobQueue::ProcessQueue (this=0x894430) at
jobqueue.cpp:476
chanid = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
static shared_null = 0x705e20}
starttime = <value optimized out>
startts = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
static shared_null = 0x705e20}
type = 0
id = 662259144
cmds = 1140876592
status = 7347392
hostname = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
static shared_null = 0x705e20}
sleepTime = 60
jobStatus = {sh = 0xa73050}
maxJobs = 1
queueStartTimeStr = {static null = {static null = <same as static member of
an already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0x891500, static shared_null = 0x705e20}
queueEndTimeStr = {static null = {static null = <same as static member of an
already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0x99fad0, static shared_null = 0x705e20}
queueStartTime = 7347392
queueEndTime = <value optimized out>
curQTime = {ds = 0}
curTime = <value optimized out>
message = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
static shared_null = 0x705e20}
tmpStr = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
static shared_null = 0x705e20}
jobs = {sh = 0x7e1990}
atMax = false
inTimeWindow = 64
startedJobAlready = 41
#3 0x00002b7623cd6be9 in JobQueue::QueueProcesserThread (param=0x44005fd0) at
jobqueue.cpp:145
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 8 (Thread 1132489024 (LWP 14383)):
#0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
No symbol table info available.
#2 0x0000000000411fd8 in AutoExpire::Sleep (this=0x7e35a0, sleepTime=60) at
autoexpire.cpp:289
minSleep = 5
timeExpended = 25
#3 0x000000000042666d in AutoExpire::RunExpirer (this=0x7e35a0) at
autoexpire.cpp:274
timer = {ds = 61208084}
curTime = {d = {jd = 2454380}, t = {ds = 61208084}}
next_expire = {d = {jd = 2454380}, t = {ds = 61448077}}
#4 0x0000000000426749 in AutoExpire::ExpirerThread (param=0x43806000) at
autoexpire.cpp:526
No locals.
#5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (Thread 1124096320 (LWP 14382)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b18b9 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00000000004a7817 in Scheduler::RunScheduler (this=0xa4d380) at
scheduler.cpp:1155
statuschanged = false
prerollseconds = 0
secsleft = -110
nexttv = <value optimized out>
nextRecording = (ProgramInfo *) 0x1088610
nextrectime = {d = {jd = 2454380}, t = {ds = 75540000}}
curtime = {d = {jd = 2454380}, t = {ds = 61232593}}
recordfileprefix = {static null = {static null = <same as static member of an
already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0x7ee4b0, static shared_null = 0x705e20}
blockShutdown = false
idleSince = {d = {jd = 0}, t = {ds = 0}}
idleTimeoutSecs = 0
idleWaitForRecordingTime = 15
firstRun = false
fillstart = {tv_sec = 1191682817, tv_usec = 370731}
fillend = {tv_sec = 1191682817, tv_usec = 490887}
matchTime = 0.0708369985
placeTime = <value optimized out>
query = {<> = {<No data fields>}, m_db = 0x88b7e0, m_isConnected = true,
m_returnConnection = false}
#3 0x00000000004ae1ff in Scheduler::SchedulerThread (param=0xa4d380) at
scheduler.cpp:1607
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 1115703616 (LWP 14380)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b19e3 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b7624161042 in TVRec::RunTV (this=0x7f5160) at tv_rec.cpp:1396
No locals.
#3 0x00002b76241633b9 in TVRec::EventThread (param=0x87eec4) at
tv_rec.cpp:1160
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 1107310912 (LWP 14378)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b19e3 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x85f1c0) at
eitscanner.cpp:147
i = <value optimized out>
list_size = 1107308096
rate = 1
t = {m_timer = {ds = 61220409}}
eitCount = 4
sz = {2000, 1800, 1600, 1400, 1200}
rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
#3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x85f1c0) at
eitscanner.cpp:66
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 1098918208 (LWP 14377)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b19e3 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b7624161042 in TVRec::RunTV (this=0x763ec0) at tv_rec.cpp:1396
No locals.
#3 0x00002b76241633b9 in TVRec::EventThread (param=0x775b64) at
tv_rec.cpp:1160
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 1090525504 (LWP 14373)):
#0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00002b76276b19e3 in QWaitCondition::wait ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x761e60) at
eitscanner.cpp:147
i = <value optimized out>
list_size = 1090522688
rate = 1
t = {m_timer = {ds = 61231630}}
eitCount = 767
sz = {2000, 1800, 1600, 1400, 1200}
rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
#3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x761e60) at
eitscanner.cpp:66
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 1082132800 (LWP 14371)):
#0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
No symbol table info available.
#2 0x00000000004b4eb3 in HouseKeeper::RunHouseKeeping (this=0x761ae0) at
housekeeper.cpp:240
dtmp = {d = {jd = 0}, t = {ds = 0}}
dtime = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x0, static
shared_null = 0x705e20}
verbose_macro_tmp = <incomplete type>
period = <value optimized out>
maxhr = <value optimized out>
minhr = <value optimized out>
dbTag = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x9a7440,
static shared_null = 0x705e20}
#3 0x00000000004b6d19 in HouseKeeper::doHouseKeepingThread (param=0x407ffa90)
at housekeeper.cpp:375
No locals.
#4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 47786535860704 (LWP 14367)):
#0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b76273b924b in QEventLoop::processEvents ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#2 0x00002b7627417963 in QEventLoop::enterLoop ()
from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#3 0x00002b7627417812 in QEventLoop::exec () from /usr/lib64/libqt-mt.so.3
No symbol table info available.
#4 0x000000000044821e in main (argc=5, argv=<value optimized out>) at
main.cpp:661
dtmp = {d = {jd = 2454380}, t = {ds = 54468328}}
dtime = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x7fff87563160,
static shared_null = 0x705e20}
verbose_macro_tmp = <incomplete type>
WOLslaveBackends = {static null = {static null = <same as static member of an
already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0x7deae0, static shared_null = 0x705e20}
a = <incomplete type>
settingsOverride = {sh = 0x748b40}
binname = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x748bc0,
static shared_null = 0x705e20}
daemonize = false
printsched = false
testsched = false
resched = false
nosched = false
noupnp = <value optimized out>
nojobqueue = false
nohousekeeper = false
noexpirer = false
printexpire = false
pidfs = <incomplete type>
port = 6543
myip = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x761030,
static shared_null = 0x705e20}
masterip = {static null = {static null = <same as static member of an already
seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x763210,
static shared_null = 0x705e20}
ismaster = true
fatal_error = false
runsched = <value optimized out>
430 if (progNum==ProgramNumber(i))


*******************************************************************

If you need a longer myth.log i can send it!

Thanks,
Flo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


dave at 0bits

Oct 6, 2007, 1:31 PM

Post #2 of 10 (1049 views)
Permalink
Backend crashes almost daily [In reply to]

Hi Flo,

The fact that this crashes without any frontend means that it is most
likely crashing when the EIT crawler is running and updating your
program guides (EPG) from the transmitted EIT data. Your output below
also confirms this. What you need to do is figure out if this is always
crashing on one channel.. Look at the output of this before the crash
and check if it's always happening on the same sid/pid.

Irrespective, i'd consider this a bug since we should trap this error
(possibly bad PAT data) and discard instead or crashing. Can you check
if you are on the latest SVN first as i can't even see this source line
in mpeg/mpegtables.h line 430 of my svn so i can't help further unless
you upgrade and provide another stacktrace.

Dave


Flo said:
>
> Hi,
>
> my Backend crashes almost daily these days. Yesterday evening i
watched a
> recording, then another frontend joined -> crash. Today morning it
crashed
> without a frontend. After that i used gdb like mentioned here:
> http://mythtv.org/docs/mythtv-HOWTO-22.html.
>
> I compiled mythtv with debug support (backend only / 0.20.2) and
started it
> with gdb. It's running on a athlon 64 3500+, 2gig ram, 4x500gb linux
raid, 2x
> skystar2 with sasc, xen domain0.
>
> It took 2 hours then i got another crash. No frontend was connected
when it
> happened. Can someone please have a look at the logs and tell me
whats wrong
> with it?
>
> *******************************************************************
myth.log:
>
> 2007-10-06 17:00:18.527 desired_program(9697) pid(0x4fd)
> 2007-10-06 17:00:18.529 pmt_pid(0x4fd)
> 2007-10-06 17:00:18.530 PAT for output stream
> 2007-10-06 17:00:18.531 Program Association Table
> PSIP tableID(0x0) length(13) extension(0x458)
> version(30) current(1) section(0) last_section(0)
> tsid: 1112
> programCount: 1
> program number 1 has PID 0x 4fd data 0x0 0x1 0x228 0x253
>
> 2007-10-06 17:00:18.533 DVBSM(3)::AddPIDFilter(0x4fd):
> 2007-10-06 17:00:18.613 SM(3)::AddFlags: Seen(PMT,) Match() Wait()
> 2007-10-06 17:00:18.636 SM(3)::AddFlags: Seen() Match(PMT,) Wait()
> 2007-10-06 17:00:18.666 CreatePMTSingleProgram()
> 2007-10-06 17:00:18.666 PMT in input stream
> 2007-10-06 17:00:18.667 Program Map Table ver(1) pid(0x4fd)
pnum(9697) len(46)
> Conditional Access: sid(0x500) pid(0x1af6) data_size(11)
>
> Stream #0 pid(0xb1) type(video-mpeg2 0x2)
> Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
> ISO-639 Language: code(fra) canonical(fra) eng(Unknown)
>
> 2007-10-06 17:00:18.670 PMT for output stream
> 2007-10-06 17:00:18.683 Program Map Table ver(1) pid(0x4fd) pnum(1)
len(23)
>
> Stream #0 pid(0xb1) type(video-mpeg2 0x2)
> Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
>
> 2007-10-06 17:00:18.702 DTVSM(3)::SetNIT(): net_id = 1
> 2007-10-06 17:00:18.710 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
> 2007-10-06 17:00:18.750 TVRec(2): Got good signal
> 2007-10-06 17:00:18.769 TVRec(2): ClearFlags(WaitingForSignal,) ->
> RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScan
> nerRunning,
> 2007-10-06 17:00:18.792 DVBSM(3)::AddPIDFilter(0x12):
> 2007-10-06 17:00:18.822 DVBSM(3)::AddPIDFilter(0xb11):
> 2007-10-06 17:00:18.829 DVBSM(3)::AddPIDFilter(0xb12):
> 2007-10-06 17:00:18.948 DTVSM(3)::SetNIT(): net_id = 1
> 2007-10-06 17:00:18.956 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
> 2007-10-06 17:00:33.476 AddTSPacket: Out of sync!!! Need to wait for
next
> payloadStart PID: 0x12, continuity counter: 14 (exp
> ected 12).
>
> *******************************************************************
gdb.txt
>
> [Thread debugging using libthread_db enabled]
> [New Thread 47786535860704 (LWP 14367)]
> [New Thread 1082132800 (LWP 14371)]
> [New Thread 1090525504 (LWP 14373)]
> [New Thread 1098918208 (LWP 14377)]
> [New Thread 1107310912 (LWP 14378)]
> [New Thread 1115703616 (LWP 14380)]
> [New Thread 1124096320 (LWP 14382)]
> [New Thread 1132489024 (LWP 14383)]
> [New Thread 1140881728 (LWP 14384)]
> [New Thread 1149274432 (LWP 14385)]
> [New Thread 1157667136 (LWP 14386)]
> [New Thread 1166059840 (LWP 14387)]
> [New Thread 1174452544 (LWP 14388)]
> [New Thread 1182845248 (LWP 14389)]
> [New Thread 1191237952 (LWP 14390)]
> [New Thread 1199630656 (LWP 14391)]
> [New Thread 1208023360 (LWP 14392)]
> [New Thread 1216416064 (LWP 14463)]
> [New Thread 1224808768 (LWP 14464)]
> [New Thread 1233201472 (LWP 14485)]
> [New Thread 1241594176 (LWP 14486)]
> [Thread 1233201472 (LWP 14485) exited]
> [Thread 1241594176 (LWP 14486) exited]
> [New Thread 1241594176 (LWP 14594)]
> [New Thread 1233201472 (LWP 14595)]
> [Thread 1216416064 (LWP 14463) exited]
> [Thread 1224808768 (LWP 14464) exited]
> [New Thread 1224808768 (LWP 14596)]
> [New Thread 1216416064 (LWP 14597)]
> [Thread 1241594176 (LWP 14594) exited]
> [Thread 1233201472 (LWP 14595) exited]
> [New Thread 1233201472 (LWP 14739)]
> [New Thread 1241594176 (LWP 14740)]
> [Thread 1224808768 (LWP 14596) exited]
> [Thread 1216416064 (LWP 14597) exited]
> [New Thread 1216416064 (LWP 14751)]
> [New Thread 1224808768 (LWP 14752)]
> [Thread 1233201472 (LWP 14739) exited]
> [Thread 1241594176 (LWP 14740) exited]
> [New Thread 1241594176 (LWP 14859)]
> [New Thread 1233201472 (LWP 14860)]
> [Thread 1216416064 (LWP 14751) exited]
> [Thread 1224808768 (LWP 14752) exited]
> [New Thread 1224808768 (LWP 14872)]
> [New Thread 1216416064 (LWP 14873)]
> [Thread 1241594176 (LWP 14859) exited]
> [Thread 1233201472 (LWP 14860) exited]
> [New Thread 1233201472 (LWP 15023)]
> [New Thread 1241594176 (LWP 15024)]
> [Thread 1224808768 (LWP 14872) exited]
> [Thread 1216416064 (LWP 14873) exited]
> [New Thread 1216416064 (LWP 15046)]
> [New Thread 1224808768 (LWP 15047)]
> [New Thread 1249986880 (LWP 15077)]
> [Thread 1233201472 (LWP 15023) exited]
> [Thread 1241594176 (LWP 15024) exited]
> [New Thread 1241594176 (LWP 15166)]
> [New Thread 1233201472 (LWP 15167)]
> [Thread 1216416064 (LWP 15046) exited]
> [Thread 1224808768 (LWP 15047) exited]
> [New Thread 1224808768 (LWP 15184)]
> [New Thread 1216416064 (LWP 15185)]
> [Thread 1241594176 (LWP 15166) exited]
> [Thread 1233201472 (LWP 15167) exited]
> [New Thread 1233201472 (LWP 15317)]
> [New Thread 1241594176 (LWP 15318)]
> [Thread 1224808768 (LWP 15184) exited]
> [Thread 1216416064 (LWP 15185) exited]
> [New Thread 1216416064 (LWP 15347)]
> [New Thread 1224808768 (LWP 15348)]
> [Thread 1233201472 (LWP 15317) exited]
> [Thread 1241594176 (LWP 15318) exited]
> [New Thread 1241594176 (LWP 15474)]
> [New Thread 1233201472 (LWP 15475)]
> [Thread 1216416064 (LWP 15347) exited]
> [Thread 1224808768 (LWP 15348) exited]
> [New Thread 1224808768 (LWP 15507)]
> [New Thread 1216416064 (LWP 15508)]
> [Thread 1241594176 (LWP 15474) exited]
> [Thread 1233201472 (LWP 15475) exited]
> [New Thread 1233201472 (LWP 15599)]
> [New Thread 1241594176 (LWP 15600)]
> [Thread 1224808768 (LWP 15507) exited]
> [Thread 1216416064 (LWP 15508) exited]
> [New Thread 1216416064 (LWP 15631)]
> [New Thread 1224808768 (LWP 15632)]
> [Thread 1233201472 (LWP 15599) exited]
> [Thread 1241594176 (LWP 15600) exited]
> [New Thread 1241594176 (LWP 15738)]
> [New Thread 1233201472 (LWP 15739)]
> [Thread 1216416064 (LWP 15631) exited]
> [Thread 1224808768 (LWP 15632) exited]
> [New Thread 1224808768 (LWP 15803)]
> [New Thread 1216416064 (LWP 15804)]
> [New Thread 1258379584 (LWP 15805)]
> [New Thread 1266772288 (LWP 15806)]
> [Thread 1258379584 (LWP 15805) exited]
> [Thread 1266772288 (LWP 15806) exited]
> [New Thread 1266772288 (LWP 15807)]
> [New Thread 1258379584 (LWP 15808)]
> [New Thread 1275164992 (LWP 15809)]
> [Thread 1216416064 (LWP 15804) exited]
> [Thread 1224808768 (LWP 15803) exited]
> [New Thread 1224808768 (LWP 15810)]
> [New Thread 1216416064 (LWP 15811)]
> [Thread 1275164992 (LWP 15809) exited]
> [New Thread 1275164992 (LWP 15813)]
> [Thread 1275164992 (LWP 15813) exited]
> [Thread 1216416064 (LWP 15811) exited]
> [Thread 1224808768 (LWP 15810) exited]
> [Thread 1258379584 (LWP 15808) exited]
> [Thread 1266772288 (LWP 15807) exited]
> [New Thread 1266772288 (LWP 15875)]
> [New Thread 1258379584 (LWP 15876)]
> [New Thread 1224808768 (LWP 15936)]
> [New Thread 1216416064 (LWP 15937)]
> [Thread 1224808768 (LWP 15936) exited]
> [Thread 1216416064 (LWP 15937) exited]
> [Thread 1241594176 (LWP 15738) exited]
> [Thread 1233201472 (LWP 15739) exited]
> [New Thread 1233201472 (LWP 15963)]
> [New Thread 1241594176 (LWP 15964)]
> [Thread 1266772288 (LWP 15875) exited]
> [Thread 1258379584 (LWP 15876) exited]
> [New Thread 1258379584 (LWP 16026)]
> [New Thread 1266772288 (LWP 16027)]
> [Thread 1233201472 (LWP 15963) exited]
> [Thread 1241594176 (LWP 15964) exited]
> [New Thread 1241594176 (LWP 16076)]
> [New Thread 1233201472 (LWP 16077)]
> [Thread 1258379584 (LWP 16026) exited]
> [Thread 1266772288 (LWP 16027) exited]
> [New Thread 1266772288 (LWP 16137)]
> [New Thread 1258379584 (LWP 16138)]
> [Thread 1241594176 (LWP 16076) exited]
> [Thread 1233201472 (LWP 16077) exited]
> [New Thread 1233201472 (LWP 16196)]
> [New Thread 1241594176 (LWP 16197)]
> [Thread 1266772288 (LWP 16137) exited]
> [Thread 1258379584 (LWP 16138) exited]
> [New Thread 1258379584 (LWP 16269)]
> [New Thread 1266772288 (LWP 16270)]
> [Thread 1233201472 (LWP 16196) exited]
> [Thread 1241594176 (LWP 16197) exited]
> [New Thread 1241594176 (LWP 16345)]
> [New Thread 1233201472 (LWP 16346)]
> [Thread 1258379584 (LWP 16269) exited]
> [Thread 1266772288 (LWP 16270) exited]
> [New Thread 1266772288 (LWP 16428)]
> [New Thread 1258379584 (LWP 16429)]
> [Thread 1241594176 (LWP 16345) exited]
> [Thread 1233201472 (LWP 16346) exited]
> [New Thread 1233201472 (LWP 16458)]
> [New Thread 1241594176 (LWP 16459)]
> [Thread 1266772288 (LWP 16428) exited]
> [Thread 1258379584 (LWP 16429) exited]
> [New Thread 1258379584 (LWP 16539)]
> [New Thread 1266772288 (LWP 16540)]
> [Thread 1233201472 (LWP 16458) exited]
> [Thread 1241594176 (LWP 16459) exited]
> [New Thread 1241594176 (LWP 16569)]
> [New Thread 1233201472 (LWP 16570)]
> [Thread 1258379584 (LWP 16539) exited]
> [Thread 1266772288 (LWP 16540) exited]
> [New Thread 1266772288 (LWP 16650)]
> [New Thread 1258379584 (LWP 16651)]
> [Thread 1241594176 (LWP 16569) exited]
> [Thread 1233201472 (LWP 16570) exited]
> [New Thread 1233201472 (LWP 16710)]
> [New Thread 1241594176 (LWP 16711)]
> [Thread 1266772288 (LWP 16650) exited]
> [Thread 1258379584 (LWP 16651) exited]
> [New Thread 1258379584 (LWP 16788)]
> [New Thread 1266772288 (LWP 16789)]
> [Thread 1233201472 (LWP 16710) exited]
> [Thread 1241594176 (LWP 16711) exited]
> [New Thread 1241594176 (LWP 16833)]
> [New Thread 1233201472 (LWP 16834)]
> [Thread 1258379584 (LWP 16788) exited]
> [Thread 1266772288 (LWP 16789) exited]
> [New Thread 1266772288 (LWP 16899)]
> [New Thread 1258379584 (LWP 16900)]
> [Thread 1241594176 (LWP 16833) exited]
> [Thread 1233201472 (LWP 16834) exited]
> [New Thread 1233201472 (LWP 16944)]
> [New Thread 1241594176 (LWP 16945)]
> [Thread 1266772288 (LWP 16899) exited]
> [Thread 1258379584 (LWP 16900) exited]
> [New Thread 1258379584 (LWP 17038)]
> [New Thread 1266772288 (LWP 17039)]
> [Thread 1233201472 (LWP 16944) exited]
> [Thread 1241594176 (LWP 16945) exited]
> [New Thread 1241594176 (LWP 17080)]
> [New Thread 1233201472 (LWP 17081)]
> [Thread 1258379584 (LWP 17038) exited]
> [Thread 1266772288 (LWP 17039) exited]
> [New Thread 1266772288 (LWP 17152)]
> [New Thread 1258379584 (LWP 17153)]
> [Thread 1241594176 (LWP 17080) exited]
> [Thread 1233201472 (LWP 17081) exited]
> [New Thread 1233201472 (LWP 17194)]
> [New Thread 1241594176 (LWP 17195)]
> [Thread 1266772288 (LWP 17152) exited]
> [Thread 1258379584 (LWP 17153) exited]
> [New Thread 1258379584 (LWP 17263)]
> [New Thread 1266772288 (LWP 17264)]
> [Thread 1233201472 (LWP 17194) exited]
> [Thread 1241594176 (LWP 17195) exited]
> [New Thread 1241594176 (LWP 17305)]
> [New Thread 1233201472 (LWP 17306)]
> [Thread 1258379584 (LWP 17263) exited]
> [Thread 1266772288 (LWP 17264) exited]
> [New Thread 1266772288 (LWP 17420)]
> [New Thread 1258379584 (LWP 17421)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1258379584 (LWP 17421)]
> MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
> mpeg/mpegtables.h:430
> 430 if (progNum==ProgramNumber(i))
>
> Thread 118 (Thread 1258379584 (LWP 17421)):
> #0 MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
> mpeg/mpegtables.h:430
> send_single_program = <value optimized out>
> #1 0x00002b7623e62485 in MPEGStreamData::HandleTables (this=0x1065a18,
> pid=<value optimized out>, psip=@0x2aaaac03ab50) at
> mpeg/mpegstreamdata.cpp:527
> tsid = <value optimized out>
> pat = {<PSIPTable> = {<PESPacket> = {_vptr.PESPacket = 0x2b762478c090,
> _pesdata = 0x2aaaaadc90c9 "", _fullbuffer = 0x2aaaaadc9010 "G@\022\021!
> \024G", _psiOffset = 184, _ccLast = 1, _pesdataSize = 188, _allocSize
= 3877,
> _badPacket = false}, static PSIP_OFFSET = 8}, <No data fields>}
> version = 0
> #2 0x00002b7623e75c49 in DVBStreamData::HandleTables (this=0x1065930,
> pid=53196, psip=@0x33f31) at mpeg/dvbstreamdata.cpp:198
> No locals.
> #3 0x00002b7623e644c3 in MPEGStreamData::HandleTSTables
(this=0x1065a18,
> tspacket=0x10e1a80) at mpeg/mpegstreamdata.cpp:693
> pmt_sp = (ProgramMapTable *) 0x1842
> morePSIPPackets = false
> psip = (PSIPTable *) 0x2aaaac03ab50
> #4 0x00002b7623e58801 in MPEGStreamData::ProcessTSPacket
(this=0x1065a18,
> tspacket=@0x10e1a80) at mpeg/mpegstreamdata.cpp:731
> No locals.
> #5 0x00002b7623e58657 in MPEGStreamData::ProcessData (this=0x1065a18,
> buffer=0x10e11b0 "G", len=6210) at mpeg/mpegstreamdata.cpp:716
> newpos = 212785
> pos = 2256
> #6 0x00002b762424f9ee in DVBSignalMonitor::RunTableMonitorTS
(this=0x1085f10)
> at dvbsignalmonitor.cpp:386
> timeout = {tv_sec = 0, tv_usec = 48000}
> len = 6210
> remainder = 6210
> buffer_size = 2820000
> buffer = (unsigned char *) 0xcfcc <Address 0xcfcc out of bounds>
> dvr_fname = {static null = {static null = <same as static member of an
> already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> 0xa79f40, static shared_null = 0x705e20}
> dvr_fd = 15
> fd_select_set = {fds_bits = {32768, 0 <repeats 15 times>}}
> #7 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
> (param=0x2aaaaadc90d1) at dvbsignalmonitor.cpp:173
> No locals.
> #8 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #9 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #10 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 117 (Thread 1266772288 (LWP 17420)):
> #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
> No symbol table info available.
> #2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x1085f10) at
> signalmonitor.cpp:271
> slist = {<QValueList<QString>> = {sh = 0x2aaaac00bcc0}, <No data
> me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0xa4deb0},
message =
> {static null = {static null = <same as static member of an already seen
> type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x99e700,
static
> shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
> 0x2aaaac00bcc0}, <No data fields>}}
> #3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop
(self=0x4b816040) at
> signalmonitor.cpp:294
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 116 (Thread 1233201472 (LWP 17306)):
> #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b762424f99b in DVBSignalMonitor::RunTableMonitorTS
(this=0x993d20)
> at dvbsignalmonitor.cpp:367
> timeout = {tv_sec = 0, tv_usec = 16000}
> len = 2256
> remainder = 0
> buffer_size = 2820000
> buffer = <value optimized out>
> dvr_fname = {static null = {static null = <same as static member of an
> already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> 0xa6f3d0, static shared_null = 0x705e20}
> dvr_fd = 21
> fd_select_set = {fds_bits = {0 <repeats 16 times>}}
> #2 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
(param=0x16) at
> dvbsignalmonitor.cpp:173
> No locals.
> #3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #5 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 115 (Thread 1241594176 (LWP 17305)):
> #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
> No symbol table info available.
> #2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x993d20) at
> signalmonitor.cpp:271
> slist = {<QValueList<QString>> = {sh = 0x2aaaac0f4ae0}, <No data
> me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x898ab0},
message =
> {static null = {static null = <same as static member of an already seen
> type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x1068b30,
static
> shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
> 0x2aaaac0f4ae0}, <No data fields>}}
> #3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop
(self=0x4a013040) at
> signalmonitor.cpp:294
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 38 (Thread 1249986880 (LWP 15077)):
> #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b7625c32a35 in MythSocket::readyReadThread () at
mythsocket.cpp:743
> it = {<QGListIterator> = {list = 0x2b7625f2b860, curNode = 0x0}, <No
data
> fields>}
> rval = <value optimized out>
> rfds = {fds_bits = {17179869184, 0 <repeats 15 times>}}
> timeout = {tv_sec = 0, tv_usec = 10000}
> sock = <value optimized out>
> maxfd = 34
> #2 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #3 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #4 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 17 (Thread 1208023360 (LWP 14392)):
> #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b1909 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7de670) at
> mainserver.cpp:131
> No locals.
> #3 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 16 (Thread 1199630656 (LWP 14391)):
> #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b1909 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a0a80) at
> mainserver.cpp:131
> No locals.
> #3 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 15 (Thread 1191237952 (LWP 14390)):
> #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b1909 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x889e20) at
> mainserver.cpp:131
> No locals.
> #3 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 14 (Thread 1182845248 (LWP 14389)):
> #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b1909 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7ee2f0) at
> mainserver.cpp:131
> No locals.
> #3 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 13 (Thread 1174452544 (LWP 14388)):
> #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b1909 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a2970) at
> mainserver.cpp:131
> No locals.
> #3 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 12 (Thread 1166059840 (LWP 14387)):
> #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b7625498964 in SSDP::run (this=0x89fe50) at ssdp.cpp:227
> nMaxSocket = 14
> read_set = {fds_bits = {28672, 0 <repeats 15 times>}}
> timeout = {tv_sec = 0, tv_usec = 160000}
> #2 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #5 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 11 (Thread 1157667136 (LWP 14386)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76273fc5b5 in QThreadInstance::deinit ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b76273fc70e in QThread::msleep () from
/usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #3 0x00002b762549beaa in TaskQueue::run (this=0x898180) at
taskqueue.cpp:140
> ttNow = {tv_sec = 1191682833, tv_usec = 413664}
> pTask = (Task *) 0x0
> #4 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #7 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 10 (Thread 1149274432 (LWP 14385)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b18b9 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b76254ab58f in CEvent::WaitForEvent (this=0x9900e0,
time=500) at
> threadpool.cpp:96
> ret = <value optimized out>
> #3 0x00002b76254ac35c in WorkerThread::run (this=0x9900c0) at
> threadpool.cpp:227
> timer = {m_timer = {ds = 61221332}}
> #4 0x00002b76273fc92b in QThreadInstance::start ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #7 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 9 (Thread 1140881728 (LWP 14384)):
> #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> No symbol table info available.
> #2 0x00002b7623cce199 in JobQueue::ProcessQueue (this=0x894430) at
> jobqueue.cpp:476
> chanid = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> static shared_null = 0x705e20}
> starttime = <value optimized out>
> startts = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> static shared_null = 0x705e20}
> type = 0
> id = 662259144
> cmds = 1140876592
> status = 7347392
> hostname = {static null = {static null = <same as static member of
an already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> static shared_null = 0x705e20}
> sleepTime = 60
> jobStatus = {sh = 0xa73050}
> maxJobs = 1
> queueStartTimeStr = {static null = {static null = <same as static
member of
> an already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> 0x891500, static shared_null = 0x705e20}
> queueEndTimeStr = {static null = {static null = <same as static
member of an
> already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> 0x99fad0, static shared_null = 0x705e20}
> queueStartTime = 7347392
> queueEndTime = <value optimized out>
> curQTime = {ds = 0}
> curTime = <value optimized out>
> message = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> static shared_null = 0x705e20}
> tmpStr = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> static shared_null = 0x705e20}
> jobs = {sh = 0x7e1990}
> atMax = false
> inTimeWindow = 64
> startedJobAlready = 41
> #3 0x00002b7623cd6be9 in JobQueue::QueueProcesserThread
(param=0x44005fd0) at
> jobqueue.cpp:145
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 8 (Thread 1132489024 (LWP 14383)):
> #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> No symbol table info available.
> #2 0x0000000000411fd8 in AutoExpire::Sleep (this=0x7e35a0,
sleepTime=60) at
> autoexpire.cpp:289
> minSleep = 5
> timeExpended = 25
> #3 0x000000000042666d in AutoExpire::RunExpirer (this=0x7e35a0) at
> autoexpire.cpp:274
> timer = {ds = 61208084}
> curTime = {d = {jd = 2454380}, t = {ds = 61208084}}
> next_expire = {d = {jd = 2454380}, t = {ds = 61448077}}
> #4 0x0000000000426749 in AutoExpire::ExpirerThread
(param=0x43806000) at
> autoexpire.cpp:526
> No locals.
> #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #7 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 7 (Thread 1124096320 (LWP 14382)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b18b9 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00000000004a7817 in Scheduler::RunScheduler (this=0xa4d380) at
> scheduler.cpp:1155
> statuschanged = false
> prerollseconds = 0
> secsleft = -110
> nexttv = <value optimized out>
> nextRecording = (ProgramInfo *) 0x1088610
> nextrectime = {d = {jd = 2454380}, t = {ds = 75540000}}
> curtime = {d = {jd = 2454380}, t = {ds = 61232593}}
> recordfileprefix = {static null = {static null = <same as static
member of an
> already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> 0x7ee4b0, static shared_null = 0x705e20}
> blockShutdown = false
> idleSince = {d = {jd = 0}, t = {ds = 0}}
> idleTimeoutSecs = 0
> idleWaitForRecordingTime = 15
> firstRun = false
> fillstart = {tv_sec = 1191682817, tv_usec = 370731}
> fillend = {tv_sec = 1191682817, tv_usec = 490887}
> matchTime = 0.0708369985
> placeTime = <value optimized out>
> query = {<> = {<No data fields>}, m_db = 0x88b7e0, m_isConnected =
true,
> m_returnConnection = false}
> #3 0x00000000004ae1ff in Scheduler::SchedulerThread (param=0xa4d380) at
> scheduler.cpp:1607
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 6 (Thread 1115703616 (LWP 14380)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b7624161042 in TVRec::RunTV (this=0x7f5160) at tv_rec.cpp:1396
> No locals.
> #3 0x00002b76241633b9 in TVRec::EventThread (param=0x87eec4) at
> tv_rec.cpp:1160
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 5 (Thread 1107310912 (LWP 14378)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x85f1c0) at
> eitscanner.cpp:147
> i = <value optimized out>
> list_size = 1107308096
> rate = 1
> t = {m_timer = {ds = 61220409}}
> eitCount = 4
> sz = {2000, 1800, 1600, 1400, 1200}
> rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
> #3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x85f1c0) at
> eitscanner.cpp:66
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 4 (Thread 1098918208 (LWP 14377)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b7624161042 in TVRec::RunTV (this=0x763ec0) at tv_rec.cpp:1396
> No locals.
> #3 0x00002b76241633b9 in TVRec::EventThread (param=0x775b64) at
> tv_rec.cpp:1160
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 3 (Thread 1090525504 (LWP 14373)):
> #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> No symbol table info available.
> #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x761e60) at
> eitscanner.cpp:147
> i = <value optimized out>
> list_size = 1090522688
> rate = 1
> t = {m_timer = {ds = 61231630}}
> eitCount = 767
> sz = {2000, 1800, 1600, 1400, 1200}
> rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
> #3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x761e60) at
> eitscanner.cpp:66
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 2 (Thread 1082132800 (LWP 14371)):
> #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> No symbol table info available.
> #2 0x00000000004b4eb3 in HouseKeeper::RunHouseKeeping
(this=0x761ae0) at
> housekeeper.cpp:240
> dtmp = {d = {jd = 0}, t = {ds = 0}}
> dtime = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x0,
static
> shared_null = 0x705e20}
> verbose_macro_tmp = <incomplete type>
> period = <value optimized out>
> maxhr = <value optimized out>
> minhr = <value optimized out>
> dbTag = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x9a7440,
> static shared_null = 0x705e20}
> #3 0x00000000004b6d19 in HouseKeeper::doHouseKeepingThread
(param=0x407ffa90)
> at housekeeper.cpp:375
> No locals.
> #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> No symbol table info available.
> #6 0x0000000000000000 in ?? ()
> No symbol table info available.
>
> Thread 1 (Thread 47786535860704 (LWP 14367)):
> #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00002b76273b924b in QEventLoop::processEvents ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #2 0x00002b7627417963 in QEventLoop::enterLoop ()
> from /usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #3 0x00002b7627417812 in QEventLoop::exec () from
/usr/lib64/libqt-mt.so.3
> No symbol table info available.
> #4 0x000000000044821e in main (argc=5, argv=<value optimized out>) at
> main.cpp:661
> dtmp = {d = {jd = 2454380}, t = {ds = 54468328}}
> dtime = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
0x7fff87563160,
> static shared_null = 0x705e20}
> verbose_macro_tmp = <incomplete type>
> WOLslaveBackends = {static null = {static null = <same as static
member of an
> already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> 0x7deae0, static shared_null = 0x705e20}
> a = <incomplete type>
> settingsOverride = {sh = 0x748b40}
> binname = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x748bc0,
> static shared_null = 0x705e20}
> daemonize = false
> printsched = false
> testsched = false
> resched = false
> nosched = false
> noupnp = <value optimized out>
> nojobqueue = false
> nohousekeeper = false
> noexpirer = false
> printexpire = false
> pidfs = <incomplete type>
> port = 6543
> myip = {static null = {static null = <same as static member of an
already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x761030,
> static shared_null = 0x705e20}
> masterip = {static null = {static null = <same as static member of
an already
> seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x763210,
> static shared_null = 0x705e20}
> ismaster = true
> fatal_error = false
> runsched = <value optimized out>
> 430 if (progNum==ProgramNumber(i))
>
>
> *******************************************************************
>
> If you need a longer myth.log i can send it!
>
> Thanks,
> Flo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


flo at flobittner

Oct 6, 2007, 2:17 PM

Post #3 of 10 (1043 views)
Permalink
Backend crashes almost daily [In reply to]

Hi Dave,

thanks for your reply.

In my version line 430 of mpeg/mpegtables.h is this:

// helper function
uint FindPID(uint progNum) const
{
for (uint i = 0; i < ProgramCount(); i++)
430: if (progNum==ProgramNumber(i))
return ProgramPID(i);
return 0;
}

I updated svn to revision 14621, but this file didn't change. Perhaps you
meant svn of 0.21?

The faulty channel was "I>TELE" with serviceid 9697 and transportid 1112 on
Astra. It was added shortly by a transponder scan. Normally i set
useonairguide=0 for all transports i don't need, but this time i forgot it. I
did it now because some recordings are scheduled. But i can do more tests
next week if you need them!?

Flo



> Hi Flo,
>
> The fact that this crashes without any frontend means that it is most
> likely crashing when the EIT crawler is running and updating your
> program guides (EPG) from the transmitted EIT data. Your output below
> also confirms this. What you need to do is figure out if this is always
> crashing on one channel.. Look at the output of this before the crash
> and check if it's always happening on the same sid/pid.
>
> Irrespective, i'd consider this a bug since we should trap this error
> (possibly bad PAT data) and discard instead or crashing. Can you check
> if you are on the latest SVN first as i can't even see this source line
> in mpeg/mpegtables.h line 430 of my svn so i can't help further unless
> you upgrade and provide another stacktrace.
>
> Dave
>
> Flo said:
> > Hi,
> >
> > my Backend crashes almost daily these days. Yesterday evening i
>
> watched a
>
> > recording, then another frontend joined -> crash. Today morning it
>
> crashed
>
> > without a frontend. After that i used gdb like mentioned here:
> > http://mythtv.org/docs/mythtv-HOWTO-22.html.
> >
> > I compiled mythtv with debug support (backend only / 0.20.2) and
>
> started it
>
> > with gdb. It's running on a athlon 64 3500+, 2gig ram, 4x500gb linux
>
> raid, 2x
>
> > skystar2 with sasc, xen domain0.
> >
> > It took 2 hours then i got another crash. No frontend was connected
>
> when it
>
> > happened. Can someone please have a look at the logs and tell me
>
> whats wrong
>
> > with it?
> >
> > *******************************************************************
>
> myth.log:
> > 2007-10-06 17:00:18.527 desired_program(9697) pid(0x4fd)
> > 2007-10-06 17:00:18.529 pmt_pid(0x4fd)
> > 2007-10-06 17:00:18.530 PAT for output stream
> > 2007-10-06 17:00:18.531 Program Association Table
> > PSIP tableID(0x0) length(13) extension(0x458)
> > version(30) current(1) section(0) last_section(0)
> > tsid: 1112
> > programCount: 1
> > program number 1 has PID 0x 4fd data 0x0 0x1 0x228 0x253
> >
> > 2007-10-06 17:00:18.533 DVBSM(3)::AddPIDFilter(0x4fd):
> > 2007-10-06 17:00:18.613 SM(3)::AddFlags: Seen(PMT,) Match() Wait()
> > 2007-10-06 17:00:18.636 SM(3)::AddFlags: Seen() Match(PMT,) Wait()
> > 2007-10-06 17:00:18.666 CreatePMTSingleProgram()
> > 2007-10-06 17:00:18.666 PMT in input stream
> > 2007-10-06 17:00:18.667 Program Map Table ver(1) pid(0x4fd)
>
> pnum(9697) len(46)
>
> > Conditional Access: sid(0x500) pid(0x1af6) data_size(11)
> >
> > Stream #0 pid(0xb1) type(video-mpeg2 0x2)
> > Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
> > ISO-639 Language: code(fra) canonical(fra) eng(Unknown)
> >
> > 2007-10-06 17:00:18.670 PMT for output stream
> > 2007-10-06 17:00:18.683 Program Map Table ver(1) pid(0x4fd) pnum(1)
>
> len(23)
>
> > Stream #0 pid(0xb1) type(video-mpeg2 0x2)
> > Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
> >
> > 2007-10-06 17:00:18.702 DTVSM(3)::SetNIT(): net_id = 1
> > 2007-10-06 17:00:18.710 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
> > 2007-10-06 17:00:18.750 TVRec(2): Got good signal
> > 2007-10-06 17:00:18.769 TVRec(2): ClearFlags(WaitingForSignal,) ->
> > RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScan
> > nerRunning,
> > 2007-10-06 17:00:18.792 DVBSM(3)::AddPIDFilter(0x12):
> > 2007-10-06 17:00:18.822 DVBSM(3)::AddPIDFilter(0xb11):
> > 2007-10-06 17:00:18.829 DVBSM(3)::AddPIDFilter(0xb12):
> > 2007-10-06 17:00:18.948 DTVSM(3)::SetNIT(): net_id = 1
> > 2007-10-06 17:00:18.956 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
> > 2007-10-06 17:00:33.476 AddTSPacket: Out of sync!!! Need to wait for
>
> next
>
> > payloadStart PID: 0x12, continuity counter: 14 (exp
> > ected 12).
> >
> > *******************************************************************
>
> gdb.txt
>
> > [Thread debugging using libthread_db enabled]
> > [New Thread 47786535860704 (LWP 14367)]
.
.
.
> > [Thread 1241594176 (LWP 17195) exited]
> > [New Thread 1241594176 (LWP 17305)]
> > [New Thread 1233201472 (LWP 17306)]
> > [Thread 1258379584 (LWP 17263) exited]
> > [Thread 1266772288 (LWP 17264) exited]
> > [New Thread 1266772288 (LWP 17420)]
> > [New Thread 1258379584 (LWP 17421)]
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1258379584 (LWP 17421)]
> > MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
> > mpeg/mpegtables.h:430
> > 430 if (progNum==ProgramNumber(i))
> >
> > Thread 118 (Thread 1258379584 (LWP 17421)):
> > #0 MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
> > mpeg/mpegtables.h:430
> > send_single_program = <value optimized out>
> > #1 0x00002b7623e62485 in MPEGStreamData::HandleTables (this=0x1065a18,
> > pid=<value optimized out>, psip=@0x2aaaac03ab50) at
> > mpeg/mpegstreamdata.cpp:527
> > tsid = <value optimized out>
> > pat = {<PSIPTable> = {<PESPacket> = {_vptr.PESPacket = 0x2b762478c090,
> > _pesdata = 0x2aaaaadc90c9 "", _fullbuffer = 0x2aaaaadc9010 "G@\022\021!
> > \024G", _psiOffset = 184, _ccLast = 1, _pesdataSize = 188, _allocSize
>
> = 3877,
>
> > _badPacket = false}, static PSIP_OFFSET = 8}, <No data fields>}
> > version = 0
> > #2 0x00002b7623e75c49 in DVBStreamData::HandleTables (this=0x1065930,
> > pid=53196, psip=@0x33f31) at mpeg/dvbstreamdata.cpp:198
> > No locals.
> > #3 0x00002b7623e644c3 in MPEGStreamData::HandleTSTables
>
> (this=0x1065a18,
>
> > tspacket=0x10e1a80) at mpeg/mpegstreamdata.cpp:693
> > pmt_sp = (ProgramMapTable *) 0x1842
> > morePSIPPackets = false
> > psip = (PSIPTable *) 0x2aaaac03ab50
> > #4 0x00002b7623e58801 in MPEGStreamData::ProcessTSPacket
>
> (this=0x1065a18,
>
> > tspacket=@0x10e1a80) at mpeg/mpegstreamdata.cpp:731
> > No locals.
> > #5 0x00002b7623e58657 in MPEGStreamData::ProcessData (this=0x1065a18,
> > buffer=0x10e11b0 "G", len=6210) at mpeg/mpegstreamdata.cpp:716
> > newpos = 212785
> > pos = 2256
> > #6 0x00002b762424f9ee in DVBSignalMonitor::RunTableMonitorTS
>
> (this=0x1085f10)
>
> > at dvbsignalmonitor.cpp:386
> > timeout = {tv_sec = 0, tv_usec = 48000}
> > len = 6210
> > remainder = 6210
> > buffer_size = 2820000
> > buffer = (unsigned char *) 0xcfcc <Address 0xcfcc out of bounds>
> > dvr_fname = {static null = {static null = <same as static member of an
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0xa79f40, static shared_null = 0x705e20}
> > dvr_fd = 15
> > fd_select_set = {fds_bits = {32768, 0 <repeats 15 times>}}
> > #7 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
> > (param=0x2aaaaadc90d1) at dvbsignalmonitor.cpp:173
> > No locals.
> > #8 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #9 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #10 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 117 (Thread 1266772288 (LWP 17420)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x1085f10) at
> > signalmonitor.cpp:271
> > slist = {<QValueList<QString>> = {sh = 0x2aaaac00bcc0}, <No data
>
> fields>}
>
> > me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0xa4deb0},
>
> message =
>
> > {static null = {static null = <same as static member of an already seen
> > type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x99e700,
>
> static
>
> > shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
> > 0x2aaaac00bcc0}, <No data fields>}}
> > #3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop
>
> (self=0x4b816040) at
>
> > signalmonitor.cpp:294
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 116 (Thread 1233201472 (LWP 17306)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b762424f99b in DVBSignalMonitor::RunTableMonitorTS
>
> (this=0x993d20)
>
> > at dvbsignalmonitor.cpp:367
> > timeout = {tv_sec = 0, tv_usec = 16000}
> > len = 2256
> > remainder = 0
> > buffer_size = 2820000
> > buffer = <value optimized out>
> > dvr_fname = {static null = {static null = <same as static member of an
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0xa6f3d0, static shared_null = 0x705e20}
> > dvr_fd = 21
> > fd_select_set = {fds_bits = {0 <repeats 16 times>}}
> > #2 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
>
> (param=0x16) at
>
> > dvbsignalmonitor.cpp:173
> > No locals.
> > #3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #5 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 115 (Thread 1241594176 (LWP 17305)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x993d20) at
> > signalmonitor.cpp:271
> > slist = {<QValueList<QString>> = {sh = 0x2aaaac0f4ae0}, <No data
>
> fields>}
>
> > me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x898ab0},
>
> message =
>
> > {static null = {static null = <same as static member of an already seen
> > type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x1068b30,
>
> static
>
> > shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
> > 0x2aaaac0f4ae0}, <No data fields>}}
> > #3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop
>
> (self=0x4a013040) at
>
> > signalmonitor.cpp:294
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 38 (Thread 1249986880 (LWP 15077)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b7625c32a35 in MythSocket::readyReadThread () at
>
> mythsocket.cpp:743
>
> > it = {<QGListIterator> = {list = 0x2b7625f2b860, curNode = 0x0}, <No
>
> data
>
> > fields>}
> > rval = <value optimized out>
> > rfds = {fds_bits = {17179869184, 0 <repeats 15 times>}}
> > timeout = {tv_sec = 0, tv_usec = 10000}
> > sock = <value optimized out>
> > maxfd = 34
> > #2 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #3 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #4 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 17 (Thread 1208023360 (LWP 14392)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7de670) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 16 (Thread 1199630656 (LWP 14391)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a0a80) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 15 (Thread 1191237952 (LWP 14390)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x889e20) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 14 (Thread 1182845248 (LWP 14389)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7ee2f0) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 13 (Thread 1174452544 (LWP 14388)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a2970) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 12 (Thread 1166059840 (LWP 14387)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b7625498964 in SSDP::run (this=0x89fe50) at ssdp.cpp:227
> > nMaxSocket = 14
> > read_set = {fds_bits = {28672, 0 <repeats 15 times>}}
> > timeout = {tv_sec = 0, tv_usec = 160000}
> > #2 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #5 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 11 (Thread 1157667136 (LWP 14386)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76273fc5b5 in QThreadInstance::deinit ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76273fc70e in QThread::msleep () from
>
> /usr/lib64/libqt-mt.so.3
>
> > No symbol table info available.
> > #3 0x00002b762549beaa in TaskQueue::run (this=0x898180) at
>
> taskqueue.cpp:140
>
> > ttNow = {tv_sec = 1191682833, tv_usec = 413664}
> > pTask = (Task *) 0x0
> > #4 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #7 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 10 (Thread 1149274432 (LWP 14385)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b18b9 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76254ab58f in CEvent::WaitForEvent (this=0x9900e0,
>
> time=500) at
>
> > threadpool.cpp:96
> > ret = <value optimized out>
> > #3 0x00002b76254ac35c in WorkerThread::run (this=0x9900c0) at
> > threadpool.cpp:227
> > timer = {m_timer = {ds = 61221332}}
> > #4 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #7 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 9 (Thread 1140881728 (LWP 14384)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00002b7623cce199 in JobQueue::ProcessQueue (this=0x894430) at
> > jobqueue.cpp:476
> > chanid = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > starttime = <value optimized out>
> > startts = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > type = 0
> > id = 662259144
> > cmds = 1140876592
> > status = 7347392
> > hostname = {static null = {static null = <same as static member of
>
> an already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > sleepTime = 60
> > jobStatus = {sh = 0xa73050}
> > maxJobs = 1
> > queueStartTimeStr = {static null = {static null = <same as static
>
> member of
>
> > an already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x891500, static shared_null = 0x705e20}
> > queueEndTimeStr = {static null = {static null = <same as static
>
> member of an
>
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x99fad0, static shared_null = 0x705e20}
> > queueStartTime = 7347392
> > queueEndTime = <value optimized out>
> > curQTime = {ds = 0}
> > curTime = <value optimized out>
> > message = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > tmpStr = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > jobs = {sh = 0x7e1990}
> > atMax = false
> > inTimeWindow = 64
> > startedJobAlready = 41
> > #3 0x00002b7623cd6be9 in JobQueue::QueueProcesserThread
>
> (param=0x44005fd0) at
>
> > jobqueue.cpp:145
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 8 (Thread 1132489024 (LWP 14383)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x0000000000411fd8 in AutoExpire::Sleep (this=0x7e35a0,
>
> sleepTime=60) at
>
> > autoexpire.cpp:289
> > minSleep = 5
> > timeExpended = 25
> > #3 0x000000000042666d in AutoExpire::RunExpirer (this=0x7e35a0) at
> > autoexpire.cpp:274
> > timer = {ds = 61208084}
> > curTime = {d = {jd = 2454380}, t = {ds = 61208084}}
> > next_expire = {d = {jd = 2454380}, t = {ds = 61448077}}
> > #4 0x0000000000426749 in AutoExpire::ExpirerThread
>
> (param=0x43806000) at
>
> > autoexpire.cpp:526
> > No locals.
> > #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #7 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 7 (Thread 1124096320 (LWP 14382)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b18b9 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00000000004a7817 in Scheduler::RunScheduler (this=0xa4d380) at
> > scheduler.cpp:1155
> > statuschanged = false
> > prerollseconds = 0
> > secsleft = -110
> > nexttv = <value optimized out>
> > nextRecording = (ProgramInfo *) 0x1088610
> > nextrectime = {d = {jd = 2454380}, t = {ds = 75540000}}
> > curtime = {d = {jd = 2454380}, t = {ds = 61232593}}
> > recordfileprefix = {static null = {static null = <same as static
>
> member of an
>
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x7ee4b0, static shared_null = 0x705e20}
> > blockShutdown = false
> > idleSince = {d = {jd = 0}, t = {ds = 0}}
> > idleTimeoutSecs = 0
> > idleWaitForRecordingTime = 15
> > firstRun = false
> > fillstart = {tv_sec = 1191682817, tv_usec = 370731}
> > fillend = {tv_sec = 1191682817, tv_usec = 490887}
> > matchTime = 0.0708369985
> > placeTime = <value optimized out>
> > query = {<> = {<No data fields>}, m_db = 0x88b7e0, m_isConnected =
>
> true,
>
> > m_returnConnection = false}
> > #3 0x00000000004ae1ff in Scheduler::SchedulerThread (param=0xa4d380) at
> > scheduler.cpp:1607
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 6 (Thread 1115703616 (LWP 14380)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b7624161042 in TVRec::RunTV (this=0x7f5160) at
> > tv_rec.cpp:1396 No locals.
> > #3 0x00002b76241633b9 in TVRec::EventThread (param=0x87eec4) at
> > tv_rec.cpp:1160
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 5 (Thread 1107310912 (LWP 14378)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x85f1c0) at
> > eitscanner.cpp:147
> > i = <value optimized out>
> > list_size = 1107308096
> > rate = 1
> > t = {m_timer = {ds = 61220409}}
> > eitCount = 4
> > sz = {2000, 1800, 1600, 1400, 1200}
> > rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
> > #3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x85f1c0) at
> > eitscanner.cpp:66
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 4 (Thread 1098918208 (LWP 14377)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b7624161042 in TVRec::RunTV (this=0x763ec0) at
> > tv_rec.cpp:1396 No locals.
> > #3 0x00002b76241633b9 in TVRec::EventThread (param=0x775b64) at
> > tv_rec.cpp:1160
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 3 (Thread 1090525504 (LWP 14373)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x761e60) at
> > eitscanner.cpp:147
> > i = <value optimized out>
> > list_size = 1090522688
> > rate = 1
> > t = {m_timer = {ds = 61231630}}
> > eitCount = 767
> > sz = {2000, 1800, 1600, 1400, 1200}
> > rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
> > #3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x761e60) at
> > eitscanner.cpp:66
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 2 (Thread 1082132800 (LWP 14371)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00000000004b4eb3 in HouseKeeper::RunHouseKeeping
>
> (this=0x761ae0) at
>
> > housekeeper.cpp:240
> > dtmp = {d = {jd = 0}, t = {ds = 0}}
> > dtime = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x0,
>
> static
>
> > shared_null = 0x705e20}
> > verbose_macro_tmp = <incomplete type>
> > period = <value optimized out>
> > maxhr = <value optimized out>
> > minhr = <value optimized out>
> > dbTag = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x9a7440,
> > static shared_null = 0x705e20}
> > #3 0x00000000004b6d19 in HouseKeeper::doHouseKeepingThread
>
> (param=0x407ffa90)
>
> > at housekeeper.cpp:375
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 1 (Thread 47786535860704 (LWP 14367)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76273b924b in QEventLoop::processEvents ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b7627417963 in QEventLoop::enterLoop ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #3 0x00002b7627417812 in QEventLoop::exec () from
>
> /usr/lib64/libqt-mt.so.3
>
> > No symbol table info available.
> > #4 0x000000000044821e in main (argc=5, argv=<value optimized out>) at
> > main.cpp:661
> > dtmp = {d = {jd = 2454380}, t = {ds = 54468328}}
> > dtime = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
>
> 0x7fff87563160,
>
> > static shared_null = 0x705e20}
> > verbose_macro_tmp = <incomplete type>
> > WOLslaveBackends = {static null = {static null = <same as static
>
> member of an
>
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x7deae0, static shared_null = 0x705e20}
> > a = <incomplete type>
> > settingsOverride = {sh = 0x748b40}
> > binname = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x748bc0,
> > static shared_null = 0x705e20}
> > daemonize = false
> > printsched = false
> > testsched = false
> > resched = false
> > nosched = false
> > noupnp = <value optimized out>
> > nojobqueue = false
> > nohousekeeper = false
> > noexpirer = false
> > printexpire = false
> > pidfs = <incomplete type>
> > port = 6543
> > myip = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x761030,
> > static shared_null = 0x705e20}
> > masterip = {static null = {static null = <same as static member of
>
> an already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x763210,
> > static shared_null = 0x705e20}
> > ismaster = true
> > fatal_error = false
> > runsched = <value optimized out>
> > 430 if (progNum==ProgramNumber(i))
> >
> >
> > *******************************************************************
> >
> > If you need a longer myth.log i can send it!
> >
> > Thanks,
> > Flo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


dave at 0bits

Oct 6, 2007, 4:28 PM

Post #4 of 10 (1041 views)
Permalink
Backend crashes almost daily [In reply to]

Hmmm, interesting.

According to the spec:

---------------------
2) New text for Receiver processing:

"The Receiver MUST check the MPEG-2 Continuity Counter carried in the TS
Packet header [ISO-MPEG]. If two (or more) successive TS Packets within
the same TS Logical Channel carry the same Continuity Counter value, the
duplicate TS Packets MUST be silently discarded. If the received value
is NOT identical to that in the previous TS Packet, and it does NOT
increment by one for successive TS Packets (modulo 16), the Receiver has
detected a continuity error. Any partially received SNDU Payload) MUST
be discarded. A continuity counter error event SHOULD be recorded. The
Receiver then enters the Idle State.
------------------------


Seems like the backend crashes when we are processing a packet with the
continuity counter not in sequence. According to my interpretation of
the above, we need to discard this TS packet completely. Seems just
before we crash we see this error :

2007-10-06 17:00:33.476 AddTSPacket: Out of sync!!! Need to wait for
next payloadStart PID: 0x12, continuity counter: 14 (expected 12).

I think in 'pespacket.cpp' we need to return false here just after this
error:

VERBOSE(VB_RECORD, "AddTSPacket: Out of sync!!! "
"Need to wait for next payloadStart" +
QString(" PID: 0x%1, continuity counter: %2 (expected
%3).")
.arg(packet->PID(),0,16).arg(cc).arg(ccExp));
return true;
^^^^^


Comments ?
Dave


-------- Original Message --------
Subject: [mythtv] Backend crashes almost daily
Date: Sat, 6 Oct 2007 23:17:33 +0200
From: flo <flo [at] flobittner>
Reply-To: Development of mythtv <mythtv-dev [at] mythtv>
To: mythtv-dev [at] mythtv

Hi Dave,

thanks for your reply.

In my version line 430 of mpeg/mpegtables.h is this:

// helper function
uint FindPID(uint progNum) const
{
for (uint i = 0; i < ProgramCount(); i++)
430: if (progNum==ProgramNumber(i))
return ProgramPID(i);
return 0;
}

I updated svn to revision 14621, but this file didn't change. Perhaps you
meant svn of 0.21?

The faulty channel was "I>TELE" with serviceid 9697 and transportid 1112 on
Astra. It was added shortly by a transponder scan. Normally i set
useonairguide=0 for all transports i don't need, but this time i forgot
it. I
did it now because some recordings are scheduled. But i can do more tests
next week if you need them!?

Flo



> Hi Flo,
>
> The fact that this crashes without any frontend means that it is most
> likely crashing when the EIT crawler is running and updating your
> program guides (EPG) from the transmitted EIT data. Your output below
> also confirms this. What you need to do is figure out if this is always
> crashing on one channel.. Look at the output of this before the crash
> and check if it's always happening on the same sid/pid.
>
> Irrespective, i'd consider this a bug since we should trap this error
> (possibly bad PAT data) and discard instead or crashing. Can you check
> if you are on the latest SVN first as i can't even see this source line
> in mpeg/mpegtables.h line 430 of my svn so i can't help further unless
> you upgrade and provide another stacktrace.
>
> Dave
>
> Flo said:
> > Hi,
> >
> > my Backend crashes almost daily these days. Yesterday evening i
>
> watched a
>
> > recording, then another frontend joined -> crash. Today morning it
>
> crashed
>
> > without a frontend. After that i used gdb like mentioned here:
> > http://mythtv.org/docs/mythtv-HOWTO-22.html.
> >
> > I compiled mythtv with debug support (backend only / 0.20.2) and
>
> started it
>
> > with gdb. It's running on a athlon 64 3500+, 2gig ram, 4x500gb linux
>
> raid, 2x
>
> > skystar2 with sasc, xen domain0.
> >
> > It took 2 hours then i got another crash. No frontend was connected
>
> when it
>
> > happened. Can someone please have a look at the logs and tell me
>
> whats wrong
>
> > with it?
> >
> > *******************************************************************
>
> myth.log:
> > 2007-10-06 17:00:18.527 desired_program(9697) pid(0x4fd)
> > 2007-10-06 17:00:18.529 pmt_pid(0x4fd)
> > 2007-10-06 17:00:18.530 PAT for output stream
> > 2007-10-06 17:00:18.531 Program Association Table
> > PSIP tableID(0x0) length(13) extension(0x458)
> > version(30) current(1) section(0) last_section(0)
> > tsid: 1112
> > programCount: 1
> > program number 1 has PID 0x 4fd data 0x0 0x1 0x228 0x253
> >
> > 2007-10-06 17:00:18.533 DVBSM(3)::AddPIDFilter(0x4fd):
> > 2007-10-06 17:00:18.613 SM(3)::AddFlags: Seen(PMT,) Match() Wait()
> > 2007-10-06 17:00:18.636 SM(3)::AddFlags: Seen() Match(PMT,) Wait()
> > 2007-10-06 17:00:18.666 CreatePMTSingleProgram()
> > 2007-10-06 17:00:18.666 PMT in input stream
> > 2007-10-06 17:00:18.667 Program Map Table ver(1) pid(0x4fd)
>
> pnum(9697) len(46)
>
> > Conditional Access: sid(0x500) pid(0x1af6) data_size(11)
> >
> > Stream #0 pid(0xb1) type(video-mpeg2 0x2)
> > Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
> > ISO-639 Language: code(fra) canonical(fra) eng(Unknown)
> >
> > 2007-10-06 17:00:18.670 PMT for output stream
> > 2007-10-06 17:00:18.683 Program Map Table ver(1) pid(0x4fd) pnum(1)
>
> len(23)
>
> > Stream #0 pid(0xb1) type(video-mpeg2 0x2)
> > Stream #1 pid(0x84) type(audio-mp2-layer[1,2,3] 0x4)
> >
> > 2007-10-06 17:00:18.702 DTVSM(3)::SetNIT(): net_id = 1
> > 2007-10-06 17:00:18.710 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
> > 2007-10-06 17:00:18.750 TVRec(2): Got good signal
> > 2007-10-06 17:00:18.769 TVRec(2): ClearFlags(WaitingForSignal,) ->
> > RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScan
> > nerRunning,
> > 2007-10-06 17:00:18.792 DVBSM(3)::AddPIDFilter(0x12):
> > 2007-10-06 17:00:18.822 DVBSM(3)::AddPIDFilter(0xb11):
> > 2007-10-06 17:00:18.829 DVBSM(3)::AddPIDFilter(0xb12):
> > 2007-10-06 17:00:18.948 DTVSM(3)::SetNIT(): net_id = 1
> > 2007-10-06 17:00:18.956 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
> > 2007-10-06 17:00:33.476 AddTSPacket: Out of sync!!! Need to wait for
>
> next
>
> > payloadStart PID: 0x12, continuity counter: 14 (exp
> > ected 12).
> >
> > *******************************************************************
>
> gdb.txt
>
> > [Thread debugging using libthread_db enabled]
> > [New Thread 47786535860704 (LWP 14367)]
.
.
.
> > [Thread 1241594176 (LWP 17195) exited]
> > [New Thread 1241594176 (LWP 17305)]
> > [New Thread 1233201472 (LWP 17306)]
> > [Thread 1258379584 (LWP 17263) exited]
> > [Thread 1266772288 (LWP 17264) exited]
> > [New Thread 1266772288 (LWP 17420)]
> > [New Thread 1258379584 (LWP 17421)]
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1258379584 (LWP 17421)]
> > MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
> > mpeg/mpegtables.h:430
> > 430 if (progNum==ProgramNumber(i))
> >
> > Thread 118 (Thread 1258379584 (LWP 17421)):
> > #0 MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
> > mpeg/mpegtables.h:430
> > send_single_program = <value optimized out>
> > #1 0x00002b7623e62485 in MPEGStreamData::HandleTables (this=0x1065a18,
> > pid=<value optimized out>, psip=@0x2aaaac03ab50) at
> > mpeg/mpegstreamdata.cpp:527
> > tsid = <value optimized out>
> > pat = {<PSIPTable> = {<PESPacket> = {_vptr.PESPacket = 0x2b762478c090,
> > _pesdata = 0x2aaaaadc90c9 "", _fullbuffer = 0x2aaaaadc9010 "G@\022\021!
> > \024G", _psiOffset = 184, _ccLast = 1, _pesdataSize = 188, _allocSize
>
> = 3877,
>
> > _badPacket = false}, static PSIP_OFFSET = 8}, <No data fields>}
> > version = 0
> > #2 0x00002b7623e75c49 in DVBStreamData::HandleTables (this=0x1065930,
> > pid=53196, psip=@0x33f31) at mpeg/dvbstreamdata.cpp:198
> > No locals.
> > #3 0x00002b7623e644c3 in MPEGStreamData::HandleTSTables
>
> (this=0x1065a18,
>
> > tspacket=0x10e1a80) at mpeg/mpegstreamdata.cpp:693
> > pmt_sp = (ProgramMapTable *) 0x1842
> > morePSIPPackets = false
> > psip = (PSIPTable *) 0x2aaaac03ab50
> > #4 0x00002b7623e58801 in MPEGStreamData::ProcessTSPacket
>
> (this=0x1065a18,
>
> > tspacket=@0x10e1a80) at mpeg/mpegstreamdata.cpp:731
> > No locals.
> > #5 0x00002b7623e58657 in MPEGStreamData::ProcessData (this=0x1065a18,
> > buffer=0x10e11b0 "G", len=6210) at mpeg/mpegstreamdata.cpp:716
> > newpos = 212785
> > pos = 2256
> > #6 0x00002b762424f9ee in DVBSignalMonitor::RunTableMonitorTS
>
> (this=0x1085f10)
>
> > at dvbsignalmonitor.cpp:386
> > timeout = {tv_sec = 0, tv_usec = 48000}
> > len = 6210
> > remainder = 6210
> > buffer_size = 2820000
> > buffer = (unsigned char *) 0xcfcc <Address 0xcfcc out of bounds>
> > dvr_fname = {static null = {static null = <same as static member of an
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0xa79f40, static shared_null = 0x705e20}
> > dvr_fd = 15
> > fd_select_set = {fds_bits = {32768, 0 <repeats 15 times>}}
> > #7 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
> > (param=0x2aaaaadc90d1) at dvbsignalmonitor.cpp:173
> > No locals.
> > #8 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #9 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #10 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 117 (Thread 1266772288 (LWP 17420)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x1085f10) at
> > signalmonitor.cpp:271
> > slist = {<QValueList<QString>> = {sh = 0x2aaaac00bcc0}, <No data
>
> fields>}
>
> > me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0xa4deb0},
>
> message =
>
> > {static null = {static null = <same as static member of an already seen
> > type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x99e700,
>
> static
>
> > shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
> > 0x2aaaac00bcc0}, <No data fields>}}
> > #3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop
>
> (self=0x4b816040) at
>
> > signalmonitor.cpp:294
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 116 (Thread 1233201472 (LWP 17306)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b762424f99b in DVBSignalMonitor::RunTableMonitorTS
>
> (this=0x993d20)
>
> > at dvbsignalmonitor.cpp:367
> > timeout = {tv_sec = 0, tv_usec = 16000}
> > len = 2256
> > remainder = 0
> > buffer_size = 2820000
> > buffer = <value optimized out>
> > dvr_fname = {static null = {static null = <same as static member of an
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0xa6f3d0, static shared_null = 0x705e20}
> > dvr_fd = 21
> > fd_select_set = {fds_bits = {0 <repeats 16 times>}}
> > #2 0x00002b7624251459 in DVBSignalMonitor::TableMonitorThread
>
> (param=0x16) at
>
> > dvbsignalmonitor.cpp:173
> > No locals.
> > #3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #5 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 115 (Thread 1241594176 (LWP 17305)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291ebab4 in usleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00002b76240abc61 in SignalMonitor::MonitorLoop (this=0x993d20) at
> > signalmonitor.cpp:271
> > slist = {<QValueList<QString>> = {sh = 0x2aaaac0f4ae0}, <No data
>
> fields>}
>
> > me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x898ab0},
>
> message =
>
> > {static null = {static null = <same as static member of an already seen
> > type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x1068b30,
>
> static
>
> > shared_null = 0x705e20}, extradata = {<QValueList<QString>> = {sh =
> > 0x2aaaac0f4ae0}, <No data fields>}}
> > #3 0x00002b76240aa6cd in SignalMonitor::SpawnMonitorLoop
>
> (self=0x4a013040) at
>
> > signalmonitor.cpp:294
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 38 (Thread 1249986880 (LWP 15077)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b7625c32a35 in MythSocket::readyReadThread () at
>
> mythsocket.cpp:743
>
> > it = {<QGListIterator> = {list = 0x2b7625f2b860, curNode = 0x0}, <No
>
> data
>
> > fields>}
> > rval = <value optimized out>
> > rfds = {fds_bits = {17179869184, 0 <repeats 15 times>}}
> > timeout = {tv_sec = 0, tv_usec = 10000}
> > sock = <value optimized out>
> > maxfd = 34
> > #2 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #3 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #4 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 17 (Thread 1208023360 (LWP 14392)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7de670) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 16 (Thread 1199630656 (LWP 14391)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a0a80) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 15 (Thread 1191237952 (LWP 14390)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x889e20) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 14 (Thread 1182845248 (LWP 14389)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x7ee2f0) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 13 (Thread 1174452544 (LWP 14388)):
> > #0 0x00002b76287bc746 in pthread_cond_wait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b1909 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x0000000000487a0c in ProcessRequestThread::run (this=0x8a2970) at
> > mainserver.cpp:131
> > No locals.
> > #3 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 12 (Thread 1166059840 (LWP 14387)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b7625498964 in SSDP::run (this=0x89fe50) at ssdp.cpp:227
> > nMaxSocket = 14
> > read_set = {fds_bits = {28672, 0 <repeats 15 times>}}
> > timeout = {tv_sec = 0, tv_usec = 160000}
> > #2 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #3 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #4 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #5 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 11 (Thread 1157667136 (LWP 14386)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76273fc5b5 in QThreadInstance::deinit ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76273fc70e in QThread::msleep () from
>
> /usr/lib64/libqt-mt.so.3
>
> > No symbol table info available.
> > #3 0x00002b762549beaa in TaskQueue::run (this=0x898180) at
>
> taskqueue.cpp:140
>
> > ttNow = {tv_sec = 1191682833, tv_usec = 413664}
> > pTask = (Task *) 0x0
> > #4 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #7 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 10 (Thread 1149274432 (LWP 14385)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b18b9 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76254ab58f in CEvent::WaitForEvent (this=0x9900e0,
>
> time=500) at
>
> > threadpool.cpp:96
> > ret = <value optimized out>
> > #3 0x00002b76254ac35c in WorkerThread::run (this=0x9900c0) at
> > threadpool.cpp:227
> > timer = {m_timer = {ds = 61221332}}
> > #4 0x00002b76273fc92b in QThreadInstance::start ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #7 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 9 (Thread 1140881728 (LWP 14384)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00002b7623cce199 in JobQueue::ProcessQueue (this=0x894430) at
> > jobqueue.cpp:476
> > chanid = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > starttime = <value optimized out>
> > startts = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > type = 0
> > id = 662259144
> > cmds = 1140876592
> > status = 7347392
> > hostname = {static null = {static null = <same as static member of
>
> an already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > sleepTime = 60
> > jobStatus = {sh = 0xa73050}
> > maxJobs = 1
> > queueStartTimeStr = {static null = {static null = <same as static
>
> member of
>
> > an already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x891500, static shared_null = 0x705e20}
> > queueEndTimeStr = {static null = {static null = <same as static
>
> member of an
>
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x99fad0, static shared_null = 0x705e20}
> > queueStartTime = 7347392
> > queueEndTime = <value optimized out>
> > curQTime = {ds = 0}
> > curTime = <value optimized out>
> > message = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > tmpStr = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x705e20,
> > static shared_null = 0x705e20}
> > jobs = {sh = 0x7e1990}
> > atMax = false
> > inTimeWindow = 64
> > startedJobAlready = 41
> > #3 0x00002b7623cd6be9 in JobQueue::QueueProcesserThread
>
> (param=0x44005fd0) at
>
> > jobqueue.cpp:145
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 8 (Thread 1132489024 (LWP 14383)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x0000000000411fd8 in AutoExpire::Sleep (this=0x7e35a0,
>
> sleepTime=60) at
>
> > autoexpire.cpp:289
> > minSleep = 5
> > timeExpended = 25
> > #3 0x000000000042666d in AutoExpire::RunExpirer (this=0x7e35a0) at
> > autoexpire.cpp:274
> > timer = {ds = 61208084}
> > curTime = {d = {jd = 2454380}, t = {ds = 61208084}}
> > next_expire = {d = {jd = 2454380}, t = {ds = 61448077}}
> > #4 0x0000000000426749 in AutoExpire::ExpirerThread
>
> (param=0x43806000) at
>
> > autoexpire.cpp:526
> > No locals.
> > #5 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #6 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #7 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 7 (Thread 1124096320 (LWP 14382)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b18b9 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00000000004a7817 in Scheduler::RunScheduler (this=0xa4d380) at
> > scheduler.cpp:1155
> > statuschanged = false
> > prerollseconds = 0
> > secsleft = -110
> > nexttv = <value optimized out>
> > nextRecording = (ProgramInfo *) 0x1088610
> > nextrectime = {d = {jd = 2454380}, t = {ds = 75540000}}
> > curtime = {d = {jd = 2454380}, t = {ds = 61232593}}
> > recordfileprefix = {static null = {static null = <same as static
>
> member of an
>
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x7ee4b0, static shared_null = 0x705e20}
> > blockShutdown = false
> > idleSince = {d = {jd = 0}, t = {ds = 0}}
> > idleTimeoutSecs = 0
> > idleWaitForRecordingTime = 15
> > firstRun = false
> > fillstart = {tv_sec = 1191682817, tv_usec = 370731}
> > fillend = {tv_sec = 1191682817, tv_usec = 490887}
> > matchTime = 0.0708369985
> > placeTime = <value optimized out>
> > query = {<> = {<No data fields>}, m_db = 0x88b7e0, m_isConnected =
>
> true,
>
> > m_returnConnection = false}
> > #3 0x00000000004ae1ff in Scheduler::SchedulerThread (param=0xa4d380) at
> > scheduler.cpp:1607
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 6 (Thread 1115703616 (LWP 14380)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b7624161042 in TVRec::RunTV (this=0x7f5160) at
> > tv_rec.cpp:1396 No locals.
> > #3 0x00002b76241633b9 in TVRec::EventThread (param=0x87eec4) at
> > tv_rec.cpp:1160
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 5 (Thread 1107310912 (LWP 14378)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x85f1c0) at
> > eitscanner.cpp:147
> > i = <value optimized out>
> > list_size = 1107308096
> > rate = 1
> > t = {m_timer = {ds = 61220409}}
> > eitCount = 4
> > sz = {2000, 1800, 1600, 1400, 1200}
> > rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
> > #3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x85f1c0) at
> > eitscanner.cpp:66
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 4 (Thread 1098918208 (LWP 14377)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b7624161042 in TVRec::RunTV (this=0x763ec0) at
> > tv_rec.cpp:1396 No locals.
> > #3 0x00002b76241633b9 in TVRec::EventThread (param=0x775b64) at
> > tv_rec.cpp:1160
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 3 (Thread 1090525504 (LWP 14373)):
> > #0 0x00002b76287bc937 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> > from /lib64/libpthread.so.0
> > No symbol table info available.
> > #1 0x00002b76276b19e3 in QWaitCondition::wait ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b76241178b1 in EITScanner::RunEventLoop (this=0x761e60) at
> > eitscanner.cpp:147
> > i = <value optimized out>
> > list_size = 1090522688
> > rate = 1
> > t = {m_timer = {ds = 61231630}}
> > eitCount = 767
> > sz = {2000, 1800, 1600, 1400, 1200}
> > rt = {0, 0.200000003, 0.400000006, 0.600000024, 0.800000012}
> > #3 0x00002b76241186c2 in EITScanner::SpawnEventLoop (param=0x761e60) at
> > eitscanner.cpp:66
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 2 (Thread 1082132800 (LWP 14371)):
> > #0 0x00002b76291c34f1 in __nanosleep_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76291c32f9 in sleep () from /lib64/libc.so.6
> > No symbol table info available.
> > #2 0x00000000004b4eb3 in HouseKeeper::RunHouseKeeping
>
> (this=0x761ae0) at
>
> > housekeeper.cpp:240
> > dtmp = {d = {jd = 0}, t = {ds = 0}}
> > dtime = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x0,
>
> static
>
> > shared_null = 0x705e20}
> > verbose_macro_tmp = <incomplete type>
> > period = <value optimized out>
> > maxhr = <value optimized out>
> > minhr = <value optimized out>
> > dbTag = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x9a7440,
> > static shared_null = 0x705e20}
> > #3 0x00000000004b6d19 in HouseKeeper::doHouseKeepingThread
>
> (param=0x407ffa90)
>
> > at housekeeper.cpp:375
> > No locals.
> > #4 0x00002b76287b809e in start_thread () from /lib64/libpthread.so.0
> > No symbol table info available.
> > #5 0x00002b76291f14cd in clone () from /lib64/libc.so.6
> > No symbol table info available.
> > #6 0x0000000000000000 in ?? ()
> > No symbol table info available.
> >
> > Thread 1 (Thread 47786535860704 (LWP 14367)):
> > #0 0x00002b76291eb302 in __select_nocancel () from /lib64/libc.so.6
> > No symbol table info available.
> > #1 0x00002b76273b924b in QEventLoop::processEvents ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #2 0x00002b7627417963 in QEventLoop::enterLoop ()
> > from /usr/lib64/libqt-mt.so.3
> > No symbol table info available.
> > #3 0x00002b7627417812 in QEventLoop::exec () from
>
> /usr/lib64/libqt-mt.so.3
>
> > No symbol table info available.
> > #4 0x000000000044821e in main (argc=5, argv=<value optimized out>) at
> > main.cpp:661
> > dtmp = {d = {jd = 2454380}, t = {ds = 54468328}}
> > dtime = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
>
> 0x7fff87563160,
>
> > static shared_null = 0x705e20}
> > verbose_macro_tmp = <incomplete type>
> > WOLslaveBackends = {static null = {static null = <same as static
>
> member of an
>
> > already seen type>, d = 0x705e20, static shared_null = 0x705e20}, d =
> > 0x7deae0, static shared_null = 0x705e20}
> > a = <incomplete type>
> > settingsOverride = {sh = 0x748b40}
> > binname = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x748bc0,
> > static shared_null = 0x705e20}
> > daemonize = false
> > printsched = false
> > testsched = false
> > resched = false
> > nosched = false
> > noupnp = <value optimized out>
> > nojobqueue = false
> > nohousekeeper = false
> > noexpirer = false
> > printexpire = false
> > pidfs = <incomplete type>
> > port = 6543
> > myip = {static null = {static null = <same as static member of an
>
> already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x761030,
> > static shared_null = 0x705e20}
> > masterip = {static null = {static null = <same as static member of
>
> an already
>
> > seen type>, d = 0x705e20, static shared_null = 0x705e20}, d = 0x763210,
> > static shared_null = 0x705e20}
> > ismaster = true
> > fatal_error = false
> > runsched = <value optimized out>
> > 430 if (progNum==ProgramNumber(i))
> >
> >
> > *******************************************************************
> >
> > If you need a longer myth.log i can send it!
> >
> > Thanks,
> > Flo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


flo at flobittner

Oct 7, 2007, 1:31 AM

Post #5 of 10 (1033 views)
Permalink
Re: Backend crashes almost daily [In reply to]

It did it again. Not the same channel (i set useonairguide=0 for the
transponder yesterday) BUT this new channel has already set useonairguide=0
for his whole transponder. So why did the EIT crawler check this?
I try your fix, Dave!

********************************************** gdb.txt

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1258379584 (LWP 17421)]
MPEGStreamData::ProcessPAT (this=0x1065a18, pat=0x4b014700) at
mpeg/mpegtables.h:430
430 if (progNum==ProgramNumber(i))


********************************************** myth.log

2007-10-07 01:39:56.830 EITScanner: Now looking for EIT data on multiplex of
channel 30128
2007-10-07 01:39:57.133 SM(3)::AddFlags: Seen(PAT,) Match() Wait()
2007-10-07 01:39:57.184 SM(3)::AddFlags: Seen() Match(PAT,) Wait()
2007-10-07 01:39:57.186 CreatePATSingleProgram()
2007-10-07 01:39:57.187 PAT in input stream
2007-10-07 01:39:57.188 Program Association Table
PSIP tableID(0x0) length(253) extension(0x422)
version(8) current(1) section(0) last_section(0)
tsid: 1058
programCount: 61
program number 0 has PID 0x 10 data 0x0 0x0 0x224 0x16
program number 30100 has PID 0x 432 data 0x117 0x148 0x228 0x50
program number 30129 has PID 0x 407 data 0x117 0x177 0x228 0x7
program number 30128 has PID 0x 44b data 0x117 0x176 0x228 0x75
program number 30124 has PID 0x 403 data 0x117 0x172 0x228 0x3
program number 30126 has PID 0x 405 data 0x117 0x174 0x228 0x5
program number 30127 has PID 0x 402 data 0x117 0x175 0x228 0x2
program number 30130 has PID 0x 40e data 0x117 0x178 0x228 0x14
program number 30125 has PID 0x 437 data 0x117 0x173 0x228 0x55
program number 30123 has PID 0x 44a data 0x117 0x171 0x228 0x74
program number 30122 has PID 0x 449 data 0x117 0x170 0x228 0x73
program number 30121 has PID 0x 448 data 0x117 0x169 0x228 0x72
program number 30120 has PID 0x 447 data 0x117 0x168 0x228 0x71
program number 30119 has PID 0x 446 data 0x117 0x167 0x228 0x70
program number 30118 has PID 0x 445 data 0x117 0x166 0x228 0x69
program number 30117 has PID 0x 444 data 0x117 0x165 0x228 0x68
program number 30116 has PID 0x 443 data 0x117 0x164 0x228 0x67
program number 30115 has PID 0x 442 data 0x117 0x163 0x228 0x66
program number 30114 has PID 0x 441 data 0x117 0x162 0x228 0x65
program number 30113 has PID 0x 440 data 0x117 0x161 0x228 0x64
program number 30112 has PID 0x 43f data 0x117 0x160 0x228 0x63
program number 30111 has PID 0x 43e data 0x117 0x159 0x228 0x62
program number 30110 has PID 0x 43d data 0x117 0x158 0x228 0x61
program number 30109 has PID 0x 43c data 0x117 0x157 0x228 0x60
program number 30108 has PID 0x 43b data 0x117 0x156 0x228 0x59
program number 30107 has PID 0x 43a data 0x117 0x155 0x228 0x58
program number 30106 has PID 0x 439 data 0x117 0x154 0x228 0x57
program number 30105 has PID 0x 438 data 0x117 0x153 0x228 0x56
program number 30196 has PID 0x 42e data 0x117 0x244 0x228 0x46
program number 30195 has PID 0x 42d data 0x117 0x243 0x228 0x45
program number 30194 has PID 0x 42c data 0x117 0x242 0x228 0x44
program number 30193 has PID 0x 42b data 0x117 0x241 0x228 0x43
program number 30191 has PID 0x 429 data 0x117 0x239 0x228 0x41
program number 30190 has PID 0x 428 data 0x117 0x238 0x228 0x40
program number 30189 has PID 0x 427 data 0x117 0x237 0x228 0x39
program number 30183 has PID 0x 421 data 0x117 0x231 0x228 0x33
program number 30182 has PID 0x 420 data 0x117 0x230 0x228 0x32
program number 30181 has PID 0x 41f data 0x117 0x229 0x228 0x31
program number 30180 has PID 0x 41e data 0x117 0x228 0x228 0x30
program number 30179 has PID 0x 41d data 0x117 0x227 0x228 0x29
program number 30178 has PID 0x 41c data 0x117 0x226 0x228 0x28
program number 30177 has PID 0x 41b data 0x117 0x225 0x228 0x27
program number 30176 has PID 0x 41a data 0x117 0x224 0x228 0x26
program number 30175 has PID 0x 419 data 0x117 0x223 0x228 0x25
program number 30174 has PID 0x 418 data 0x117 0x222 0x228 0x24
program number 30197 has PID 0x 42f data 0x117 0x245 0x228 0x47
program number 30173 has PID 0x 417 data 0x117 0x221 0x228 0x23
program number 30172 has PID 0x 416 data 0x117 0x220 0x228 0x22
program number 30169 has PID 0x 413 data 0x117 0x217 0x228 0x19
program number 30166 has PID 0x 410 data 0x117 0x214 0x228 0x16
program number 30163 has PID 0x 40d data 0x117 0x211 0x228 0x13
program number 30162 has PID 0x 40c data 0x117 0x210 0x228 0x12
program number 30160 has PID 0x 40a data 0x117 0x208 0x228 0x10
program number 30159 has PID 0x 409 data 0x117 0x207 0x228 0x9
program number 30158 has PID 0x 408 data 0x117 0x206 0x228 0x8
program number 30156 has PID 0x 406 data 0x117 0x204 0x228 0x6
program number 30154 has PID 0x 404 data 0x117 0x202 0x228 0x4
program number 30151 has PID 0x 401 data 0x117 0x199 0x228 0x1
program number 30150 has PID 0x 400 data 0x117 0x198 0x228 0x0
program number 30104 has PID 0x 436 data 0x117 0x152 0x228 0x54
program number 30102 has PID 0x 434 data 0x117 0x150 0x228 0x52

2007-10-07 01:39:57.192 desired_program(30128) pid(0x44b)
2007-10-07 01:39:57.193 pmt_pid(0x44b)
2007-10-07 01:39:57.206 PAT for output stream
2007-10-07 01:39:57.207 Program Association Table
PSIP tableID(0x0) length(13) extension(0x422)
version(8) current(1) section(0) last_section(0)
tsid: 1058
programCount: 1
program number 1 has PID 0x 44b data 0x0 0x1 0x228 0x75

2007-10-07 01:39:57.209 DVBSM(3)::AddPIDFilter(0x44b):
2007-10-07 01:39:57.433 SM(3)::AddFlags: Seen(PMT,) Match() Wait()
2007-10-07 01:39:57.455 SM(3)::AddFlags: Seen() Match(PMT,) Wait()
2007-10-07 01:39:57.457 CreatePMTSingleProgram()
2007-10-07 01:39:57.471 PMT in input stream
2007-10-07 01:39:57.475 Program Map Table ver(2) pid(0x44b) pnum(30128)
len(154)

Stream #0 pid(0xa3) type(video-mpeg2 0x2)
Stream Identifier Descriptor (0x52) length(1)
Stream #1 pid(0x190) type(audio-mp2-layer[1,2,3] 0x4)
Stream Identifier Descriptor (0x52) length(1)
ISO-639 Language: code(esl) canonical(esl) eng(Unknown)
Stream #2 pid(0xfe) type(audio-mp2-layer[1,2,3] 0x4)
Stream Identifier Descriptor (0x52) length(1)
ISO-639 Language: code(dos) canonical(dos) eng(Unknown)
Stream #3 pid(0xd0) type(unknown 0x192)
Unknown(198) Descriptor (0xc6) length(5)
Unknown(194) Descriptor (0xc2) length(8)
Stream #4 pid(0x17c) type(unknown 0x192)
Unknown(194) Descriptor (0xc2) length(8)
Stream #5 pid(0x17a) type(unknown 0x192)
Unknown(194) Descriptor (0xc2) length(8)
Stream #6 pid(0x309) type(unknown 0x193)
Unknown(194) Descriptor (0xc2) length(16)
Stream #7 pid(0x378) type(unknown 0x193)
Unknown(194) Descriptor (0xc2) length(8)
Stream #8 pid(0x154) type(unknown 0x193)
Unknown(194) Descriptor (0xc2) length(8)

2007-10-07 01:39:57.484 PMT for output stream
2007-10-07 01:39:57.487 Program Map Table ver(2) pid(0x44b) pnum(1) len(28)

Stream #0 pid(0xa3) type(video-mpeg2 0x2)
Stream #1 pid(0x190) type(audio-mp2-layer[1,2,3] 0x4)
Stream #2 pid(0xfe) type(audio-mp2-layer[1,2,3] 0x4)

2007-10-07 01:39:57.614 DTVSM(3)::SetNIT(): net_id = 1
2007-10-07 01:39:57.634 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
2007-10-07 01:39:57.644 SM(3)::AddFlags: Seen(SDT,) Match() Wait()
2007-10-07 01:39:57.645 DTVSM(3)::SetSDT(): tsid = 1058 orig_net_id = 1
2007-10-07 01:39:57.654 SM(3)::AddFlags: Seen() Match(SDT,) Wait()
2007-10-07 01:39:57.754 TVRec(2): Got good signal
2007-10-07 01:39:57.808 TVRec(2): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScannerRunning,
2007-10-07 01:39:57.834 DVBSM(3)::AddPIDFilter(0x12):
2007-10-07 01:39:57.846 DVBSM(3)::AddPIDFilter(0xb11):
2007-10-07 01:39:57.848 DVBSM(3)::AddPIDFilter(0xb12):
2007-10-07 01:39:58.149 DTVSM(3)::SetNIT(): net_id = 1
2007-10-07 01:39:58.272 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
2007-10-07 01:39:58.685 SM(3)::AddFlags: Seen(SDT,) Match() Wait()
2007-10-07 01:39:58.695 DTVSM(3)::SetSDT(): tsid = 1058 orig_net_id = 1
2007-10-07 01:39:58.695 SM(3)::AddFlags: Seen() Match(SDT,) Wait()
2007-10-07 01:40:06.201 AddTSPacket: Out of sync!!! Need to wait for next
payloadStart PID: 0x12, continuity counter: 4 (expected 3).

**********************************************


Am Sonntag, 7. Oktober 2007 01:28:20 schrieb Dave:
> Hmmm, interesting.
>
> According to the spec:
>
> ---------------------
> 2) New text for Receiver processing:
>
> "The Receiver MUST check the MPEG-2 Continuity Counter carried in the TS
> Packet header [ISO-MPEG]. If two (or more) successive TS Packets within
> the same TS Logical Channel carry the same Continuity Counter value, the
> duplicate TS Packets MUST be silently discarded. If the received value
> is NOT identical to that in the previous TS Packet, and it does NOT
> increment by one for successive TS Packets (modulo 16), the Receiver has
> detected a continuity error. Any partially received SNDU Payload) MUST
> be discarded. A continuity counter error event SHOULD be recorded. The
> Receiver then enters the Idle State.
> ------------------------
>
>
> Seems like the backend crashes when we are processing a packet with the
> continuity counter not in sequence. According to my interpretation of
> the above, we need to discard this TS packet completely. Seems just
> before we crash we see this error :
>
> 2007-10-06 17:00:33.476 AddTSPacket: Out of sync!!! Need to wait for
> next payloadStart PID: 0x12, continuity counter: 14 (expected 12).
>
> I think in 'pespacket.cpp' we need to return false here just after this
> error:
>
> VERBOSE(VB_RECORD, "AddTSPacket: Out of sync!!! "
> "Need to wait for next payloadStart" +
> QString(" PID: 0x%1, continuity counter: %2 (expected
> %3).")
> .arg(packet->PID(),0,16).arg(cc).arg(ccExp));
> return true;
> ^^^^^
>
>
> Comments ?
> Dave
>
>
> -------- Original Message --------
> Subject: [mythtv] Backend crashes almost daily
> Date: Sat, 6 Oct 2007 23:17:33 +0200
> From: flo <flo [at] flobittner>
> Reply-To: Development of mythtv <mythtv-dev [at] mythtv>
> To: mythtv-dev [at] mythtv
>
> Hi Dave,
>
> thanks for your reply.
>
> In my version line 430 of mpeg/mpegtables.h is this:
>
> // helper function
> uint FindPID(uint progNum) const
> {
> for (uint i = 0; i < ProgramCount(); i++)
> 430: if (progNum==ProgramNumber(i))
> return ProgramPID(i);
> return 0;
> }
>
> I updated svn to revision 14621, but this file didn't change. Perhaps you
> meant svn of 0.21?
>
> The faulty channel was "I>TELE" with serviceid 9697 and transportid 1112 on
> Astra. It was added shortly by a transponder scan. Normally i set
> useonairguide=0 for all transports i don't need, but this time i forgot
> it. I
> did it now because some recordings are scheduled. But i can do more tests
> next week if you need them!?
>
> Flo
>
> > Hi Flo,
> >
> > The fact that this crashes without any frontend means that it is most
> > likely crashing when the EIT crawler is running and updating your
> > program guides (EPG) from the transmitted EIT data. Your output below
> > also confirms this. What you need to do is figure out if this is always
> > crashing on one channel.. Look at the output of this before the crash
> > and check if it's always happening on the same sid/pid.
> >
> > Irrespective, i'd consider this a bug since we should trap this error
> > (possibly bad PAT data) and discard instead or crashing. Can you check
> > if you are on the latest SVN first as i can't even see this source line
> > in mpeg/mpegtables.h line 430 of my svn so i can't help further unless
> > you upgrade and provide another stacktrace.
> >
> > Dave
> >
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


danielk at cuymedia

Oct 7, 2007, 8:15 AM

Post #6 of 10 (1033 views)
Permalink
Re: Backend crashes almost daily [In reply to]

On Sat, 2007-10-06 at 23:17 +0200, flo wrote:
> Hi Dave,
>
> thanks for your reply.
>
> In my version line 430 of mpeg/mpegtables.h is this:
>
> // helper function
> uint FindPID(uint progNum) const
> {
> for (uint i = 0; i < ProgramCount(); i++)
> 430: if (progNum==ProgramNumber(i))
> return ProgramPID(i);
> return 0;
> }
>
> I updated svn to revision 14621, but this file didn't change. Perhaps you
> meant svn of 0.21?

svn trunk. The trunk will have the latest changes to avoid crashing
on damaged data. If appropriate those changes can be backported to
0.20-fixes, or they may influence us to do an earlier 0.21 release.

-- Daniel

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


flo at flobittner

Oct 7, 2007, 11:51 AM

Post #7 of 10 (1026 views)
Permalink
Re: Backend crashes almost daily [In reply to]

Crashed again!

In pespacket.cpp i changed the return to false:
{
VERBOSE(VB_RECORD, "AddTSPacket: Out of sync!!! "
"Need to wait for next payloadStart" +
QString(" PID: 0x%1, continuity counter: %2 (expected %3).")
.arg(packet->PID(),0,16).arg(cc).arg(ccExp));
return false;
}

After 10 hours i got this now:

*************************************** gdb.txt
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090525504 (LWP 29843)]
EITCache::DropChannel (this=0x773ad0, channel=4366348010)
at /usr/lib/qt3/include/qmap.h:675
675 return sh->node_count;

Thread 420 (Thread 1241594176 (LWP 24135)):
#0 0x00002aba6ee07302 in __select_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002aba69e6b8eb in DVBSignalMonitor::RunTableMonitorTS
(this=0x2aaaac02ce50) at dvbsignalmonitor.cpp:367
timeout = {tv_sec = 0, tv_usec = 32000}
len = 376
remainder = 0
buffer_size = 2820000
buffer = <value optimized out>
dvr_fname = {static null = {static null = <same as static member of an
already seen type>, d = 0x705e20, static share
d_null = 0x705e20}, d = 0xaed5d0, static shared_null = 0x705e20}
dvr_fd = 27
fd_select_set = {fds_bits = {0 <repeats 16 times>}}
#2 0x00002aba69e6d3a9 in DVBSignalMonitor::TableMonitorThread (param=0x1c) at
dvbsignalmonitor.cpp:173
No locals.
#3 0x00002aba6e3d409e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00002aba6ee0d4cd in clone () from /lib64/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
...
*************************************** myth.log

2007-10-07 20:01:15.119 TVRec(2): Got good signal
2007-10-07 20:01:15.136 TVRec(2): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:01:15.146 DVBSM(3)::AddPIDFilter(0x12):
2007-10-07 20:01:15.151 DVBSM(3)::AddPIDFilter(0xb11):
2007-10-07 20:01:15.152 DVBSM(3)::AddPIDFilter(0xb12):
2007-10-07 20:01:17.203 DTVSM(3)::SetNIT(): net_id = 133
2007-10-07 20:01:17.215 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
2007-10-07 20:01:53.350 MainServer::HandleAnnounce Monitor
2007-10-07 20:01:53.446 adding: server as a client (events: 0)
2007-10-07 20:03:05.189 EITScanner: Added 178 EIT Events
2007-10-07 20:03:05.190 EITScanner: Added 5 EIT Events
2007-10-07 20:04:30.471 TVRec(1): SetChannel() -- begin
2007-10-07 20:04:30.538 TVRec(1): ClearFlags(RingBufferReady,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:30.539 TVRec(1): Request: Program(no) channel(29) input()
flags(EITScan,)
2007-10-07 20:04:30.559 TVRec(1): TeardownSignalMonitor() -- begin
2007-10-07 20:04:30.560 DVBSM(2)::Stop: begin
2007-10-07 20:04:30.573 SM(2)::Stop: begin
2007-10-07 20:04:30.671 SM(2)::Stop: end
2007-10-07 20:04:30.675 DVBSM(2): RunTableMonitorTS(): shutdown
2007-10-07 20:04:30.687 DVBSM(2)::RemovePIDFilter(0x0):
2007-10-07 20:04:30.688 DVBSM(2)::RemovePIDFilter(0x10):
2007-10-07 20:04:30.695 DVBSM(2)::RemovePIDFilter(0x11):
2007-10-07 20:04:30.715 DVBSM(2)::RemovePIDFilter(0x12):
2007-10-07 20:04:30.723 DVBSM(2)::RemovePIDFilter(0x64):
2007-10-07 20:04:30.724 DVBSM(2)::RemovePIDFilter(0xb11):
2007-10-07 20:04:30.731 DVBSM(2)::RemovePIDFilter(0xb12):
2007-10-07 20:04:30.739 DVBSM(2): RunTableMonitorTS(): end
2007-10-07 20:04:30.771 DVBSM(2)::Stop: end
2007-10-07 20:04:30.772 TVRec(1): TeardownSignalMonitor() -- end
2007-10-07 20:04:30.773 TVRec(1): ClearFlags(SignalMonitorRunning,) ->
RunMainLoop,EITScannerRunning,
2007-10-07 20:04:30.774 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,EITScannerRunning,
2007-10-07 20:04:30.774 DVBChan(2): Opening DVB channel
2007-10-07 20:04:30.775 DVBChan(2): SetChannelByString(29):
2007-10-07 20:04:30.796 DVBChan(2): Frequency: 12460500 Symbol Rate: 27500000
Pol: h Inv: Auto
2007-10-07 20:04:30.798 DVBChan(2): Old Params: Frequency: 11719500 Symbol
Rate: 27500000 Pol: h Inv: Auto
DVBChan(2): New Params: Frequency: 12460500 Symbol Rate: 27500000 Pol: h
Inv: Auto
2007-10-07 20:04:30.798 DVBChan(2): Tune(): Tuning to 1860500kHz
2007-10-07 20:04:30.801 dvbchannel.cpp:wait_for_backend: Status:
Signal,Carrier,
2007-10-07 20:04:30.802 DVBChan(2): Tune(): Frequency tuning successful.
2007-10-07 20:04:30.803 DVBChan(2): SetChannelByString(29): Tuned to
frequency.
2007-10-07 20:04:30.804 TVRec(1): Starting Signal Monitor
2007-10-07 20:04:30.804 TVRec(1): SetupSignalMonitor(1, 0)
2007-10-07 20:04:30.805 DVBChan(2): Opening DVB channel
2007-10-07 20:04:30.807 SM(2)::AddFlags: Seen() Match() Wait(Sig,SNR,BER,UB,)
2007-10-07 20:04:30.808 DVBSM(2)::constructor(): initial flags 0x7400000
2007-10-07 20:04:31.111 TVRec(1): Signal monitor successfully created
2007-10-07 20:04:31.204 TVRec(1): Setting up table monitoring.
2007-10-07 20:04:31.215 Using profile 'Live TV' to record
2007-10-07 20:04:31.236 TVRec(1): DVB service_id 1793 on net_id 133 tsid 5
2007-10-07 20:04:31.243 DTVSM(2)::SetDVBService(transport_id: 5, network_id:
133, service_id: 1793):
2007-10-07 20:04:31.247 SM(2)::RemoveFlags: Seen(PMT,SDT,) Match(PMT,SDT,)
Wait()
2007-10-07 20:04:31.255 SM(2)::AddFlags: Seen() Match() Wait(PMT,SDT,)
2007-10-07 20:04:31.259 SM(2)::AddFlags: Seen() Match() Wait(PMT,SDT,)
2007-10-07 20:04:31.268 SM(2)::AddFlags: Seen() Match() Wait()
2007-10-07 20:04:31.268 TVRec(1): Successfully set up DVB table monitoring.
2007-10-07 20:04:31.269 SM(2)::Start: begin
2007-10-07 20:04:31.283 DVBSM(2)::UpdateValues: Signal Locked
2007-10-07 20:04:31.284 SM(2)::Start: end
2007-10-07 20:04:31.299 TVRec(1): SetFlags(SignalMonitorRunning,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.300 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.301 TVRec(1): SetFlags(WaitingForSignal,) ->
RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.302 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.300 DVBSM(2)::UpdateValues: Waiting for table monitor to
start
2007-10-07 20:04:31.304 DVBSM(2)::UpdateValues: Table monitor started
2007-10-07 20:04:31.303 TVRec(1): SetChannel() -- end
2007-10-07 20:04:31.303 DVBSM(2): RunTableMonitorTS(): begin (# of pids 3)
2007-10-07 20:04:31.311 DVBSM(2)::AddPIDFilter(0x0):
2007-10-07 20:04:31.312 DVBSM(2)::AddPIDFilter(0x10):
2007-10-07 20:04:31.313 DVBSM(2)::AddPIDFilter(0x11):
2007-10-07 20:04:31.307 EITScanner: Now looking for EIT data on multiplex of
channel 29

***************************************

It's not the same channel as before, this channel also was set to
useonairguide=1. Did i mess up the database when i used some sql commends and
set useonairguide=0 for channels i don't use? How does the crawler use this
attribute? Is it ok to activate only some channels on a transponder?

Or could my hardware be damaged, i have some problems with 2 transponders
whose channels have interferences!?

Thanks,
Flo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


dave at 0bits

Oct 8, 2007, 12:02 AM

Post #8 of 10 (1006 views)
Permalink
Re: Backend crashes almost daily [In reply to]

Are you shure this is related ?

Crashes in qt is frontend specific (i.e. the GUI) and should not happen
in the backend ? I'm not sure this is the same issue. I'm away from my
machine at the moment (am in las vegas at the mo) so can't check the
code to verify, but this looks like a error in the signal monitor code
as oposed to the previous eit scanner.

Did you do a full restart of the front/back end ?

Cheers
D
-------- Original Message --------
Subject: Re: [mythtv] Backend crashes almost daily
Date: Sun, 7 Oct 2007 20:51:24 +0200
From: flo <flo [at] flobittner>
To: Dave <dave [at] 0bits>
CC: mythtv-dev [at] mythtv
References: <47081A14.6010006 [at] 0bits>

Crashed again!

In pespacket.cpp i changed the return to false:
{
VERBOSE(VB_RECORD, "AddTSPacket: Out of sync!!! "
"Need to wait for next payloadStart" +
QString(" PID: 0x%1, continuity counter: %2 (expected
%3).")
.arg(packet->PID(),0,16).arg(cc).arg(ccExp));
return false;
}

After 10 hours i got this now:

*************************************** gdb.txt
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090525504 (LWP 29843)]
EITCache::DropChannel (this=0x773ad0, channel=4366348010)
at /usr/lib/qt3/include/qmap.h:675
675 return sh->node_count;

Thread 420 (Thread 1241594176 (LWP 24135)):
#0 0x00002aba6ee07302 in __select_nocancel () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002aba69e6b8eb in DVBSignalMonitor::RunTableMonitorTS
(this=0x2aaaac02ce50) at dvbsignalmonitor.cpp:367
timeout = {tv_sec = 0, tv_usec = 32000}
len = 376
remainder = 0
buffer_size = 2820000
buffer = <value optimized out>
dvr_fname = {static null = {static null = <same as static
member of an
already seen type>, d = 0x705e20, static share
d_null = 0x705e20}, d = 0xaed5d0, static shared_null = 0x705e20}
dvr_fd = 27
fd_select_set = {fds_bits = {0 <repeats 16 times>}}
#2 0x00002aba69e6d3a9 in DVBSignalMonitor::TableMonitorThread
(param=0x1c) at
dvbsignalmonitor.cpp:173
No locals.
#3 0x00002aba6e3d409e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00002aba6ee0d4cd in clone () from /lib64/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
...
*************************************** myth.log

2007-10-07 20:01:15.119 TVRec(2): Got good signal
2007-10-07 20:01:15.136 TVRec(2): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:01:15.146 DVBSM(3)::AddPIDFilter(0x12):
2007-10-07 20:01:15.151 DVBSM(3)::AddPIDFilter(0xb11):
2007-10-07 20:01:15.152 DVBSM(3)::AddPIDFilter(0xb12):
2007-10-07 20:01:17.203 DTVSM(3)::SetNIT(): net_id = 133
2007-10-07 20:01:17.215 SM(3)::AddFlags: Seen(NIT,) Match() Wait()
2007-10-07 20:01:53.350 MainServer::HandleAnnounce Monitor
2007-10-07 20:01:53.446 adding: server as a client (events: 0)
2007-10-07 20:03:05.189 EITScanner: Added 178 EIT Events
2007-10-07 20:03:05.190 EITScanner: Added 5 EIT Events
2007-10-07 20:04:30.471 TVRec(1): SetChannel() -- begin
2007-10-07 20:04:30.538 TVRec(1): ClearFlags(RingBufferReady,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:30.539 TVRec(1): Request: Program(no) channel(29) input()
flags(EITScan,)
2007-10-07 20:04:30.559 TVRec(1): TeardownSignalMonitor() -- begin
2007-10-07 20:04:30.560 DVBSM(2)::Stop: begin
2007-10-07 20:04:30.573 SM(2)::Stop: begin
2007-10-07 20:04:30.671 SM(2)::Stop: end
2007-10-07 20:04:30.675 DVBSM(2): RunTableMonitorTS(): shutdown
2007-10-07 20:04:30.687 DVBSM(2)::RemovePIDFilter(0x0):
2007-10-07 20:04:30.688 DVBSM(2)::RemovePIDFilter(0x10):
2007-10-07 20:04:30.695 DVBSM(2)::RemovePIDFilter(0x11):
2007-10-07 20:04:30.715 DVBSM(2)::RemovePIDFilter(0x12):
2007-10-07 20:04:30.723 DVBSM(2)::RemovePIDFilter(0x64):
2007-10-07 20:04:30.724 DVBSM(2)::RemovePIDFilter(0xb11):
2007-10-07 20:04:30.731 DVBSM(2)::RemovePIDFilter(0xb12):
2007-10-07 20:04:30.739 DVBSM(2): RunTableMonitorTS(): end
2007-10-07 20:04:30.771 DVBSM(2)::Stop: end
2007-10-07 20:04:30.772 TVRec(1): TeardownSignalMonitor() -- end
2007-10-07 20:04:30.773 TVRec(1): ClearFlags(SignalMonitorRunning,) ->
RunMainLoop,EITScannerRunning,
2007-10-07 20:04:30.774 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,EITScannerRunning,
2007-10-07 20:04:30.774 DVBChan(2): Opening DVB channel
2007-10-07 20:04:30.775 DVBChan(2): SetChannelByString(29):
2007-10-07 20:04:30.796 DVBChan(2): Frequency: 12460500 Symbol Rate:
27500000
Pol: h Inv: Auto
2007-10-07 20:04:30.798 DVBChan(2): Old Params: Frequency: 11719500 Symbol
Rate: 27500000 Pol: h Inv: Auto
DVBChan(2): New Params: Frequency: 12460500 Symbol Rate: 27500000 Pol: h
Inv: Auto
2007-10-07 20:04:30.798 DVBChan(2): Tune(): Tuning to 1860500kHz
2007-10-07 20:04:30.801 dvbchannel.cpp:wait_for_backend: Status:
Signal,Carrier,
2007-10-07 20:04:30.802 DVBChan(2): Tune(): Frequency tuning successful.
2007-10-07 20:04:30.803 DVBChan(2): SetChannelByString(29): Tuned to
frequency.
2007-10-07 20:04:30.804 TVRec(1): Starting Signal Monitor
2007-10-07 20:04:30.804 TVRec(1): SetupSignalMonitor(1, 0)
2007-10-07 20:04:30.805 DVBChan(2): Opening DVB channel
2007-10-07 20:04:30.807 SM(2)::AddFlags: Seen() Match()
Wait(Sig,SNR,BER,UB,)
2007-10-07 20:04:30.808 DVBSM(2)::constructor(): initial flags 0x7400000
2007-10-07 20:04:31.111 TVRec(1): Signal monitor successfully created
2007-10-07 20:04:31.204 TVRec(1): Setting up table monitoring.
2007-10-07 20:04:31.215 Using profile 'Live TV' to record
2007-10-07 20:04:31.236 TVRec(1): DVB service_id 1793 on net_id 133 tsid 5
2007-10-07 20:04:31.243 DTVSM(2)::SetDVBService(transport_id: 5,
network_id:
133, service_id: 1793):
2007-10-07 20:04:31.247 SM(2)::RemoveFlags: Seen(PMT,SDT,) Match(PMT,SDT,)
Wait()
2007-10-07 20:04:31.255 SM(2)::AddFlags: Seen() Match() Wait(PMT,SDT,)
2007-10-07 20:04:31.259 SM(2)::AddFlags: Seen() Match() Wait(PMT,SDT,)
2007-10-07 20:04:31.268 SM(2)::AddFlags: Seen() Match() Wait()
2007-10-07 20:04:31.268 TVRec(1): Successfully set up DVB table monitoring.
2007-10-07 20:04:31.269 SM(2)::Start: begin
2007-10-07 20:04:31.283 DVBSM(2)::UpdateValues: Signal Locked
2007-10-07 20:04:31.284 SM(2)::Start: end
2007-10-07 20:04:31.299 TVRec(1): SetFlags(SignalMonitorRunning,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.300 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.301 TVRec(1): SetFlags(WaitingForSignal,) ->
RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.302 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
2007-10-07 20:04:31.300 DVBSM(2)::UpdateValues: Waiting for table
monitor to
start
2007-10-07 20:04:31.304 DVBSM(2)::UpdateValues: Table monitor started
2007-10-07 20:04:31.303 TVRec(1): SetChannel() -- end
2007-10-07 20:04:31.303 DVBSM(2): RunTableMonitorTS(): begin (# of pids 3)
2007-10-07 20:04:31.311 DVBSM(2)::AddPIDFilter(0x0):
2007-10-07 20:04:31.312 DVBSM(2)::AddPIDFilter(0x10):
2007-10-07 20:04:31.313 DVBSM(2)::AddPIDFilter(0x11):
2007-10-07 20:04:31.307 EITScanner: Now looking for EIT data on
multiplex of
channel 29

***************************************

It's not the same channel as before, this channel also was set to
useonairguide=1. Did i mess up the database when i used some sql
commends and
set useonairguide=0 for channels i don't use? How does the crawler use this
attribute? Is it ok to activate only some channels on a transponder?

Or could my hardware be damaged, i have some problems with 2 transponders
whose channels have interferences!?

Thanks,
Flo
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


flo at flobittner

Oct 9, 2007, 2:13 PM

Post #9 of 10 (968 views)
Permalink
Re: Backend crashes almost daily [In reply to]

I'm not sure about anything :-)

It's only a backend, all frontends are seperate machines. I did NOT restart
the whole machine, only gdb with mythbackend.

After the last crash i did a sql query like this: "update channel set
useonairguide=1 where mplexid in (select distinct mplexid from channel where
visible=1)", in words: i set useonairguide=1 for all channels on any
transponder i use.
Before that, i set useonairguide=1 only on channels i used. That was the only
change i made to the database. I thought the crawler perhaps doesn't like it
if only some channels on a transponder accept eit data, so i changed it back.

And remember, i applied your fix in pespacket.h:

{
VERBOSE(VB_RECORD, "AddTSPacket: Out of sync!!! "
"Need to wait for next payloadStart" +
QString(" PID: 0x%1, continuity counter: %2 (expected %3).")
.arg(packet->PID(),0,16).arg(cc).arg(ccExp));
--> return false;
}

It's running for more then 48 hours now, EPG data is fully there.

I will report what happens the next days. If there's a crash i let you know
If there's no crash until the weekend, i execute my old query (update channel
set useonairguide=0 where visible=0) and test it.
After that i take out your fix and test it again.
If the crash then doesn't come back i call ghostbusters to clean up my
home :-)

I hope the result of this tests gives us an idea what happens on my machine!

Thanks for your patience,
Flo


> Are you shure this is related ?
>
> Crashes in qt is frontend specific (i.e. the GUI) and should not happen
> in the backend ? I'm not sure this is the same issue. I'm away from my
> machine at the moment (am in las vegas at the mo) so can't check the
> code to verify, but this looks like a error in the signal monitor code
> as oposed to the previous eit scanner.
>
> Did you do a full restart of the front/back end ?
>
> Cheers
> D
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


dave at 0bits

Oct 10, 2007, 8:51 PM

Post #10 of 10 (949 views)
Permalink
Re: Backend crashes almost daily [In reply to]

Hi,

This is unrelated to mythtv. As mentioned by another user on this list
please update to svn trunk and fix your distro first before posting any
more crashes.

Cheers
D

-------- Original Message --------
Subject: Re: Fwd: Re: [mythtv] Backend crashes almost daily
Date: Wed, 10 Oct 2007 20:32:21 +0200
From: flo <flo [at] flobittner>
To: Dave <dave [at] 0bits>
CC: mythtv-dev [at] mythtv
References: <470C8FCE.8000100 [at] 0bits>

Next crash, but different error message. Is this related to the former
errors?
I think not!? I was watching, then two recordings finished and the backend
crashed.

Flo

*********************************************************** gdb.txt

[New Thread 1241594176 (LWP 4121)]
[New Thread 1216416064 (LWP 4122)]
[New Thread 1426233664 (LWP 4123)]
[New Thread 1434626368 (LWP 4124)]
[New Thread 1443019072 (LWP 4125)]
[Thread 1443019072 (LWP 4125) exited]
[New Thread 1451411776 (LWP 4304)]
[Thread 1451411776 (LWP 4304) exited]
[Thread 1434626368 (LWP 4124) exited]
[Thread 1233201472 (LWP 3129) exited]
[Thread 1258379584 (LWP 3128) exited]
[Thread 1426233664 (LWP 4123) exited]
[New Thread 1426233664 (LWP 5512)]
[New Thread 1258379584 (LWP 5513)]
[Thread 1375877440 (LWP 3127) exited]
[Thread 1224808768 (LWP 3126) exited]
[Thread 1216416064 (LWP 4122) exited]
[Thread 1241594176 (LWP 4121) exited]

Program exited with code 0177.


*********************************************************** myth.log:

2007-10-10 20:14:58.584 Writing PAT & PMT @988298140 + 247408
2007-10-10 20:14:59.060 Writing PAT & PMT @988562468 + 706880
2007-10-10 20:14:59.068 Writing PAT & PMT @1743912252 + 424128
2007-10-10 20:14:59.548 Writing PAT & PMT @988839580 + 1131008
2007-10-10 20:14:59.616 Writing PAT & PMT @1744185228 + 141376
2007-10-10 20:14:59.708 DVBRec(2): 21 PID filters open.
2007-10-10 20:15:00.016 Writing PAT & PMT @989114060 + 247408
2007-10-10 20:15:00.068 Writing PAT & PMT @1744477944 + 353440
2007-10-10 20:15:00.308 TVRec(1): ClearFlags(FinishRecording,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2007-10-10 20:15:00.308 TVRec(2): ClearFlags(FinishRecording,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2007-10-10 20:15:00.342 TVRec(1): Changing from RecordingOnly to None
2007-10-10 20:15:00.383 TVRec(2): Changing from RecordingOnly to None
2007-10-10 20:15:00.389 TVRec(1):
ClearFlags(FrontendReady,CancelNextRecording,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2007-10-10 20:15:00.393 TVRec(2):
ClearFlags(FrontendReady,CancelNextRecording,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2007-10-10 20:15:00.403 TVRec(1): SetFlags(AskAllowRecording,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2007-10-10 20:15:00.406 TVRec(2): SetFlags(AskAllowRecording,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2007-10-10 20:15:00.409 TVRec(1): Request: Program(no) channel() input()
flags(CloseRec,KillRingBuffer,)
2007-10-10 20:15:00.413 TVRec(2): Request: Program(no) channel() input()
flags(CloseRec,KillRingBuffer,)
2007-10-10 20:15:00.445 TVRec(1): FinishedRecording(Dahoam is Dahoam) in
recgroup: Default
2007-10-10 20:15:00.482 Finished recording Dahoam is Dahoam "Verlängertes
Wochenende (3)": channel 29107
2007-10-10 20:15:00.500 TVRec(2): FinishedRecording(Lost) in recgroup:
Serien
2007-10-10 20:15:00.527 Finished recording Lost "Die anderen 48 Tage":
channel
1016
2007-10-10 20:15:00.528 DVBRec(2): Close() fd(22) -- begin
2007-10-10 20:15:00.555 DVBRec(3): Close() fd(18) -- begin
2007-10-10 20:15:00.557 DVBRec(2): Close() fd(-1) -- end
2007-10-10 20:15:00.607 DVBRec(3): Close() fd(-1) -- end
2007-10-10 20:15:00.775 TVRec(2): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReady,
2007-10-10 20:15:00.877 DVBRec(3): SetOutputPAT(NULL)
2007-10-10 20:15:00.879 DVBRec(3): SetOutputPMT(NULL)
2007-10-10 20:15:00.880 TVRec(1): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReady,
2007-10-10 20:15:00.939 DVBRec(2): SetOutputPAT(NULL)
2007-10-10 20:15:00.941 DVBRec(2): SetOutputPMT(NULL)
2007-10-10 20:15:00.941 TVRec(2): FinishedRecording(Lost) in recgroup:
Serien
2007-10-10 20:15:00.957 Finished recording Lost "Die anderen 48 Tage":
channel
1016
2007-10-10 20:15:00.973 TVRec(2): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReady,
2007-10-10 20:15:01.004 TVRec(1): FinishedRecording(Dahoam is Dahoam) in
recgroup: Default
2007-10-10 20:15:01.104 TVRec(2): Tearing down RingBuffer
2007-10-10 20:15:01.345 Finished recording Dahoam is Dahoam "Verlängertes
Wochenende (3)": channel 29107
2007-10-10 20:15:01.830 TVRec(1): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReady,
2007-10-10 20:15:01.945 TVRec(1): Tearing down RingBuffer
2007-10-10 20:15:01.831 TVRec(2): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReady,
2007-10-10 20:15:01.987 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReady,
Inconsistency detected by ld.so: dl-open.c: 597: _dl_open: Assertion
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
2007-10-10 20:15:02.003 Reschedule requested for id 0.


_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.