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 — MemoryError and data race in devpoll selector on Solaris · Issue #102494 · python/cpython Open Labels OS-unsupportedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-socketRelated to the socket, socketserver and selectors modulesRelated to the socket, socketserver and selectors modulestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionThere are currently two big issues with DevPoll selector on Solaris. Memory ErrorIf you set > ulimit -n unlimited > python3.11 -c "import selectors" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.11/selectors.py", line 613, in <module> elif _can_use('devpoll'): ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/selectors.py", line 594, in _can_use selector_obj = selector() ^^^^^^^^^^ MemoryError The issue is that Python uses Data raceThere is a potential data race when multiple threads are operating on the same Update: I added the second issue, which was not known when I originally filed this, but the attached PR fixes it as well. Your environmentI tested this on Oracle Solaris with 3.11, 3.9 and 3.7 (where you need a slightly different way to crash it: I verified that on SmartOS, it behaves the same way (on SmartOS, you can actually set huge Linked PRsActivity
MetadataMetadataAssigneesLabelsOS-unsupportedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-socketRelated to the socket, socketserver and selectors modulesRelated to the socket, socketserver and selectors modulestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue 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. |