Hallo everybody I am a Navision Developer. One of our client (Navision 4, no Service Packs) often gets the following error message, during invoice postings :
"Buffer overrun detected.
A buffer overrun has been detected which has corrupted the program’s internal state. The program cannot safely continue execution and must be terminated."
It looks like to me that some tables become locked. Unfortunately, I can not recreate the problem and it happens often but not in a standard way so somebody can expect it or watch it happen. Any ideas? Does anyone help me how to translate/debug these kind of messages in the future. Is there any tools?
0
Comments
Buffer overrun error can be produced by code which is going through a big loop (big enough to reach the buffer limit) or infinite loop.
What have you ran? Some batch job like item adjust or something like that?
Do you have modifications/customisations on that part of navision that you ran?
It looks like a classic bug in development but I never saw that kind of bug in original (non-customized) versions of Navision.
- IMHO a endless loop shows an error "stack overflow" rather than buffer overrun.
- Buffer overrun can have many reasons, for example with automation objects and also if you try to enter stupid values in a date formula field.
- Anyway, I would suggest to do (at least a technical) upgrade to SP2 if possible.
Regards
Thomas
:roll:
hm... you're probably right.
buffer... stack... my mistake
I got the same issue, namely that when i import different Excel sheets into Navision, i get an buffer overrun also with a "Microsoft Visual C++ Runtime Library" header. :shock:
It is impossible to debug, and the error does not emerge on the same time, during the import.
I have searched the net endlessly about buffer overruns. It is not that i don't comprehend what overruns are, but i can't figure out how i get it from navision. Does anybody have any clue how this can be possible? :?
Grtz