-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimizer always segfaults #425
Comments
It it's helpful, here is the stack trace of the core dump:
|
I also tried a simple copy-paste o the example in the README. Still segfaults. |
Fixes #425 Our previous version of pybind didn't support py3.11. pybind 2.13.6 supports all versions of python that we support. There isn't much downside to downloading an additional copy of pybind if you have an older one installed that supports your version of python. If we wanted to we could write some table of minimum required versions based on SYMFORCE_PYTHON's version Topic: sf-pybind
Will be fixed by #426, see comment there |
Fixes #425 Our previous version of pybind didn't support py3.11. pybind 2.13.6 supports all versions of python that we support. There isn't much downside to downloading an additional copy of pybind if you have an older one installed that supports your version of python. If we wanted to we could write some table of minimum required versions based on SYMFORCE_PYTHON's version Topic: sf-pybind
Fixes #425 Our previous version of pybind didn't support py3.11. pybind 2.13.6 supports all versions of python that we support. There isn't much downside to downloading an additional copy of pybind if you have an older one installed that supports your version of python. If we wanted to we could write some table of minimum required versions based on SYMFORCE_PYTHON's version Topic: sf-pybind
I installed the repo by linking to your PR branch, and ran the test again (identical to the example in the README). I get the same results, still segfaults. Here is the stack trace:
|
Interestingly, I tried building with cmake from source on |
Yeah this seems to only happen with the wheel build, I haven't figured out why that is. How did you install from my branch? Did you |
I added |
Here is the full log from
In a fresh virtual environment https://gist.github.com/Robertleoj/dc01610d3f5bdddfa35f14d1cab6264d (log was too long to paste here) |
This is installing the old version of pybind: https://gist.github.com/Robertleoj/dc01610d3f5bdddfa35f14d1cab6264d#file-build_log-txt-L1629-L1630
It looks like you're installing from |
oops - I corrected the link:
but still
|
I don't think uv supports Can you just |
That works! Thank you very much for the support. |
Excellent! Will get that PR merged shortly |
Fixes #425 Our previous version of pybind didn't support py3.11. pybind 2.13.6 supports all versions of python that we support. There isn't much downside to downloading an additional copy of pybind if you have an older one installed that supports your version of python. If we wanted to we could write some table of minimum required versions based on SYMFORCE_PYTHON's version Topic: sf-pybind Relative: fix-wheels
Describe the bug
optimizer.optimize
always segfaults in my environment.To Reproduce
Steps to reproduce the behavior, e.g.:
Expected behavior
No segfault, successful optimization.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
I put in some breakpoints and saw that the segfault happens in the call
The text was updated successfully, but these errors were encountered: