Why Python.exe is breaking with memory dump??

Fredrik Lundh fredrik at pythonware.com
Fri Jan 11 06:16:53 EST 2008


abhishek wrote:

> Hi group i have created a simple .pyd using which i m able call C
> function from python code. There are around 6 such functions. 4 of
> them work great. But when i try to run other two python's exe breaks
> giving memory dump.
> 
> Any pros or cons on what led to such a situation.. Is it a problem in
> my c code??

yes.

check for reference counting errors, plus the usual C stuff: memory 
allocation errors, memory overwrites, bogus pointers, etc.

</F>




More information about the Python-list mailing list