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 — Broken stack size detection on Android · Issue #159320 · python/cpython Open Labels OS-androidinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportAs part of investigating a test failure on #159289 on Android, I noticed the stack size detection with pthread_getatttr_np is (seemingly unintentionally) disabled on Android, because it's Linux and not glibc and so Python/ceval.c:145 assumes it's musl. Investigating the claim that musl's pthread_getattr_np doesn't work right (added in #134336) a little further it seems that it's only a problem for the main thread, not for subsequent threads. We can probably fix the code to work right on musl, although it sure would be nice if we could reliably detect musl, given that it's functionally different in more than a few places. I have a small PR fixing the test for Android, and I'm working on a bigger PR that tries to improve pthread_getattr_np handling on musl (and other platforms that give incorrect results). CPython versions tested on:CPython main branch Operating systems tested on:Linux Linked PRs
Activity
MetadataMetadataAssigneesLabelsOS-androidinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error 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. |