Giter Site home page Giter Site logo

Comments (5)

mamoll avatar mamoll commented on June 4, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Did you also recompile Boost with --std=gnu++11? What's the difference between this flag and -std=c++11?

from ompl.

mamoll avatar mamoll commented on June 4, 2024

Original comment by Devin Grady (Bitbucket: fehknt, GitHub: fehknt).


No, Boost was compiled with their default flags (multithreaded), but with gcc4.7. The differences are not much I think, some extensions that GNU adds that technically break spec. The segfault happens with either c++11 or gnu++11.

from ompl.

mamoll avatar mamoll commented on June 4, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Can you test with the latest commit? If your code still crashes, try to find a minimal example and post a backtrace of a debug build.

from ompl.

mamoll avatar mamoll commented on June 4, 2024

Original comment by Devin Grady (Bitbucket: fehknt, GitHub: fehknt).


std=c++11 gave a little more detail in the stacktrace when it segfaulted, the relevant part is:

ompl::base::Planner::~Planner (this=0xe0e300, __in_chrg=) at /home/dkg1/omplapp/ompl/src/ompl/base/Planner.h:258
boost::checked_deleteompl::geometric::KPIECE1 (x=0xe0e300) at /home/dkg1/include/boost/checked_delete.hpp:34

(Verified with latest commit, everything was in Debug except Boost. I'll start looking for simple examples, or construct one.)

from ompl.

mamoll avatar mamoll commented on June 4, 2024

Original comment by Devin Grady (Bitbucket: fehknt, GitHub: fehknt).


Aha, the segfault was in my code, I had two boost pointers to the planner separately constructed from the raw pointer. That was not an OMPL issue.

from ompl.

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.