Comments (4)
Closing this since it looks like an issue in a layer above iceoryx
from iceoryx.
@sgf201 the backtrace looks weird. I'm not sure if this is related to iceoryx itself or to the integration in CycloneDDS or something on the user side.
One scenario for an segmentation fault is when the shared memory segment for the publisher is not mapped into the application. But my memory can also deceive me and we might have a check for that.
Can you check if the application runs under the same POSIX user as RouDi or if not if there is a shared memory segment with the POSIX user of the application configured in the roudi_config.toml
?
from iceoryx.
@sgf201 the backtrace looks weird. I'm not sure if this is related to iceoryx itself or to the integration in CycloneDDS or something on the user side.回溯看起来很奇怪。我不确定这是否与iceoryx本身有关,还是与CycloneDDS中的集成有关,或者与用户端的其他内容有关。
One scenario for an segmentation fault is when the shared memory segment for the publisher is not mapped into the application. But my memory can also deceive me and we might have a check for that.分段故障的一种情况是发布者的共享内存段未映射到应用程序中。但我的记忆也会欺骗我,我们可能会对此进行检查。
Can you check if the application runs under the same POSIX user as RouDi or if not if there is a shared memory segment with the POSIX user of the application configured in the
roudi_config.toml
?您能否检查应用程序是否在与 RouDi 相同的 POSIX 用户下运行,或者如果不是,是否与 中配置的应用程序的 POSIX 用户共享内存段roudi_config.toml
?
all apps runs under the same POSIX user, and I have checked the roudi log, there is no warning or error info.anther info is the "ros2 topic echo msg" works well. the content shows out.
from iceoryx.
@sgf201 in this case it might be an issue in the RMW implementation. I know that zero copy is restricted to some use cases. Maybe your use case is also a restricted one. I think the Cyclone DDS developer can tell you more about it.
from iceoryx.
Related Issues (20)
- ThreadSafePolicy:lock fail HOT 1
- Fine grained qualitvy level for components in iceoryx_hoofs
- iox_shm_open no such file or directory -> POSH__SHM_APP_MAPP_ERR HOT 7
- Activate clang-tidy for all the code in iceoryx_hoofs
- Add an 'iox1' prefix to all resources created by 'iceoryx_posh' and 'RouDi' HOT 1
- Test Fixtures for RouDi HOT 2
- Gateway: Support Client/Server in GatewayGeneric HOT 4
- Race condition in 'PoshRuntime' during shutdown
- mutex owner died -> POPO__CHUNK_LOCKING_ERROR HOT 17
- RouDi-GTest Multithread Integration Test HOT 1
- Wrong memory order in MpmcLoFFLi fence synchronization
- Iceoryx support fast-dds HOT 1
- 'NamedPipe' should be more robust
- Listener addEvent deadlock HOT 1
- ChunkHeader should expose the size of the entire user payload section, including padding HOT 6
- Explore cmake object libs for modules iceoryx hoofs HOT 1
- Problems with multiple "persistent" publishers on the same topic at subscriber startup HOT 3
- ssize_t: redefinition; different basic types HOT 3
- Generated files cause recompilation even without any changes HOT 2
- IPC channel still there, doing an unlink of instanceName HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iceoryx.