Skip to content

PyPy 5.9.0 segfault under multiple inheritance #1130

Closed
@jagerman

Description

@jagerman

The test suite segfaults under PyPy 5.9.0, in particular when using multiple inheritance of both a Python and C++ class with the Python class first. It seems in such a case our custom tp_new (in pybind11_object) doesn't get called, so the instance doesn't get allocated or initialized.

I'm creating this issue to document/track it; more details are at the upstream bug report: https://bitbucket.org/pypy/pypy/issues/2674/cpyext-tp_new-not-called-in-some-multiple

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions