Eric No improvement, sorry :-(
To compile I had to remove one of the "=" in line 440 of soundmgr_openal.cxx (void *sample_data == NULL;) . On the problematic Vista laptop, when I run fgfs release with --disable-sound there is no problem. Once sound is enabled the program fails. In debug the program now fails in sample_openal.cxx at line 477 (if(sample->is_file() ) free (sample_data) ;) , reporting a possible heap corruption. The XP box continues to perform with fgfs release as expected, complete with sound. However the XP box with fgfs debug fails at the same point as the Vista laptop. On the bright side (always look for that) I no longer have failures on either machine when Flightgear is exited. Alan -------------------------------------------------- From: "Erik Hofman" <[email protected]> Sent: Wednesday, December 09, 2009 10:13 AM To: "FlightGear developers discussions" <[email protected]> Subject: Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx at line > Alan Teeder wrote: >> Eric >> >> Yes, both are 32 bit with identical Visual C++ 2008 (VC09) and Flightgear >> library setups. OpenALand Alut are from the Creative site. The Vista >> laptop >> is Intel dual core, the XP box is an ancient Athlon. > > I've updated the code slightly to not assign the sample data to the > SGSoundSample class in case of loading a file. > Could you test if this solves the problem for you? > > Erik > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Flightgear-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/flightgear-devel ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

