[issue46320] runtime/interp/thread state refactoring leads to segmentation fault

Quentin Pradet report at bugs.python.org
Sun Jan 9 15:51:32 EST 2022


Quentin Pradet <quentin.pradet at gmail.com> added the comment:

Sorry, I pasted the same crash twice. Here's the segmentation fault in `selectors`:

```
============================================================================================================= test session starts =============================================================================================================
platform linux -- Python 3.11.0a2+, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/q/pub/urllib3, configfile: setup.cfg
collected 1 item                                                                                                                                                                                                                              

test/test_reproduce.py Fatal Python error: Segmentation fault

Thread 0x00007f9683378640 (most recent call first):
  File "/home/q/pub/install/lib/python3.11/selectors.py", line 416 in select
  File "/home/q/pub/install/lib/python3.11/asyncio/base_events.py", line 1822 in _run_once
  File "/home/q/pub/install/lib/python3.11/asyncio/base_events.py", line 591 in run_forever
  File "/home/q/pub/urllib3/venv/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 199 in start
  File "/home/q/pub/install/lib/python3.11/threading.py", line 968 in run
  File "/home/q/pub/install/lib/python3.11/threading.py", line 1031 in _bootstrap_inner
  File "/home/q/pub/install/lib/python3.11/threading.py", line 988 in _bootstrap

Extension modules: tornado.speedups, _brotli, _cffi_backend (total: 3)
zsh: segmentation fault (core dumped)  pytest
```

(Those results are produced with https://github.com/python/cpython/commit/32a67246b0d1e08cd50fc3bfa58052cfeb515b2e)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46320>
_______________________________________


More information about the Python-bugs-list mailing list