Open arrfou99 opened 1 year ago
It reproduces beautifully on macOS even — and it turns out to be solved in 0.10.
@clalancette Could you please let me know if you need me to fix it on 0.9? It might not be worth the bother given that 0.10 is looking good according to https://github.com/ros2/ros2/pull/1404.
@clalancette Could you please let me know if you need me to fix it on 0.9? It might not be worth the bother given that 0.10 is looking good according to ros2/ros2#1404.
The main reason to consider fixing it in 0.9 is for Humble, which will stay on the 0.9 series for its lifetime. If it is a relatively easy fix to backport to 0.9, I would say it is worthwhile. If it is more complicated, then we probably need to see if someone from the community has time to debug and fix it there. Does that make sense?
@clalancette Yep, that sounds sensible. I'll have a look.
Spoke too soon 😡
It is broken in all versions, including master. The crash was avoided in the more recent ddsperf
because of some other detail ... I'll deal with it on master first, then backport that fix to 0.9 & 0.10.
@arrfou99 The bug that caused the crash in ddsperf
is fixed (in 0.9.x, 0.10.x and master). You also mention something about your own program and as there is always a risk that there is another bug that just happens to give the same symptoms, I'd like a confirmation before I close this ticket as "fixed".
There is unexpected behavior when running iox-roudi with shared memory enabled. Demo cpp loaned messages works okay but it does not work properly if we run multiple time and close. With ddsperf if we do ctrl-c it gives a segmentation fault. Also, the same behavior in my program.
Bug report
Required Info:
Steps to reproduce issue
open terminal #1
$ ddsperf -L -TOU -D10 pub sub
Expected behavior
pup/sub with shared memory
Actual behavior
Additional information
here is the used cyclonedds.xml