Re: Buffer Overrun in VC++ using VFP9

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for your responses everyone. Unfortunately, the app can run for
several weeks 24x7 without problem, then when we shut it down and restart it
occasionally gives the buffer overrun error. This is very intermittent and
frustrating.

I'll raise a support incident with MS I guess.

John

"John" <dobsonjay@asmdotorgdotuk> wrote in message
news:udr5gQC8FHA.472@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>


.



Relevant Pages

  • Re: Invalid Seek Offset continued...
    ... the end to re-write the application in VPM8.1. ... Did you convert all tables to VFP8 or left some of them in Fox2.x format? ... >> Is your application using a framework or plain VFP? ... > This app is pure VFP, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Virus Warning
    ... >There are only a handful of exploits that will work inside a JPEG file ... >made *all* their production code buffer overrun protected. ... The task of making a huge app with millions of lines of code fully ...
    (sci.astro.amateur)
  • Re: Struts workflow
    ... John wrote: ... It also has a complete app with database calls. ... I will recommend another book, ... It's "Programming Jakarta Struts" by Chuck Cavaness, ...
    (comp.lang.java.programmer)
  • Re: Paging the Computeristi
    ... >> John wrote: ... >>> app ... get hold of the home user Prevx and load it. ... Black with extra black bits ...
    (uk.rec.motorcycles)
  • Re: resource protection in IIS
    ... when you're developing you're sure to hit points where your app ... >> ASP server at my hosting site? ...
    (microsoft.public.dotnet.languages.csharp)