Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-09 Thread Erik Hofman
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

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-09 Thread Alan Teeder
flightgear-devel@lists.sourceforge.net 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

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-09 Thread Erik Hofman
Alan Teeder wrote: 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. That's virtually impossible. You might check the code if you see a problem but this starts to look like a compiler bug. MSV9

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-08 Thread Alan Teeder
by using debug runtime.. Hope this is some help. Alan -- From: Erik Hofman e...@ehofman.com Sent: Monday, December 07, 2009 1:37 PM To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Debug

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-08 Thread Erik Hofman
Alan Teeder wrote: I suppose the good news is that I am able to duplicate the fault on the XP machine (which normally runs without fault) simply by using debug runtime.. I'm not sure that's good news.. Are both systems the same (64-bit or 32-bit)? Erik

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-08 Thread Alan Teeder
this routine is called. Alan -- From: Erik Hofman e...@ehofman.com Sent: Tuesday, December 08, 2009 1:12 PM To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Debug Assertion Failed

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-08 Thread Erik Hofman
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. Ok at least that excludes the possibility of a buffer overflow

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-08 Thread Alan Teeder
) Alan -- From: Erik Hofman e...@ehofman.com Sent: Tuesday, December 08, 2009 1:12 PM To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx Alan

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-08 Thread Erik Hofman
Alan Teeder wrote: Eric This may be of some use. I am getting the debug message:- HEAP[fgfs.exe]: Invalid Address specified to RtlValidateHeap( 02F4, 2EEE0028 ) Windows has triggered a breakpoint in fgfs.exe. _data which free_data is working on is

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-07 Thread Alan Teeder
developers discussions flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx Alan Teeder wrote: First the good news, with the current CVS on XP, VC++2008 Flightgear runs well. The bad news is that on my Vista laptop it stops with a Debug

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-07 Thread Erik Hofman
Alan Teeder wrote: Eric An aircraft that I am developing caused Flightgear to crash on the Vista box, but not on the XP one. This I traced to some bad coding in my JSBsim aero file:- table!-- Ch-delta elevator --

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-06 Thread Erik Hofman
Alan Teeder wrote: First the good news, with the current CVS on XP, VC++2008 Flightgear runs well. The bad news is that on my Vista laptop it stops with a Debug Assertion Failure before the splash screen is replaced by the runtime display. Both machines have an an identical setup as

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-06 Thread Alan Teeder
exhibits this problem. Alan -- From: Erik Hofman e...@ehofman.com Sent: Sunday, December 06, 2009 9:31 AM To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Debug Assertion Failed

Re: [Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-06 Thread Alan Teeder
Eric I have investigated when this bug started on my Vista laptop. CVS of Simgear +Flightgear from 4 October runs on the Vista Machine )but without sound - I probably need to CVS the data as well. CVS from 6 October fails in Sample_openal.hxx as per my note at he start of this thread. It is

[Flightgear-devel] Debug Assertion Failed in Sample_opneal.hxx

2009-12-05 Thread Alan Teeder
First the good news, with the current CVS on XP, VC++2008 Flightgear runs well. The bad news is that on my Vista laptop it stops with a Debug Assertion Failure before the splash screen is replaced by the runtime display. VC++2008 debug output is attached. Both machines have an an identical