Re: [C-API] malloc error in PyDict_New

2010-03-26 Thread Stefan Behnel
Jonas H., 26.03.2010 20:10: I'm currently diving into Python C programming and I have a problem with `PyDict_New`. My application receives a SIGABRT from malloc every time I execute `PyDict_New`. malloc throws the following error: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((

[C-API] malloc error in PyDict_New

2010-03-26 Thread Jonas H.
Hi there, I'm currently diving into Python C programming and I have a problem with `PyDict_New`. My application receives a SIGABRT from malloc every time I execute `PyDict_New`. malloc throws the following error: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &