Re: [vdr] Valgrind warnings with LCARS OSD

2013-11-15 Thread Marko Mäkelä
Hi Klaus, On Fri, Nov 15, 2013 at 04:47:10PM +0100, Klaus Schmidinger wrote: #2 0x0810e3d2 in cPixmapMemory::DrawRectangle (this=0x6d3fe78, Rect=..., Color=2566914048) at osd.c:1333 1333 cRect r = Rect.Intersected(DrawPort().Size()); As far as I can tell, the entirely uninitialized cRect

Re: [vdr] Valgrind warnings with LCARS OSD

2013-11-15 Thread Klaus Schmidinger
On 15.11.2013 16:08, Marko Mäkelä wrote: ... BTW, !Track && x || Track && y should IMO be simpler written Track ? y : x. It looks like a memset() is missing from the cSkinLCARSDisplayReplay constructor. cSkinLCARSDisplayChannel::cSkinLCARSDisplayChannel() is doing the right thing: memset(&

[vdr] Valgrind warnings with LCARS OSD

2013-11-15 Thread Marko Mäkelä
Hi all, I played a little with Valgrind: valgrind --vgdb=yes --vgdb-error=0 ./vdr ... and in gdb, (gdb) target remote |vgdb This seems to give me a false alarm for cRecording::cRecording(): Program received signal SIGTRAP, Trace/breakpoint trap. 0x0811951a in cRecording::cRecording (this=0xbee