You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I met a question recently. When I use the same object lcm::LCM lcm to subscribe and publish different channels in the same time, it's easy to cause core dump. e.g.
My test platform is ubuntu 18.04 with x64 architecture. Looking forward to your early reply since lcm is planned to ba applied to our true program. thx!
The text was updated successfully, but these errors were encountered:
Is it possible the segfaults are occurring in the callbacks you're registering? As far as I can tell, the pseudocode you posted should work fine. For example, this Python script:
I met a question recently. When I use the same object
lcm::LCM lcm
to subscribe and publish different channels in the same time, it's easy to cause core dump. e.g."""
lcm::LCM lcm;
lcm.subscribe("channel A", …)
lcm.subscribe("channel B", …)
while(lcm.good())
{
lcm.publish("channel A", …)
lcm.handle();
lcm.publish("channel B", …)
lcm.handle();
}
"""
My test platform is ubuntu 18.04 with x64 architecture. Looking forward to your early reply since lcm is planned to ba applied to our true program. thx!
The text was updated successfully, but these errors were encountered: