thanks janne, now it's seems stable.<br><br>erez.<br><br><div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">Janne Grunau</b> <<a href="mailto:janne-mythtv@grunau.be">janne-mythtv@grunau.be</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Monday 09 July 2007 10:23:46 Erez D wrote:<br>> attached, pls find the backtrace
<br>><br>> btw, compiled with<br>> ./configure --prefix=/usr --enable-dvb --enable-proc-opt<br>> --compile-type=debug<br>> revision: 13850<br>><br>> Program received signal SIGSEGV, Segmentation fault.
<br>> [Switching to Thread -1467016304 (LWP 27950)]<br>> 0xb7841df0 in RingBuffer::GetWritePosition () from /usr/lib/libmythtv-0.20.so.0<br><br>I see that ocasionally too (LiveTV channel switching on the same oncoder).
<br>Following patch doesn't have visible negative side effects.<br>It's only a workaround, the real bug is somewhere else.<br><br>Janne<br><br>Index: libs/libmythtv/dtvrecorder.cpp<br>===================================================================
<br>--- libs/libmythtv/dtvrecorder.cpp.orig<br>+++ libs/libmythtv/dtvrecorder.cpp<br>@@ -333,7 +333,7 @@ void DTVRecorder::HandleKeyframe(void)<br><br> // Add key frame to position map<br> positionMapLock.lock();<br>
- if (!positionMap.contains(frameNum))<br>+ if (!positionMap.contains(frameNum) && ringBuffer)<br> {<br> long long startpos = ringBuffer->GetWritePosition();<br> // FIXME: handle keyframes with start code spanning over two ts packets
<br>_______________________________________________<br>mythtv-dev mailing list<br><a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
</a><br></blockquote></div><br>