Message363374
This was discovered in the astropy test suite, where ThreadPoolExecutor is used to concurrently launch a lot of urllib.request.urlopen. This occurs when the URLs are local files; I'm not sure about other URL schemes.
The problem appears to occur in python 3.7 but not python 3.8 or python 3.6 (on a different machine).
$ python urllib_segfault.py
Linux-5.3.0-29-generic-x86_64-with-Ubuntu-19.10-eoan
Python 3.7.3 (default, Apr 3 2019, 05:39:12)
[GCC 8.3.0]
Segmentation fault (core dumped)
$ python3.8 urllib_segfault.py
Linux-5.3.0-29-generic-x86_64-with-glibc2.29
Python 3.8.0 (default, Oct 28 2019, 16:14:01)
[GCC 9.2.1 20191008]
$ python3 urllib_segfault.py
Linux-4.15.0-88-generic-x86_64-with-Ubuntu-18.04-bionic
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0]
$
The Astropy bug report: https://github.com/astropy/astropy/issues/10008 |
|
Date |
User |
Action |
Args |
2020-03-04 18:38:23 | Anne Archibald | set | recipients:
+ Anne Archibald |
2020-03-04 18:38:22 | Anne Archibald | set | messageid: <1583347102.97.0.749597726143.issue39853@roundup.psfhosted.org> |
2020-03-04 18:38:22 | Anne Archibald | link | issue39853 messages |
2020-03-04 18:38:22 | Anne Archibald | create | |
|