-
Notifications
You must be signed in to change notification settings - Fork 276
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
Crash when removing model with started LinearBatteryPlugin #2466
Comments
Interestingly, if run the following service between steps 2 and 3, there will be no crash gz service --timeout 10000 -s /model/model/battery/linear_battery/recharge/stop --reptype gz.msgs.Empty --reqtype gz.msgs.Boolean --req '' |
Removing models that have associated plugins is currently broken and is being worked on in #2232. |
I tried the commit 26aa106 of the arjo/feat/remove_systems_with_entities branch, and there was no crash for the above example. Also worked for #2464, #2465, and #2466. By the way, for future test cases, which version is more appropriate, source build of the latest commit of gz-sim 8, gz-sim 9, or binary build of certain version? Thanks. |
#2232 Has been merged, that resolves this problem. |
Environment
source build
gz-sim version: 5641ef2
built with
gcc version: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
build options: -DCMAKE_BUILD_TYPE=Coverage
Description
Steps to reproduce
The crash could also be reproduced by extracting a.tar.gz, and then run
Output
The text was updated successfully, but these errors were encountered: