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 — test_gdb fails on PPC64LE Fedora Stable Clang 3.x buildbot · Issue #109053 · python/cpython

test_gdb fails on PPC64LE Fedora Stable Clang 3.x buildbot #109053

New issue
Copy link
New issue
Copy link
Closed
Closed
test_gdb fails on PPC64LE Fedora Stable Clang 3.x buildbot#109053
Copy link

Description

@vstinner
vstinner
opened on Sep 7, 2023
Issue body actions

In PR #108999 (commit fbce43a), I skipped some test_gdb tests if gdb fails to retrieve the frame argument of _PyEval_EvalFrameDefault().

Here, the problem looks similar but different. gdb has 2 errors:

  • Backtrace stopped: frame did not save the PC
  • Unable to locate python frame

Log (reformatted to be more readable):

======================================================================
FAIL: test_pycfunction (test.test_gdb.PyBtTests.test_pycfunction) [_testcapi.meth_varargs]
Verify that "py-bt" displays invocations of PyCFunction instances
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 950, in test_pycfunction
    self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_varargs' not found in 'Breakpoint 1 (meth_varargs) pending.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Breakpoint 1, meth_varargs (self=<module at remote 0x7fffea347890>, args=()) at ./Modules/_testcapimodule.c:2060
2060\t    return Py_BuildValue("NO", _null_to_none(self), args);
#0  meth_varargs (self=<module at remote 0x7fffea347890>, args=()) at ./Modules/_testcapimodule.c:2060
#1  PyModuleDef_Type ()
Backtrace stopped: frame did not save the PC
Unable to locate python frame
'

======================================================================
FAIL: test_pycfunction (test.test_gdb.PyBtTests.test_pycfunction) [_testcapi.meth_fastcall_keywords]
Verify that "py-bt" displays invocations of PyCFunction instances
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 950, in test_pycfunction
    self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Breakpoint 1, meth_fastcall_keywords (self=<module at remote 0x7fffea3478f0>, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:2107
2107\t    PyObject *pyargs = _fastcall_to_tuple(args, nargs);
#0  meth_fastcall_keywords (self=<module at remote 0x7fffea3478f0>, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:2107
#1  ?? ()
Unable to locate python frame
'

build: https://buildbot.python.org/all/#/builders/435/builds/3568

Activity

  1. sorcio commented on Sep 7, 2023

    @sorcio
    sorcio
    on Sep 7, 2023
    Contributor
    More actions

    Note there is another open issue for this #104736

  2. vstinner commented on Sep 7, 2023

    @vstinner
    vstinner
    on Sep 7, 2023
    MemberAuthor
    More actions

    Note there is another open issue for this #104736

    Oh right. I closed this issue as a duplicate of issue #104736.

  3. vstinner
    closed this as completedon Sep 7, 2023
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

    No labels
    No labels

    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.