[PEAK] access violation with py24/msvc compiler

alexander smishlajev alex at ank-sia.com
Thu Jan 27 15:50:16 EST 2005


Phillip J. Eby wrote, at 27.01.2005 21:53:
> 
>> thanks, i did it now.  it is kjGraph.  the following command also raises
>> access violation:
>>
>>    python -c "import kjbuckets; g=kjbuckets.kjGraph(); print g"
>>
>> when importing peak.model.features, failing is line 470 in
>> method_exporter.py: 'vt += d' in MethodExporter.__init__()
>>
>> i can get .keys() and .values() from a kjGraph object, but i do not know
>> what else i could try with it and what c function to look at.
> 
> It would be the addition methods, which is the 'Wunion' C function at 
> line 3004 of kjbucketsmodule.c.

as i said earlier, kjGraph object raises access violation when i attempt 
to print it.  so in this case AV was caused by pdb trying to print 
result of the statement evaluation, and not by addition.  (i did 
understand that just five minutes ago.)  this works:

     python -c "import kjbuckets; g=kjbuckets.kjGraph(); g+=g"

best wishes,
alex.




More information about the PEAK mailing list