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

Stack trace comes up when talker/listener gets stopped by Ctrl-C #148

Open
fujitatomoya opened this issue May 6, 2024 · 0 comments
Open
Assignees

Comments

@fujitatomoya
Copy link
Collaborator

System Info

  • OS
    • Ubuntu 24.04
  • ROS version and installation type
    • Jazzy
  • RTI Connext DDS version and installation type
    • RTI Connext DDS 6.0.1
  • RMW version or commit hash

Bug Description

  • talker
root@51cdd59e1f3e:~# RMW_IMPLEMENTATION=rmw_connextdds ros2 run demo_nodes_cpp talker
RTI Connext DDS Non-commercial license is for academic, research, evaluation and personal use only. USE FOR COMMERCIAL PURPOSES IS PROHIBITED. See RTI_LICENSE.TXT for terms. Download free tools at rti.com/ncl. License issued to Non-Commercial User license@rti.com For non-production use only.
Expires on 00-jan-00 See www.rti.com for more information.
COMMENDSrWriterService_assertRemoteReader:Discovered remote reader with GUID 0X10FEB7D,0X8B07D2FD,0,0X204 using a non-addressable locator.
This can occur if the transport is not installed and/or enabled in the local participant.
See https://community.rti.com/kb/what-does-cant-reach-locator-error-message-mean for additional info.
can't reach: locator: 16://55EB:7D00:0000:0000:0000:0000:0000:0000:7001
can't reach: locator: 17://1000:0000:591B:0000:55EB:7D00:0000:0000:1572911
[INFO] [1714969551.583590475] [talker]: Publishing: 'Hello World: 1'
[INFO] [1714969552.583537959] [talker]: Publishing: 'Hello World: 2'
[INFO] [1714969553.583579876] [talker]: Publishing: 'Hello World: 3'
[INFO] [1714969554.583569184] [talker]: Publishing: 'Hello World: 4'
[INFO] [1714969555.583568272] [talker]: Publishing: 'Hello World: 5'
^C[INFO] [1714969556.260873024] [rclcpp]: signal_handler(signum=2)
[D0200|DELETE Participant] PRESPsService_removeMatchingRemoteEndpoints:!precondition: "me == ((void *)0) || worker == ((void *)0) || remoteGuid == ((void *)0) || !( ((remoteGuid->prefix.hostId == (0x00000000)) && (remoteGuid->prefix.appId == (0x00000000)) && (remoteGuid->prefix.instanceId == (0x00000000)) && (remoteGuid->objectId != (0x00000000))) || ((remoteGuid->prefix.hostId != (0x00000000)) && (remoteGuid->prefix.appId != (0x00000000)) && (remoteGuid->prefix.instanceId != (0x00000000)) && (remoteGuid->objectId == (0x00000000))) )"
        Backtrace:
        #1      ?? ??:0 [0xEE58D2E7]
        #2      ?? ??:0 [0xEE39DF72]
        #3      ?? ??:0 [0xEE37C127]
        #4      ?? ??:0 [0xEE31A650]
        #5      ?? ??:0 [0xEE31B97F]
        #6      ?? ??:0 [0xEE331C19]
        #7      ?? ??:0 [0xEE331801]
        #8      ?? ??:0 [0xEE30BE5F]
        #9      ?? ??:0 [0xEE373BDE]
        #10     ?? ??:0 [0xEF070541]
        #11     ?? ??:0 [0xEF03E1FC]
        #12     ?? ??:0 [0xEF92C9A5]
        #13     ?? ??:0 [0xEF962E0C]
        #14     ?? ??:0 [0xF0DE2833]
        #15     ?? ??:0 [0xF142DB40]
        #16     ?? ??:0 [0xF142DE68]
        #17     ?? ??:0 [0xF13EAB6A]
        #18     ?? ??:0 [0xF142D743]
        #19     ?? ??:0 [0xF142D7F1]
        #20     ?? ??:0 [0xF13EAAA6]
        #21     ?? ??:0 [0xF142D465]
        #22     ?? ??:0 [0x373A642A]
        #23     ?? ??:0 [0x373A50AA]
        #24     ?? ??:0 [0xF0E471CA]
        #25     ?? ??:0 [0xF0E4728B]
        #26     ?? ??:0 [0x373A6235]
