Skip to content

[ros2param] get verb segfaults for string param values that contain non-ASCII characters #176

@hidmic

Description

@hidmic

Bug report

Required Info:

  • Operating System:
  • Installation type:
    • Binary (debs)
  • Version or commit hash:
    • Crystal pre-release.
  • DDS implementation:
    • ADLink OpenSplice 6.9
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

On any node, set a parameter with a string value containing a non-ASCII character:

ros2 param set /talker value 'añd'

Now, attempt to retrieve that same parameter

ros2 param get /talker value

Expected behavior

Either ros2 param get succesfully retrieving the value or ros2 param set complaining about the invalid value. Since wstrings are not fully supported yet (see design proposal), I'm inclined for the latter.

Actual behavior

CLI segfaults.

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