Build and Execute... App crashes

Started by Brian Chirgwin, February 27, 2009, 12:37:39 PM

Previous topic - Next topic

Brian Chirgwin

Strange and wonder if anyone else has run into this.

An application I am developing and run from the IDE [F5 or Shift F5] causes the application to crash.

What is strange is taking the same compiled exe and running outside the EDI and the app doesn't crash.

It is using SQLite which best I can tell is where the error occurs.

Anybody have any ideas? I've turned off my virus protection.

I'll see if I can create a small app the reproduces the issue.

Brian Chirgwin

I figured out my problem (bug), but still the results were strange.

Using SQLite I was receiving the results of a sqlite3_get_table function into an array.
I had my math wrong, so was requesting to more pTable ptrs to data into an array than there were.

Still it is weird that the app wouldn't crash when running the exe from explorer, but would crash when running from the FireFly IDE[f5]. I did try reproducing the results with a small sample, but didn't fail.

I can only figure that the out of bound ptrs I hit in the larger project are code or something causing Windows to not like it. In the smaller example I must not be requesting data from the same memory location.