[mythtv] no more live tv
Mike Schrag
mschrag at pobox.com
Sun Apr 20 14:17:23 EDT 2003
Whoops -- I didn't wait for the blocking IO message prior to grabbing
those previous traces... Here's the set of traces from that point that
refer to IO operations.
ms
Isaac Richards wrote:
>On Sunday 20 April 2003 09:15 am, Mike Schrag wrote:
>
>
>>IOBOUND - blocking in ThreadedFileWriter::Write()
>>
>>
>
>This indicates that it can't write data (either fast enough or at all) to the
>disk. The fact that the video never opens indicates that it's not able to
>write at all to the disk. Nothing's changed in that part of the code at all,
>so perhaps you want to make sure that DMA mode is turned on on the drive. If
>that's not it, recompile it for debugging and run it in gdb, then ctl-c it
>once it's started recording, then look for a thread stopped up in
>ThreadedFileWriter.
>
>Isaac
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at snowman.net
>http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev
>
>
-------------- next part --------------
(gdb) thread 9
[Switching to thread 9 (Thread 1158913328 (LWP 15856))]#0 0xffffe002 in ?? ()
(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x080aabbb in TVRec::RequestRingBufferBlock(int) (this=0x830b0f8, size=128000) at tv_rec.cpp:1725
#2 0x0806202e in EncoderLink::RequestRingBufferBlock(int) (this=0x83161b0, size=128000) at encoderlink.cpp:510
#3 0x0806efb6 in MainServer::HandleRecorderQuery(QStringList&, QStringList&, PlaybackSock*) (this=0x8314440,
slist=@0x8314bd4, commands=@0x8314bd8, pbs=0x8313af0) at mainserver.cpp:1147
#4 0x08067761 in MainServer::ProcessRequest(QStringList&, QStringList&, PlaybackSock*) (this=0x8314440,
listline=@0x8314bd4, tokens=@0x8314bd8, pbs=0x8313af0) at mainserver.cpp:234
#5 0x08075c0f in ProcessRequestThread::run() (this=0x8314bc8) at mainserver.cpp:61
#6 0x403c4c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#7 0x40930332 in start_thread () from /lib/tls/libpthread.so.0
[Switching to thread 10 (Thread 1169407280 (LWP 15861))]#0 0xffffe002 in ?? ()
(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x0808dc01 in ThreadedFileWriter::DiskLoop() (this=0x8313438) at RingBuffer.cpp:178
#2 0x0808d761 in ThreadedFileWriter::boot_writer(void*) (wotsit=0x8313438) at RingBuffer.cpp:73
#3 0x40930332 in start_thread () from /lib/tls/libpthread.so.0
(gdb) thread 11
[Switching to thread 11 (Thread 1177799984 (LWP 15862))]#0 0xffffe002 in ?? ()
(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x0808fd3a in RingBuffer::Read(void*, int) (this=0x8313608, buf=0x83162a0, count=128000) at RingBuffer.cpp:842
#2 0x080aacbd in TVRec::DoReadThread() (this=0x830b0f8) at tv_rec.cpp:1752
#3 0x080aad69 in TVRec::ReadThread(void*) (param=0x830b0f8) at tv_rec.cpp:1767
#4 0x40930332 in start_thread () from /lib/tls/libpthread.so.0
[Switching to thread 12 (Thread 1186192688 (LWP 15863))]#0 0xffffe002 in ?? ()
(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x0808da84 in ThreadedFileWriter::Write(void const*, unsigned) (this=0x8313438, data=0x46aff028,
count=4294967295) at RingBuffer.cpp:133
#2 0x08090074 in RingBuffer::Write(void const*, int) (this=0x8313608, buf=0x46aff028, count=-1)
at RingBuffer.cpp:939
#3 0x080adc4e in MpegRecorder::StartRecording() (this=0x830eb48) at mpegrecorder.cpp:167
#4 0x0809f472 in SpawnEncode(void*) (param=0x830eb48) at tv_rec.cpp:31
#5 0x40930332 in start_thread () from /lib/tls/libpthread.so.0
(gdb) thread 13
[Switching to thread 13 (Thread 1194585392 (LWP 15864))]#0 0xffffe002 in ?? ()
(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x080ade7d in MpegRecorder::doWriteThread() (this=0x830eb48) at mpegrecorder.cpp:284
#2 0x080ade31 in MpegRecorder::WriteThread(void*) (param=0x830eb48) at mpegrecorder.cpp:268
#3 0x40930332 in start_thread () from /lib/tls/libpthread.so.0
More information about the mythtv-dev
mailing list