I'm trying to run the openrave production branch on OS X, but I'm running into segmentation faults. I made the following changes to the tree to get it to compile: After compiling and installing I ran: python -v /usr/local/bin/openrave.py It now appears to crash when python attempts to load openravepy_int.so:
Here is the full output: I'm using homebrew and I've installed the homebrew version of python, as you can see from the /usr/local/Cellar/python path. I initially had some issues where the default python and related libraries were being picked up by openrave, but I believe those issues are resolved. I also rebuilt boost (with python) from source to make sure it picks up the correct version of python:
After fixing all of those I'm not sure how to resolve the next issue with the .so segmentation fault. I'd appreciate any help. Cheers! Andrew Hundt Robotics Engineer National Robotics Engineering Center Carnegie Mellon University Work: 412-204-7250
Personal: 908-720-5501 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Openrave-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openrave-users |
Administrator
|
thanks for the pull request! i wrote some comments. as for the segfault, can you try "ldd" on the so file and see if it is pulling in the right libraries.2014-03-18 13:39 GMT-07:00 Andrew Hundt <[hidden email]>:
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Openrave-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openrave-users |
Thanks for the help and comments, I added a reply. It appears the source of the problem might be in a call to osg or perhaps osg itself? If I try to simply execute "openrave" on the command line in lldb (equivalent to gdb) I get the following output:
Here are the results of otool -L, the mac equivalent to ldd. While Boost says it is 0.0.0 the real version is 1.55. openrave executable:
openravepy_int.so:
Cheers! Andrew Hundt Robotics Engineer National Robotics Engineering Center
Carnegie Mellon University Work: 412-204-7250 Personal: 908-720-5501 On Tue, Mar 18, 2014 at 10:56 PM, Rosen Diankov <[hidden email]> wrote:
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Openrave-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openrave-users |
Administrator
|
i see, in that case it's not a python issue but an OSG issue. in qtosgrave plugin, there's a lineosg::ArgumentParser arguments(0, NULL); thanks, rosen, 2014-03-18 20:16 GMT-07:00 Andrew Hundt <[hidden email]>:
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Openrave-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openrave-users |
Free forum by Nabble | Edit this page |