On Wed, Sep 28, 2005 at 11:07:29AM +0100, Stuart Auchterlonie wrote:
> 
> Looks like an attempt to use ThreadedFileWrite after it's been
> deleted. This is on the backend after doing the following
> 
> 1. Watch live tv.
> 2. Change channel.
> 3. Exit live tv.
> 4. Enter live tv. (BANG!!!)
> 

Oh and I've done a patch....

Stuart


Index: mythtv/libs/libmythtv/RingBuffer.cpp
===================================================================
--- mythtv.orig/libs/libmythtv/RingBuffer.cpp   2005-09-26 11:15:54.000000000 
+0100
+++ mythtv/libs/libmythtv/RingBuffer.cpp        2005-09-28 11:10:41.000000000 
+0100
@@ -1410,7 +1410,7 @@
 
 void RingBuffer::Sync(void)
 {
-    tfw->Sync();
+    if(tfw) tfw->Sync();
 }
 
 long long RingBuffer::GetFileWritePosition(void)
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to