pybind / pybind/pybind11_abseil
Python bindings for absl::Status cause ODR violation
@Mizux is already working on this.
Since Oct 20, 2025.
- Dominant language
- C++
- Stars
- 27
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
The issue can manifest itself in multiple ways. One of the most straightforward examples is that returning an absl::Status with a payload from C++ to Python can cause the process to crash (approximately 1 in 50k times; code that reproduces the issue: https://github.com/apronchenkov/pybind11_absl_cord_odr_issue).
It appears that the root cause of the issue seems is that pybind11_abseil includes statically linked components of Abseil, which may conflict with Abseil usages within the Python extensions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.