Skip to content

Segmentation fault caused by conflict between ion-kit and ROS Client Library in spdlog usage #331

Description

@Fixstars-momoko

A segmentation occurs at the end of a program when using ion-kit with the rcl in a C++ environment.

Both ion-kit and rcl utilize the spdlog::logger class and this caused ion-kit tries to access the logger instance after rcl cleans it up.

Tentatively we disabled the use of spdlog::logger by set_level, and we can test the change of the spdlog:logger in ion-kit to a local instance to avoid this conflict. Further testing is required to confirm if this solution effectively resolves this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions