[mythtv] [RFC v2] New Win32 build script

Lawrence Rust lvr at softsystem.co.uk
Sat Jan 22 15:31:06 UTC 2011

On Sat, 2011-01-22 at 14:45 +0000, Mark wrote:
> I'm getting a successful build (cross compiled), but starting playback
> causes a crash on windows.
> I see the 'please wait' and the background for a few seconds.
> Both d3d and opengl crash, I've set a null audio out for now for testing.
> Seems to throw a C0000005.
> I've built and rebuilt many many times always with the same result.
> How do I get a backtrace on windows? I can catch the crash in VS2008
> but it just has a load of ?????????
> I'm on win7 x64, built on Ubuntu 10.4 (i386) using a mythbuild.sh only
> a day or two old

Sounds like a video problem.  To get a backtrace you need to run with
gdb, which should have been installed with Msys.  Open an MSys shell in
the folder that you ran mythbuild.sh and type:

gdb --args mythinstall/win32/mythfrontend [your args]

When the fault occurs type:

set logging on
thread apply all bt full

This will create a gdb.txt file in the current folder.

I use a script that sets up the environment and invokes gdb.  It also
sets a different database name and configuration for fixes/master and
use with wine.  You can find it here:

-- Lawrence

More information about the mythtv-dev mailing list