-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Custom trajectory starts causing segfault in drake==1.37.0 #22621
Comments
See the https://drake.mit.edu/release_notes/v1.37.0.html for #22395:
I had thought that we got it smooth enough to be a deprecation transition, but if it's segfaulting maybe something got missed. In any case, the probable fix is the same -- switch to using the non-deprecated overrides: drake/bindings/pydrake/test/trajectories_test.py Lines 36 to 74 in ea20a5d
|
That's it! It fails if I change I had tried switching |
Yeah. I will still try to see if we can avoid the segfault (which would then hopefully show the message). |
What happened?
My custom trajectories started to cause a segfault when updating to
drake==1.37.0
.It works with
drake==1.36.0
. I tried replacing the depreciated methods (e.g. Copy) but this didn't help, so I left them in for consistency. The segfault seems to happen after querying the trajectory the first time.Minimal example:
This unfortunately depends on
manipulation
but I couldn't think of a quick way to set this up with drake only. I'd assume any dummy system + trajectory source would cause the same issue. The only thing that changed this from working to not working is changing drake version, so it shouldn't be themanipulation
dependency.Version
1.37.0
What operating system are you using?
Ubuntu 22.04
What installation option are you using?
pip install drake
Relevant log output
The text was updated successfully, but these errors were encountered: