GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Possible race condition in signal handling · Issue #102397 · python/cpython Closed Labels 3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionThe following code segfaults the interpreter on Linux. Tested on current main. import gc import _thread gc.set_threshold(1, 0, 0) def cb(*args): _thread.interrupt_main() gc.callbacks.append(cb) def gen(): yield 1 g = gen() g.__next__() Exception ignored in: <function cb at 0x7f7f4f6fe200> Traceback (most recent call last): File "/workspaces/cpython/main.py", line 7, in cb _thread.interrupt_main() KeyboardInterrupt: Exception ignored in: <function cb at 0x7f7f4f6fe200> Traceback (most recent call last): File "/workspaces/cpython/main.py", line 7, in cb _thread.interrupt_main() KeyboardInterrupt: Exception ignored in: <function cb at 0x7f7f4f6fe200> Traceback (most recent call last): File "/workspaces/cpython/main.py", line 7, in cb _thread.interrupt_main() KeyboardInterrupt: Exception ignored in: <function cb at 0x7f7f4f6fe200> Traceback (most recent call last): File "/workspaces/cpython/main.py", line 7, in cb _thread.interrupt_main() KeyboardInterrupt: Segmentation fault (core dumped) Linked PRsActivity
MetadataMetadataAssigneesLabels3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |