[issue29347] Python could crash while creating weakref for a given object

2017-02-20 Thread Saida Dhanavath
Saida Dhanavath added the comment: Hi Xiang, Sorry for the delay. I have not checked my inbox since last week. The proposed fix works for me. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Saida Dhanavath
Saida Dhanavath added the comment: Xiang, Sure, I will run it with other python versions and post the results. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Saida Dhanavath
Saida Dhanavath added the comment: Please find the test program attached. Readme.txt has steps to comiple and run program. -- Added file: http://bugs.python.org/file46515/verify_crash_in_weakref.zip ___ Python tracker <rep...@bugs.python.org>

[issue29347] Python could crash while creating weakref for a given object

2017-02-04 Thread Saida Dhanavath
Saida Dhanavath added the comment: Hi xiang, I have already patched our build environment with the fix and tested it locally. Although I cannot test it in production, have taken out the code of new_weakref, init_weakref and clear_weakref from weakrefobject.c. Changed init_weakref

[issue29347] Python 2.7.8 is crashing while creating weakref for a given object.

2017-02-02 Thread Saida Dhanavath
Changes by Saida Dhanavath <saidadhanavat...@gmail.com>: -- versions: +Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue29347] Python 2.7.8 is crashing while creating weakref for a given object.

2017-01-23 Thread Saida Dhanavath
Saida Dhanavath added the comment: Hi Christian Heimes, Please ignore typos in the previous post. I have written some code to simulate and test PyWeakReference struct instantiation and then hit segfault based on the flag passed to C code. Here I am trying to execute some of the operations

[issue29347] Python 2.7.8 is crashing while creating weakref for a given object.

2017-01-23 Thread Saida Dhanavath
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

[issue29347] Python 2.7.8 is crashing while creating weakref for a given object.

2017-01-22 Thread Saida Dhanavath
Changes by Saida Dhanavath <saidadhanavat...@gmail.com>: -- type: -> crash ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29347> ___ _

[issue29347] Python 2.7.8 is crashing while creating weakref for a given object.

2017-01-22 Thread Saida Dhanavath
New submission from Saida Dhanavath: We are using python 2.7.8 on Ubuntu 14.04 to host our services. In one of the crashes python interpreter got segmentation fault while initializing weakref for a given object. Please find snip of backtraces as given below. #0 0x7f62aa86951a