[PEAK] access violation with py24/msvc compiler

Phillip J. Eby pje at telecommunity.com
Fri Jan 28 08:52:44 EST 2005


At 03:32 PM 1/28/05 +0200, alexander smishlajev wrote:
>it fails in function newWrapper, in the call to PyMem_NEW at line 1724.
>
>by the way, it seems to me that PyMem_Del(wp) is missing before return 
>NULL at line 1737 in that function.
>
>in fact, i would like to stop this investigation.  mingw build is ok for 
>us.  msvc would be more handy, but that is not worth the time spent.

Thanks for the help.  I'll eventually get kjbuckets out of PEAK usage.  In 
the meantime, I'll take a look at kjbuckets' memory allocation and see if 
it is incorrectly mixing allocation types.  I seem to recall that there was 
a change in the Python memory APIs during the 2.x series wherein extensions 
that used to work could possibly fail.




More information about the PEAK mailing list