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 — test_c_stack_unwind fails on AArch64 with pointer authentication enabled · Issue #160102 · python/cpython Open Labels testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug descriptionBuilding CPython 3.15.0 on openSUSE for AArch64 fails in The test fails with both The build uses these compiler flags, among others: Relevant configure options: The unwinder appears to read saved return addresses without stripping AArch64 pointer-authentication bits. These signed addresses then fail classification against Python and JIT code ranges. For example, the test reports: but classifies return addresses such as: Without the authentication bits, each is The corresponding summary is: {"length": 62, "python_frames": 10, "jit_frames": 0, "other_frames": 52, "jit_backend": "jit", "unwinder": "manual_frame_pointer_unwind"}In uintptr_t return_addr = frame_pointer[FRAME_POINTER_RETURN_OFFSET]; It then converts that raw value to a Python integer without removing pointer-authentication bits. It looks like the manual unwinder needs to strip these bits before returning addresses for classification. Frame pointers are already enabled in this build. This is related to #126910, but appears distinct from #151602, where frame-pointer omission causes the same test to fail. Related to #152240, which fixes architecture-specific failures in the same test on LoongArch. This AArch64 failure appears different: the frame chain is traversed successfully, but saved return addresses retain pointer-authentication bits and therefore fail code-range classification. Package sources: https://src.opensuse.org/python-interpreters/python315 CPython versions tested on:3.15.0 and 3.16.0~a1 Operating systems tested on:Linux Activity
MetadataMetadataAssigneesLabelstestsTests in the Lib/test dirTests in the Lib/test dirtype-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. |