[D0200|DELETE Participant] DISCParticipantDiscoveryPlugin_removeRemoteParticipantI:!remove remote endpoints of remote participant: 0X10FEB7D,0X8B07D2FD,0,0X1C1
  • listener
root@51cdd59e1f3e:~# RMW_IMPLEMENTATION=rmw_connextdds ros2 run demo_nodes_cpp listener
RTI Connext DDS Non-commercial license is for academic, research, evaluation and personal use only. USE FOR COMMERCIAL PURPOSES IS PROHIBITED. See RTI_LICENSE.TXT for terms. Download free tools at rti.com/ncl. License issued to Non-Commercial User license@rti.com For non-production use only.
Expires on 00-jan-00 See www.rti.com for more information.
COMMENDSrWriterService_assertRemoteReader:Discovered remote reader with GUID 0X10FEB7D,0X8B07D2FD,0,0X204 using a non-addressable locator.
This can occur if the transport is not installed and/or enabled in the local participant.
See https://community.rti.com/kb/what-does-cant-reach-locator-error-message-mean for additional info.
can't reach: locator: 16://55EB:7D00:0000:0000:0000:0000:0000:0000:7001
can't reach: locator: 17://1000:0000:591B:0000:55EB:7D00:0000:0000:1572911
[INFO] [1714969551.584707811] [listener]: I heard: [Hello World: 1]
[INFO] [1714969552.584379960] [listener]: I heard: [Hello World: 2]
[INFO] [1714969553.584491950] [listener]: I heard: [Hello World: 3]
[INFO] [1714969554.584502076] [listener]: I heard: [Hello World: 4]
[INFO] [1714969555.584480518] [listener]: I heard: [Hello World: 5]
^C[INFO] [1714969571.600229423] [rclcpp]: signal_handler(signum=2)
[D0000|DELETE Participant] PRESPsService_removeMatchingRemoteEndpoints:!precondition: "me == ((void *)0) || worker == ((void *)0) || remoteGuid == ((void *)0) || !( ((remoteGuid->prefix.hostId == (0x00000000)) && (remoteGuid->prefix.appId == (0x00000000)) && (remoteGuid->prefix.instanceId == (0x00000000)) && (remoteGuid->objectId != (0x00000000))) || ((remoteGuid->prefix.hostId != (0x00000000)) && (remoteGuid->prefix.appId != (0x00000000)) && (remoteGuid->prefix.instanceId != (0x00000000)) && (remoteGuid->objectId == (0x00000000))) )"
        Backtrace:
        #1      ?? ??:0 [0x4298D2E7]
        #2      ?? ??:0 [0x4279DF72]
        #3      ?? ??:0 [0x4277C127]
        #4      ?? ??:0 [0x4271A650]
        #5      ?? ??:0 [0x4271B97F]
        #6      ?? ??:0 [0x42731C19]
        #7      ?? ??:0 [0x42731801]
        #8      ?? ??:0 [0x4270BE5F]
        #9      ?? ??:0 [0x42773BDE]
        #10     ?? ??:0 [0x43470541]
        #11     ?? ??:0 [0x4343E1FC]
        #12     ?? ??:0 [0x43CC39A5]
        #13     ?? ??:0 [0x43CF9E0C]
        #14     ?? ??:0 [0x45179833]
        #15     ?? ??:0 [0x457C4B40]
        #16     ?? ??:0 [0x457C4E68]
        #17     ?? ??:0 [0x45781B6A]
        #18     ?? ??:0 [0x457C4743]
        #19     ?? ??:0 [0x457C47F1]
        #20     ?? ??:0 [0x45781AA6]
        #21     ?? ??:0 [0x457C4465]
        #22     ?? ??:0 [0xD8C4C42A]
        #23     ?? ??:0 [0xD8C4B0AA]
        #24     ?? ??:0 [0x451DE1CA]
        #25     ?? ??:0 [0x451DE28B]
        #26     ?? ??:0 [0xD8C4C235]
[D0000|DELETE Participant] DISCParticipantDiscoveryPlugin_removeRemoteParticipantI:!remove remote endpoints of remote participant: 0X10FEB7D,0X8B07D2FD,0,0X1C1

Expected Behavior

No backtrace comes up.

How to Reproduce

Described above.

Workarounds

None

Additional context

osrf/ros2_test_cases#1072

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