iceoryx
iceoryx copied to clipboard
When using this library for shared memory communication in docker, I often encounter the following error and then crash
Required information
Operating system: Ubuntu 20.04 LTS
Compiler version: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Eclipse iceoryx version:
master
branch
Observed result or behaviour: 2024-01-19 07:25:21.418 [Error]: Condition: has_value() in T& iox::optional<T>::value() & [with T = iox::posix::UnnamedSemaphore] is violated. (/iceoryx/iceoryx_hoofs/vocabulary/include/iox/detail/optional.inl:242) 2024-01-19 07:25:21.418 [Error]: ICEORYX error! EXPECTS_ENSURES_FAILED terminate called without an active exception
[2024.01.19-08.05.22:92024-01-19 08:05:22.970 [Error]: Condition: ptr != nullptr in T* iox::RelativePointer<T>::operator->() const [with T = iox::mepoo::ChunkManagement] is violated. (/iceoryx/iceoryx_hoofs/memory/include/iox/detail/relative_pointer.inl:106) 2024-01-19 08:05:22.970 [Error]: ICEORYX error! EXPECTS_ENSURES_FAILED
Expected result or behaviour: When using this library, do not crash when encountering an error, so that external programs can catch exceptions or provide solutions.
Conditions where it occurred / Performed steps: When using k8s to deploy multiple docker images containing the iceoryx library