[mythtv] no more live tv

Mike Schrag mschrag at pobox.com
Sun Apr 20 14:11:54 EDT 2003


DMA is on on the drive, and i'm running as root, so permissions aren't a 
problem.  /mnt/store/ringbuf1.nuv is being created, but it is zero 
bytes.  The drive has a read time of 34MB/sec, so the speed should be 
OK.  Incidentally, this worked until I updated to the latest CVS this 
morning (I haven't cvs updated since midday yesterday, I believe).

I'm attaching the gdb backtraces for all the running threads (by the 
way, is there a way with gdb to bt's for all threads rather than going 
through them one by one?).

thanks
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) bt
#0  0xffffe002 in ?? ()
#1  0x403e3cf6 in QEventLoop::enterLoop() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#2  0x403e3b98 in QEventLoop::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#3  0x403d0151 in QApplication::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#4  0x08065163 in main (argc=1, argv=0xbffff8c4) at main.cpp:235
#5  0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6

(gdb) thread 2
[Switching to thread 2 (Thread 1098542384 (LWP 15808))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x080a400b in TVRec::RunTV() (this=0x830b0f8) at tv_rec.cpp:719
#2  0x080a3f89 in TVRec::EventThread(void*) (param=0x830b0f8) at tv_rec.cpp:693
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 3
[Switching to thread 3 (Thread 1106935088 (LWP 15809))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x0807b60d in Scheduler::RunScheduler() (this=0x830b040) at scheduler.cpp:998
#2  0x0807b62d in Scheduler::SchedulerThread(void*) (param=0x830b040) at scheduler.cpp:1005
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 4
[Switching to thread 4 (Thread 1116949808 (LWP 15810))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x0808220a in Transcoder::TranscodePoll() (this=0x8315fa0) at transcoder.cpp:238
#2  0x080822ed in Transcoder::TranscodePollThread(void*) (param=0x8315fa0) at transcoder.cpp:256
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 5
[Switching to thread 5 (Thread 1125342512 (LWP 15811))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x08075be4 in ProcessRequestThread::run() (this=0x83148e0) at mainserver.cpp:57
#2  0x403c4c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 6
[Switching to thread 6 (Thread 1133735216 (LWP 15812))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x08075be4 in ProcessRequestThread::run() (this=0x8314978) at mainserver.cpp:57
#2  0x403c4c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 7
[Switching to thread 7 (Thread 1142127920 (LWP 15813))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x08075be4 in ProcessRequestThread::run() (this=0x8314ab0) at mainserver.cpp:57
#2  0x403c4c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 8
[Switching to thread 8 (Thread 1150520624 (LWP 15814))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x08075be4 in ProcessRequestThread::run() (this=0x8314c08) at mainserver.cpp:57
#2  0x403c4c78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 9
[Switching to thread 9 (Thread 1158913328 (LWP 15815))]#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=0x8314858,
    slist=@0x8314d6c, commands=@0x8314d70, pbs=0x8313ac8) at mainserver.cpp:1147
#4  0x08067761 in MainServer::ProcessRequest(QStringList&, QStringList&, PlaybackSock*) (this=0x8314858,
    listline=@0x8314d6c, tokens=@0x8314d70, pbs=0x8313ac8) at mainserver.cpp:234
#5  0x08075c0f in ProcessRequestThread::run() (this=0x8314d60) 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

(gdb) thread 10
[Switching to thread 10 (Thread 1169407280 (LWP 15820))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x0808dc01 in ThreadedFileWriter::DiskLoop() (this=0x8313470) at RingBuffer.cpp:178
#2  0x0808d761 in ThreadedFileWriter::boot_writer(void*) (wotsit=0x8313470) 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 15821))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x0808fd3a in RingBuffer::Read(void*, int) (this=0x83135d0, 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

(gdb) thread 12
[Switching to thread 12 (Thread 1186192688 (LWP 15822))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x0809f472 in SpawnEncode(void*) (param=0x830eb58) at tv_rec.cpp:31
#2  0x40930332 in start_thread () from /lib/tls/libpthread.so.0

(gdb) thread 13
[Switching to thread 13 (Thread 1194585392 (LWP 15823))]#0  0xffffe002 in ?? ()
(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x080ade7d in MpegRecorder::doWriteThread() (this=0x830eb58) at mpegrecorder.cpp:284
#2  0x080ade31 in MpegRecorder::WriteThread(void*) (param=0x830eb58) at mpegrecorder.cpp:268
#3  0x40930332 in start_thread () from /lib/tls/libpthread.so.0



More information about the mythtv-dev mailing list