[mythtv] Backend crashes almost daily

Dave dave at 0bits.com
Sat Oct 6 23:28:20 UTC 2007


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.de>
Reply-To: Development of mythtv <mythtv-dev at mythtv.org>
To: mythtv-dev at mythtv.org

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.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list