This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anne Archibald
Recipients Anne Archibald
Date 2020-03-04.18:38:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583347102.97.0.749597726143.issue39853@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-03-04 18:38:23Anne Archibaldsetrecipients: + Anne Archibald
2020-03-04 18:38:22Anne Archibaldsetmessageid: <1583347102.97.0.749597726143.issue39853@roundup.psfhosted.org>
2020-03-04 18:38:22Anne Archibaldlinkissue39853 messages
2020-03-04 18:38:22Anne Archibaldcreate