[mythtv] mythtv multirec dvb-s test (works)

Erez D erez0001 at gmail.com
Mon Jul 9 10:47:23 UTC 2007


thanks janne, now it's seems stable.

erez.

On 7/9/07, Janne Grunau <janne-mythtv at grunau.be> wrote:
>
> On Monday 09 July 2007 10:23:46 Erez D wrote:
> > attached, pls find the backtrace
> >
> > btw, compiled with
> > ./configure --prefix=/usr --enable-dvb --enable-proc-opt
> > --compile-type=debug
> > revision: 13850
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1467016304 (LWP 27950)]
> > 0xb7841df0 in RingBuffer::GetWritePosition () from /usr/lib/libmythtv-
> 0.20.so.0
>
> I see that ocasionally too (LiveTV channel switching on the same oncoder).
> Following patch doesn't have visible negative side effects.
> It's only a workaround, the real bug is somewhere else.
>
> Janne
>
> Index: libs/libmythtv/dtvrecorder.cpp
> ===================================================================
> --- libs/libmythtv/dtvrecorder.cpp.orig
> +++ libs/libmythtv/dtvrecorder.cpp
> @@ -333,7 +333,7 @@ void DTVRecorder::HandleKeyframe(void)
>
>      // Add key frame to position map
>      positionMapLock.lock();
> -    if (!positionMap.contains(frameNum))
> +    if (!positionMap.contains(frameNum) && ringBuffer)
>      {
>          long long startpos = ringBuffer->GetWritePosition();
>          // FIXME: handle keyframes with start code spanning over two ts
> packets
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20070709/1f28ac9f/attachment.htm 


More information about the mythtv-dev mailing list