GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Python 3.15.0~b1, test_frame_pointer_unwind fails on riscv64 · Issue #150919 · python/cpython

Python 3.15.0~b1, test_frame_pointer_unwind fails on riscv64 #150919

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Python 3.15.0~b1, test_frame_pointer_unwind fails on riscv64#150919
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@davidlt
davidlt
opened on Jun 4, 2026
Issue body actions

Bug report

Bug description:

While compiling python3.15-3.15.0~b1-1.fc44.src.rpm for riscv64 on Fedora 44 we noticed test_frame_pointer_unwind failing.

[..]
1 test failed:
    test_frame_pointer_unwind
475 tests OK.
1:03:08 load avg: 1.27 Re-running 1 failed tests in verbose mode in subprocesses
1:03:08 load avg: 1.27 Run 1 test in parallel using 1 worker process (timeout: 2 hour 15 min, worker timeout: 2 hour 20 min)
1:03:12 load avg: 1.25 [1/1/1] test_frame_pointer_unwind failed (1 failure)
Re-running test_frame_pointer_unwind in verbose mode (matching: test_manual_unwind_respects_frame_pointers)
test_manual_unwind_respects_frame_pointers (test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers) ... #00 0x8000000000000000 -> other
{"length": 1, "python_frames": 0, "jit_frames": 0, "other_frames": 1, "jit_backend": null, "unwinder": "manual_frame_pointer_unwind"}
  test_manual_unwind_respects_frame_pointers (test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers) (env={'PYTHON_JIT': '0'}) ... FAIL
======================================================================
FAIL: test_manual_unwind_respects_frame_pointers (test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers) (env={'PYTHON_JIT': '0'})
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3.15-3.15.0_b1-build/Python-3.15.0b1/Lib/test/test_frame_pointer_unwind.py", line 257, in test_manual_unwind_respects_frame_pointers
    self.assertGreaterEqual(
    ~~~~~~~~~~~~~~~~~~~~~~~^
        python_frames,
        ^^^^^^^^^^^^^^
        STACK_DEPTH,
        ^^^^^^^^^^^^
        f"expected to find Python frames on {self.machine} with env {env}",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: 0 not greater than or equal to 10 : expected to find Python frames on riscv64 with env {'PYTHON_JIT': '0'}
----------------------------------------------------------------------
Ran 1 test in 1.398s
FAILED (failures=1)
test test_frame_pointer_unwind failed
[..]

Full build log is available here: https://riscv-kojipkgs.fedoraproject.org//work/tasks/2456/222456/build.log

More details in the build task (if needed): https://riscv-koji.fedoraproject.org/koji/taskinfo?taskID=222456

I very briefly asking Gemini 3.5 Flash to look at it, and it said that Modules/_testinternalcapi.c needs proper values for FRAME_POINTER_NEXT_OFFSET and FRAME_POINTER_RETURN_OFFSET set on riscv64. I haven't deeply looked at it. Just adding it as a potential hint.

CPython versions tested on:

3.15

Operating systems tested on:

Linux

Reacted by Furkan Onder

Activity

  1. davidlt
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jun 4, 2026
  2. StanFromIreland
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Jun 4, 2026
  3. IvyXu420 commented on Jul 2, 2026

    @IvyXu420
    IvyXu420
    on Jul 2, 2026
    Contributor
    More actions

    I think this issue is the same as #151040 and has been resolved by #152819?
    @StanFromIreland What do you think?

    Reacted by Stan Ulbrych
  4. StanFromIreland commented on Jul 2, 2026

    @StanFromIreland
    StanFromIreland
    on Jul 2, 2026
    Member
    More actions

    Ah, right, thanks for the ping!

  5. StanFromIreland
    closed this as a duplicateof 3.15.0b2, Fedora 44, riscv64: failing test: test_c_stack_unwind #151040 on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue 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.