Crash on End?

Blitz3D Forums/Blitz3D Programming/Crash on End?

Black Hydra(Posted 2005) [#1]
My game currently gives up a Memory Access Violation when the program ends (via the End command). This only happens in the executable and the game runs perfectly fine through the editor and when in debug mode.

So my question is: What could cause this crash?

Is it objects that weren't removed in the game (like types or entity's)? Or is there something else I am probably missing.


KuRiX(Posted 2005) [#2]
I had this problem long time ago. In my case it was the bad use of a DLL, that didn't crash during the execution but in the END command.

It should be some bad memory access during the game, but the software crashes when you free.

You will need to comment all the 'problematic' lines of code to see where is the problem!


Nicstt(Posted 2005) [#3]
could be something you are trying to free incorrectly, or more than once. Depends how u have blitz set up and if u use an external ide.