[mythtv] Seg Fault: AMD64 and PVR350 TV-Out (with potential patch)

Matt Zimmerman mdz at debian.org
Wed Oct 20 06:53:14 UTC 2004


On Wed, Oct 20, 2004 at 02:37:49AM -0400, Mike Sullivan wrote:

> On my x86-64 Gentoo box, mythfrontend would crash as soon as I tried to
> watch TV (with live TV or recordings). I made the backtrace (provided as
> gdb_trace.txt) and did a bit of digging. I've provided the changes I've made
> to libs/libmythtv/videoout_ivtv.cpp for my system in videoout_ivtv.diff --
> the pointer is converted to a long instead of an int, where it was
> overflowing before (8 bytes vs 4 bytes for an int *).
> 
> My C++ is quite rusty, so I'm not sure if this is a valid way to fix the
> issue on normal x86 box (would it just be a waste of a few bytes of
> memory?).

It shouldn't be casting the pointer to an integral type at all.


-- 
 - mdz


More information about the mythtv-dev mailing list