Re: Buffer Overrun in VC++ using VFP9
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Wed, 23 Nov 2005 09:16:39 -0800
There is at least one known bug in VFP that will cause this. (The one I
bumped into is fixed in SP1 for VFP9, which should be released shortly.)
The bug involves very specific data conditions and buffering. In my case,
the support team gave me a workaround (toggle buffering off and then back on
inside the loop where the error was occurring).
If you can reliably reproduce the problem, I recommend you call the official
support line and open a paid support incident. If your issue is caused by a
bug in the product, you won't be charged for the incident and you'll get
either a workaround or a patch. Either way, the only remedy with buffer
overruns is the official support route, and it has the added benefit of
getting fixes for these things into the stream for all of us.
If you cannot reliably reproduce the problem (i.e. on demand), there isn't
much of a workaround. Sorry.
Dan
John wrote:
> Every so often I get a a dialogue displaying a message stating:
>
> Buffer Overrun Detected!
> Program: c:\ASM GeMS\Sapphire.exe
> A buffer overrun has been detected which has corrupted the program's
> internal state. The program cannot safely continue execution and must
> now be terminated.
>
> The application, Sapphire.exe was originally written in VFP8 and was
> upgraded. It will run quite happily for several weeks and then, when
> it is started up sometimes throws the above error. Does anyone have
> any suggestions on how to go about debugging this? I notice that SP 1
> contains changes that prevent this error with large Scan loops but
> there is no such construct in this application.
>
> The environment is Windows 2000 Server SP4 with latest hotfix. The
> machine has 512 MB of RAM and a 2.4 GHz processor.
>
> This never occurred when the app was in VFP8. Nothing has changed
> other than a recompile. Leaving the application in VFP 8 is not a
> viable option due to company support policies.
>
> TIA
>
> John
.
- Follow-Ups:
- Re: Buffer Overrun in VC++ using VFP9
- From: Matthew L Reed
- Re: Buffer Overrun in VC++ using VFP9
- References:
- Buffer Overrun in VC++ using VFP9
- From: John
- Buffer Overrun in VC++ using VFP9
- Prev by Date: Re: Email Body Message
- Next by Date: Question for someone who has Visual Studio 6
- Previous by thread: Buffer Overrun in VC++ using VFP9
- Next by thread: Re: Buffer Overrun in VC++ using VFP9
- Index(es):
Relevant Pages
|