Page 1 of 1

Inconsistent Buffer Overrun error

Posted: Sun Nov 06, 2016 10:20 pm
by ChrisJ
I have been using Buffer Overrun detection, in attempting to debug an intermittent and confusing runtime error in my application. I thought I was on to something when I was finally able to reproduce a Buffer Overrun error in a simple test application that uses a tABSQuery componenent (Absolute Database, ComponentAce). However, it appears that although this error displays every time on my own development machine, it runs with no problem on a VM or another local Win10 machine - and when I submitted it to ComponentAce, they also had no errors.

Can you shed any light on why a Buffer Overrun error could be environment-dependant? The machine that exhibits the Buffer Overrun has passed Win10's Memory Diagnostic test.

Development machine: Win10, XE5, 32 bit compiler, 32 bit exe, ME 4.0.13.

Re: Inconsistent Buffer Overrun error

Posted: Mon Nov 21, 2016 10:42 am
by madshi
Good question, I don't really have any good idea right now.

Could the exact size of the allocation in question vary, depending on the environment?