eclipse-iceoryx/iceoryx

Race condition in 'PoshRuntime' during shutdown

Closed this issue · 0 comments

Required information

Operating system:
all

Compiler version:
all

Eclipse iceoryx version:
master

Observed result or behaviour:
The keep alive and shutdown preparation thread accesses the m_ipcChannelInterface without locking the corresponding mutex during shutdown.

Expected result or behaviour:
m_ipcChannelInterface locks the corresponding mutex on access.

Conditions where it occurred / Performed steps:
Happens every time on shutdown.

Solution

Use smart_lock!