Skip to content

πŸ§‘β€πŸŒΎ Segmentation fault in rclpy test_client and test_serviceΒ #1508

@Crola1702

Description

@Crola1702

Generated by Generative AI

Using Claude 4

Operating System:

Ubuntu Noble

ROS version or commit hash:

Rolling

RMW implementation (if applicable):

rmw_connextdds

RMW Configuration (if applicable):

No response

Client library (if applicable):

rclpy

'ros2 doctor --report' output

ros2 doctor --report
<COPY OUTPUT HERE>

Steps to reproduce issue

  1. Run a build in Rolling Nightly Connext
  2. See test regression fail

Expected behavior

Test should pass

Actual behavior

Test is failing

Additional information

Reference builds:

Test regressions:

Flaky ratio:

job_name last_fail first_fail build_count failure_count failure_percentage
Rci__nightly-connext_ubuntu_noble_amd64 2025-09-26 2025-09-16 12 10 83.33

Log output:

Fatal Python error: Segmentation fault

Thread 0x00007902f6b20080 (most recent call first):
  File "/tmp/ws/src/ros2/rclpy/rclpy/rclpy/service.py", line 130 in destroy
  File "/tmp/ws/src/ros2/rclpy/rclpy/rclpy/node.py", line 1969 in destroy_service
  File "/tmp/ws/src/ros2/rclpy/rclpy/test/test_client.py", line 151 in test_concurrent_calls_to_service

Root Cause Location

  • File: rclpy/service.py
  • Line: 130 in destroy() method
  • Context: Called from node.py:1969 in destroy_service()
  • Test: test_client.py:151 in test_concurrent_calls_to_service

Metadata

Metadata

Assignees

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