New submission from Anne Archibald <peridot.face...@gmail.com>:
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 ---------- components: Library (Lib) files: urllib_segfault.py messages: 363374 nosy: Anne Archibald priority: normal severity: normal status: open title: Segmentation fault with urllib.request.urlopen and threads type: crash versions: Python 3.7 Added file: https://bugs.python.org/file48950/urllib_segfault.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39853> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com