[mythtv] [RFC v2] New Win32 build script

Lawrence Rust lvr at softsystem.co.uk
Sun Jan 23 15:38:49 UTC 2011


On Sat, 2011-01-22 at 23:42 +0000, Mark wrote:
> On 22 January 2011 15:31, Lawrence Rust <lvr at softsystem.co.uk> wrote:
> > 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]
> > run
> >
> > 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:
> > http://www.softsystem.co.uk/download/mythtv/mythrun
> >
> > -- Lawrence
> >
> 
> I put a log and backtrace here:
> http://irishmark.co.uk/mythfrontend.log
> http://irishmark.co.uk/mythfrontend-gdb.txt

This is a bug with weak linkage that I reported here:

http://code.mythtv.org/trac/ticket/9468

The fix was applied here:
http://code.mythtv.org/trac/changeset/5b15e27b10ff166109e5c79abdf60f8910e5f40b/

Suggest that you do a git pull and then checkout v0.25pre-842-g4db0bf4
which I know runs ok.  Later versions have some runtime issues that I'm
currently debugging.

-- Lawrence




More information about the mythtv-dev mailing list