Coder Social home page Coder Social logo

Crash on Ubuntu 22.04 about rmw_cyclonedds HOT 3 CLOSED

KeplerC avatar KeplerC commented on August 17, 2024
Crash on Ubuntu 22.04

from rmw_cyclonedds.

Comments (3)

KeplerC avatar KeplerC commented on August 17, 2024

If unset RMW_IMPLEMENTATION=rmw_cyclonedds_cpp, the talker and listener example works perfectly.

This problem is similar to #390. However, it works fine with 20.04 in my case, so I am wondering if this is the problem with Ubuntu 22.04

from rmw_cyclonedds.

clalancette avatar clalancette commented on August 17, 2024

Hm, this is interesting, because I have the same version of rmw_cyclonedds_cpp installed, and I can run the examples just fine.

The error about "Loaning not supported" suggests to me that something weird is going on. Do you happen to have any environment variables about LOAN enabled? Or otherwise have some CycloneDDS configuration in use?

from rmw_cyclonedds.

KeplerC avatar KeplerC commented on August 17, 2024

Hi Thanks for the clarification. I tried to further debug my own code and found the issue:
The cyclonedds retrieved by apt-get is not compatible with the ros:rolling docker image. In my dockerfile, I did not put apt update before apt get, and the cyclone is retrieved from an incompatible build. This problem is resolved by changing image ros:rolling to ubuntu:jammy.

I am not 100% certain why this happens. I am closing this issue since the problem is solved, and I am happy to reopen if further investigation is neede.d

from rmw_cyclonedds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.