[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

2021-03-08 Thread Álvaro Justen
Álvaro Justen added the comment: Based on changes at https://github.com/python/cpython/pull/15989 I've monkey-patched `multiprocessing.resource_tracker` so my current applications (running on Python 3.9.2) won't be affected. The code may be useful to others while the PR is not merged and we

[issue34539] namedtuple's exec() throws segmentation fault

2018-08-30 Thread Álvaro Justen
Álvaro Justen added the comment: Yes, I think it was fixed in https://bugs.python.org/issue34087 (didn't see the commits), I just wanted to report it because I don't know if a test for this specific case is needed (the other bug is not related to namedtuples

[issue34539] namedtuple's exec() throws segmentation fault

2018-08-29 Thread Álvaro Justen
Álvaro Justen added the comment: I've cloned the cpython git repository and made fresh builds here: On v.3.6.6 (4cf1f54eb764f856fda5a394d8598c0c90d69d77) it works: $ git checkout v3.6.6 && ./configure && make && ./python --version && ./python namedtuple_

[issue34539] namedtuple's exec() throws segmentation fault

2018-08-28 Thread Álvaro Justen
New submission from Álvaro Justen : I was working on a library called rows[https://github.com/turicas/rows] when a segmentation fault was thrown in the moment I've tried to read a CSV file. Since this part of the code is implemented completely in Python, I thought it could be a bug in Python