I have a c# Windows Forms application that crashes periodically with a "Buffer Overrun" error.? The application does not ever crash when run within Visual Studio...it only crashes when the deployed (.exe) version is run.
I have added extensive logging but failed to find the problem.? I believe the exception is not being thrown from within the code...that is, its not an exception that can be caught.? I think that windows is shutting down the program from the outside.? I think that to debug it, we'll need to use Windbg or a similar tool.
The application is getting stock market data from the internet via a 3rd party API. This is likely to complicate the search somewhat.
I need help to find where the problem is and understand the cause of the buffer overrun.? I'd like someone with extensive experience with windbg or a similar debugging tool, and experience with this specific error.
## Deliverables
Identify the root cause of the Buffer Overrun error. Suggest a mechanism in my source code for avoiding the error. Rather than starting with hours of code review, I'd prefer to work with someone who can use debugging tools effectively (eg. windbg) to quickly see what is going on behind the scenes. No partial credit here! I need to find the specific code, data structure, or programming flaw and resolve it completely. We'll have to do the work on my computer via a desktop sharing tool. The program can't be run outside of our network because of the reliance on a 3rd party data connection. Data is only available from 9am - 3pm Central Standard Time, so I can only reproduce the error during that time window. I'd like to do this Thursday morning around 10am Central Standard Time.
## Platform
C# Windows XP Visual Studio 2008 Pro