Buffer overrun detected

dimitris
Member Posts: 17
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?
"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
-
dimitris wrote: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?
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.0 -
Hi
- 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
Thomas0 -
ta5 wrote:Hi
- 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 mistake0 -
Thank you for your replies. I did not mention that the window that displays the message has a header of "Microsoft Visual C++ Runtime Library. Does that help?0
-
As far as I remember the messages that I've seen also had this header.0
-
Hello guys,
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? :?
GrtzStraight forward... Move!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions