[mythtv] DVB issues with r7369

Adam Egger mythtv2005 at bdam.de
Mon Oct 3 19:36:38 UTC 2005


On 10/3/05, Daniel Kristjansson <danielk at cuymedia.net> wrote:
> On Sun, 2005-10-02 at 18:25 -0400, Daniel Kristjansson wrote:
> > On Sat, 2005-10-01 at 15:30 +0200, Adam Egger wrote:
> > > 3. There is a additional channel I can see now on LiveTV (It's called
> > > just -), it doesn't appear in the channel list. So I've tried to zap
> > > to this strange channel (don't know if it appears in the backend log).
> Ok, this should be fixed in 7381.

Thanks, the additional channel is gone :)

> > > 4. Then I left LiveTV and tried to immediatelly restart LiveTV. The
> > > screen turned then black for a few seconds and it switched back to the
> > > main menu. Frontend shows:
> > > 2005-10-01 15:24:08.097 LiveTV not successfully started
> > This looks like the problem Jon Whitear is experiencing. He
> > can't repeat it in gdb. But perhaps you can. If so just hit
> > Ctrl-C when the backend stops responding and send me the
> > logs + the output of "thread apply all bt".
> I think this may have been due to the EIT Scan waiting in
> TVRec::SetChannel() for a recorder restart, which it should
> no longer do.

It still "crashes" the BE with r7382 when I leave and restart LiveTV.
The BE is still running but the FE isn't able to connect anymore. I
see lots of messages like these in the FE output:

2005-10-03 20:29:05.609 RemoteEncoder::SendReceiveStringList(): No response.
2005-10-03 20:29:05.617 WriteStringList: Bad socket
2005-10-03 20:29:05.618 ReadStringList: Bad socket
2005-10-03 20:29:05.618 RemoteEncoder::SendReceiveStringList(): No response.
2005-10-03 20:29:05.626 WriteStringList: Bad socket
2005-10-03 20:29:05.626 ReadStringList: Bad socket

I can't see anything if gdb is used. My stupid gdb only shows this
after pressing ctrl-C:

[Thread 1233201504 (LWP 17638) exited]
2005-10-03 21:30:01.139 DVB#0 Rec: Closing DVB recorder
2005-10-03 21:30:01.145 TVRec(1): SetFlags(RingBufferReset,) ->
RunMainLoop,AskAllowRecording,SIParserRunning,RecorderRunning,RingBufferReset,
2005-10-03 21:30:01.145 TVRec(1):
ClearFlags(WaitingForSIParser,SIParserRunning,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReset,
2005-10-03 21:30:01.145 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReset,
[Thread 1174452576 (LWP 17588) exited]
2005-10-03 21:30:01.250 TVRec(1): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:01.327 TVRec(1): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:01.327 DVB#0 Closing DVB channel
2005-10-03 21:30:01.327 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.513 Getting next free recorder after : -1
2005-10-03 21:30:03.515 Card 1 is local.
2005-10-03 21:30:03.537 MainServer::HandleAnnounce Playback
2005-10-03 21:30:03.537 adding: c64 as a client (events: 0)
2005-10-03 21:30:03.545 TVRec(1): Request: Program(no) channel()
input() flags(KillRingBuffer,)
2005-10-03 21:30:03.545 TVRec(1):
ClearFlags(WaitingForSIParser,SIParserRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.546 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.546 TVRec(1): Tearing down RingBuffer
2005-10-03 21:30:03.546 DummyDTVRecorder::StopRecordingThread(void)
2005-10-03 21:30:03.546 TVRec(1): ClearFlags(DummyRecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.547 DummyDTVRecorder::StopRecordingThread(void)
[Thread 1191237984 (LWP 17579) exited]
[Thread 1182845280 (LWP 17578) exited]
2005-10-03 21:30:03.612 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.612 TVRec(1): Request: Program(no) channel()
input() flags(KillRingBuffer,)
2005-10-03 21:30:03.612 TVRec(1):
ClearFlags(WaitingForSIParser,SIParserRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.612 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-03 21:30:03.612 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
[New Thread 1182845280 (LWP 17656)]
[New Thread 1191237984 (LWP 17657)]
2005-10-03 21:30:03.654 MainServer::HandleAnnounce Playback
2005-10-03 21:30:03.654 adding: c64 as a client (events: 0)
2005-10-03 21:30:03.661 adding: c64 as a remote ringbuffer

Program received signal SIGINT, Interrupt.
[Switching to Thread 46912570938352 (LWP 15175)]
0x00002aaaadebdea5 in nanosleep () from /lib/libc.so.6

(gdb) thread apply all bt

Thread 47 (Thread 1191237984 (LWP 17657)):
#0  0x00002aaaad884d2f in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00002aaaad16f21f in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
#2  0x00002aaaaafe00c4 in ThreadedFileWriter::SyncLoop (this=0x7d01c0)
at ThreadedFileWriter.cpp:231
#3  0x00002aaaaafe00e9 in ThreadedFileWriter::boot_syncer
(wotsit=Variable "wotsit" is not available.
) at ThreadedFileWriter.cpp:65
#4  0x00002aaaad882b1c in start_thread () from /lib/libpthread.so.0
#5  0x00002aaaadef6273 in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Adam


More information about the mythtv-dev mailing list