[C++-sig] vc++ assertion error upon runtime

Jim Bosch talljimbo at gmail.com
Fri Mar 19 07:50:39 CET 2010


On Fri, 2010-03-19 at 14:45 +0800, hitesh dhiman wrote:
> Hi all,
> I'm  trying to gain access to functions that use pointers as
> arguments. I have written the wrapper file that converts the arguments
> into pointers. The compilation works successfully, but when i try to
> run the code from python, it gives an assertion error:
> Debug Assertion Failed!
> Expression: Vector subscript out of range
> 
> 
> Surprisingly, this error only occurs when a particular function is
> called, Until that point, the code works perfectly.
> 
> 
> Could someone guide me what to do??

You'll need to provide some more information.  Could you post a
simplified version of your code that demonstrates the problem?

Jim






More information about the Cplusplus-sig mailing list