Skip to content

Ros2 run doesn't indicate a segfault when it occurs. #601

Closed

Description

@amussell

Bug report

ros2 run doesn't print that a segfault occurred when one occurs making it look like the program just exited.
Required Info:

  • Operating System:
    Ubuntu 20.04
  • Installation type:
    apt
  • Version or commit hash:
    foxy
  • DDS implementation:
    default
  • Client library (if applicable):
    rclcpp

Steps to reproduce issue

Run a program that segfualts with ros2 run.

Expected behavior

It should print a segmentation fault (core dump) when a segfault occurs.

Activity

  1. audrow commented on Mar 12, 2021

    @audrow
    Member

    I was able to confirm this behavior.

    @amussell, feel free to open a PR for this and ping me as a reviewer.

  2. added
    help wanted
    on Mar 12, 2021
  3. fujitatomoya commented on Sep 7, 2021

    @fujitatomoya
    Collaborator

    @audrow @amussell

    #639 can fix the problem and it's been merged. i will close this issue, feel free to open another ticket if we still have the problem.

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

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions