embedded python - mpatrol output

Stefan Seefeld seefeld at sympatico.ca
Wed May 19 10:54:49 EDT 2004


temp1111 wrote:
> Hi
> 
> Further to my earlier post we're getting the following output when
> embedding a python application
> in C++
> 
> If there is any obvious cause please let us know.
> 
> The version of python is 2.2.1
> 
> Regards
> 
> 
> 
> ERROR: [RNGOVF]: memcpy: range [0x017B8540,0x017B8AA7] overflows
> [0x017B8540,0x017B8A18]
>     0x017B8540 (1241 bytes) {malloc:222432:0} [9|-|-|-]
>         0xFE7CF8D0 __builtin_new+224
>         0xFE7CF9C4 __builtin_vec_new+12
>         0xF1AB6B3C ???
>         0xF1AB8868 ???
>         0xFE8FD4D4 PyCFunction_Call+372

Is that a call into a function of yours ? I.e. one that you could
set a breakpoint into with your debugger ?
This looks like (builtin) 'new' calling 'malloc' calling 'memcpy',
which complains because it tries to copy a large block into a small one.
If that's from a memory corruption error, the cause could be anywhere
in your program.

Regards,
		Stefan




More information about the Python-list mailing list