[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Why Python.exe is breaking with memory dump??

guptaabhishek1983

1/11/2008 8:04:00 AM

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??

Thank you.
1 Answer

Fredrik Lundh

1/11/2008 11:17:00 AM

0

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>