Skip to content

[BUG]: PyCapsule_SetName segfault #4420

Closed
@tylerjereddy

Description

@tylerjereddy

Required prerequisites

What version (or hash if on master) of pybind11 are you using?

2.10.2

Problem description

A detailed analysis of the situation that caused a hold-up of the SciPy release process on Windows is in this issue: scipy/scipy#17644 (comment)

Our testsuite can't even start with pybind11 2.10.2 -- it literally segfaults during the pytest collection phase, and more specifically import scipy.stats segfaults, and scipy.fft import will fail as desribed here: scipy/scipy#17644 (comment)

Reproducible example code

Unfortunately, I probably don't have the bandwidth to excise an isolated reproducer, but I bet the pybind11 folks will benefit from my DLL analysis over here: scipy/scipy#17644 (comment)

Is this a regression? Put the last known working version here if it is.

2.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNew bug, unverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions