Saida Dhanavath added the comment:

Hi Christian Heimes,


PFA. I have written a some code to simulate and test PyWeakReference struct 
instantion and then hit segfault based on flag passed-in to C code. Here I am 
trying to execute some of the operations from new_weakref and dealloc_weakref 
of Objects/weakrefobject.c to show that new isntance of PyWeakReference is not 
initialized properly. Have also checked latest 3.6 source and there is no 
difference in alloc and dealloc routines of 2.7.8 and 3.6.0. Have run test code 
on 2.7.8, 2.7.12+, 3.4m and 3.5m interpreters and got segfault in all runs.

----------
Added file: http://bugs.python.org/file46396/crash_in_weakref.zip

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29347>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to