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 — `SystemError` from `termios.tcsetwinsize`passing `NULL` to `PyLong_AsLong` · Issue #146091 · python/cpython Closed Labels 3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionCrash reportWhat happened?It's possible to raise Automated diagnosis:Bug: File: MRE: import termios import os fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY) class BadSequence: def __len__(self): return 2 def __getitem__(self, idx): raise TypeError termios.tcsetwinsize(fd, BadSequence()) Backtrace: Traceback (most recent call last): File "/home/danzin/crashers/trigger_termios_null_pylong.py", line 23, in <module> termios.tcsetwinsize(fd, BadSequence()) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ SystemError: Objects/longobject.c:598: bad argument to internal function Found using cpython-review-toolkit with Claude Opus 4.6, using the CPython versions tested on:CPython main branch Operating systems tested on:Linux Output from running 'python -VV' on the command line:Python 3.15.0a7+ (heads/main:e0f7c1097e1, Mar 17 2026, 18:10:52) [Clang 21.1.2 (2ubuntu6)] Linked PRsActivity
MetadataMetadataAssigneesLabels3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-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 01402520 — 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. |