Skip to content
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

Choreonoid aborts in CI #1

Closed
mmurooka opened this issue Feb 8, 2023 · 6 comments
Closed

Choreonoid aborts in CI #1

mmurooka opened this issue Feb 8, 2023 · 6 comments

Comments

@mmurooka
Copy link
Member

mmurooka commented Feb 8, 2023

https://github.com/isri-aist/MultiContactController/actions/runs/4120205495/jobs/7114695001

+ choreonoid MCC_JVRC1_SampleField.cnoid --start-simulation
...
[info] Loading additional plugin configuration: /usr/lib/x86_64-linux-gnu/mc_plugins/etc/ROS.yaml
[info] Loading additional controller configuration: /home/runner/work/MultiContactController/MultiContactController/catkin_ws/devel/.private/multi_contact_controller/lib/mc_controller/etc/MultiContactController.yaml
[info] Loading additional controller configuration: /home/runner/.config/mc_rtc/controllers/MultiContactController.yaml
[info] Create controller MultiContactController
[success] [overwriteConfig] Overwrite with configuration jvrc1.
choreonoid: /package/mc_rtc/3rd-party/RapidJSON/rapidjson/document.h:1993: bool rapidjson::GenericValue<Encoding, Allocator>::StringEqual(const rapidjson::GenericValue<Encoding, SourceAllocator>&) const [with SourceAllocator = rapidjson::CrtAllocator; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::CrtAllocator]: Assertion `rhs.IsString()' failed.
/home/runner/work/_temp/fd9076cd-19f5-4bb4-a134-da7[484](https://github.com/isri-aist/MultiContactController/actions/runs/4120205495/jobs/7114695001#step:9:485)39b8c7.sh: line 29: 24184 Aborted                 (core dumped) choreonoid ${CNOID_FILE} --start-simulation
+ kill -2 24140
+ kill -2 24184
/home/runner/work/_temp/fd9076cd-19f5-4bb4-a134-da748439b8c7.sh: line 31: kill: (24184) - No such process
Error: Process completed with exit code 1.
@gergondet
Copy link
Contributor

Hi @mmurooka

I think this is related to the robots/env bug (it's just a different manifestation), I think it doesn't happen on the most recent runs?

@mmurooka
Copy link
Member Author

mmurooka commented Feb 8, 2023

Yes, it is solved by 45838c6

@mmurooka mmurooka closed this as completed Feb 8, 2023
@mmurooka
Copy link
Member Author

mmurooka commented Feb 9, 2023

@mmurooka
Copy link
Member Author

I believe this problem has occurred several times on the local PC, and although I have not been able to reproduce it in gdb, the terminal output when the controller is started via choreonoid is as follows: The "[overwriteConfig]" message is printed just before the constructor of fsm::Controller, so the segmentation fault must be caused in the constructors of MultiContactController, fsm::Controller, or MCController. (BTW, the overwrite just before the controller constructor will be eliminated soon for sure.)

[info] Create controller MultiContactController
[success] [overwriteConfig] Overwrite with configuration jvrc1.
Segmentation fault

@mmurooka mmurooka reopened this Feb 11, 2023
@gergondet
Copy link
Contributor

Hi @mmurooka

I think this should be definitely fixed by jrl-umi3218/mc_rtc@1651fa9

@mmurooka
Copy link
Member Author

@gergondet Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants