You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ODR violations were occasionally observed in presubmit test runs. Our investigation revealed that the issue stems from the Python bindings for absl::Status in pybind11_abseil (see the reported issue: pybind/pybind11_abseil#20).
Note: We have tested that this change helps by manually increasing the number of iterations in //py/arolla/py_utils:py_utils_test to 10**6.
PiperOrigin-RevId: 629017121
Change-Id: Iab0ff1f460971ef69e6a9653c10b7e2dddccfdcc
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.The text was updated successfully, but these errors were encountered: