-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyKDL bindings on Precise are flaky #41
Comments
I just did some other tests: Using SIP 4.19.7 creates code, but importing the PyKDL library then actually segfaults... |
I have asked the PyQt mailing list, https://www.riverbankcomputing.com/mailman/listinfo/pyqt, for support. |
With the developer of SIP, we have fixed a few bugs in SIP. This will fix both the incorrect data, this issue and #129, and the memory leak of #157. So you can either build The debians are not maintained by the developer of SIP, but the Debian Python Modules Team (DPMT). Once the new SIP release is out, I will request them to update |
Bug report filed on LaunchPad to get python-sip updated to |
In my opinion a new released |
Interesting, are you open to other wrapping libraries? I did some work
wrapping KDL using pybind11 a while ago and it works reasonably well.
https://github.com/zchen24/orocos_kinematics_dynamics/tree/feature/replace-sip-with-pybind11
…On Fri, Feb 7, 2020 at 00:26 Matthijs van der Burgh < ***@***.***> wrote:
In my opinion a new released python-sip is needed to have a new release
of python_orocos_kdl. There is not much happening on LaunchPad
<https://bugs.launchpad.net/ubuntu/+source/sip4/+bug/1861601>, so extra
contributions by all of you is needed to get a new release.
Please contribute: @smits <https://github.com/smits> @traversaro
<https://github.com/traversaro> @mrana6 <https://github.com/mrana6>
@tfoote <https://github.com/tfoote> @zchen24 <https://github.com/zchen24>
@mvieth <https://github.com/mvieth> @luzpaz <https://github.com/luzpaz>
@francisco-miguel-almeida <https://github.com/francisco-miguel-almeida>
@ahoarau <https://github.com/ahoarau> @jbohren
<https://github.com/jbohren>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41?email_source=notifications&email_token=AAVG6T5GT3AODTQYW2ZKESTRBULHZA5CNFSM4AYXZ4Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELCDRTA#issuecomment-583284940>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVG6T6OS5W36NY6ZLLKI5TRBULHZANCNFSM4AYXZ4YQ>
.
|
@zchen24 I cherry-picked your commit and did some extra fixes, but I get a segmentation fault with PyBind11 v2.4.3, see https://travis-ci.com/MatthijsBurgh/orocos_kinematics_dynamics/builds/148004083 |
@MatthijsBurgh Wow, I did not expect that you will just run the continuous integration test on it. 👍 |
Hi @MatthijsBurgh, I have not used orocos_kdl in a long time, but I would be happy to give an hand if it is necessary. However, it is not clear to me how we can help. In particular, I do not think it is possible given how Ubuntu handles its releases to have a package to be update to a completely new version. If you were able to backport the fix as a patch, you could try to start the SRU process (https://wiki.ubuntu.com/StableReleaseUpdates) but even that is quite a long process (see for example ros/urdfdom#119). If you need this fixed in your setups in the short or even medium term, I would suggest to stop using the system |
I have a solution for my own setup. But I would like to come up with a robust solution for the entire ROS community.
|
PR for PyKDL based on PyBind11 is open: #229
|
Sorry, I did not saw this mention back in time. I am not related in any way with the maintenance of the maintenance of debian packages on ROS servers, but think in the past the attitude was to try to avoid to release updated version of packages that are released in Ubuntu repositories in the ROS repositories, to avoid hard to debug conflicts or problems. I remember some discussion on a GitHub issue on this, but I at the moment I can't find it. |
A fixed version of |
Thanks for the hard work @MatthijsBurgh ! |
I guess the next step is to have a new release, @MatthijsBurgh ? |
I'll try to release in the coming days. AFAIU the release is only required to regenerate the python bindings, right? Since we're going with option 1, in which a fixed python-sip will be available during build time? |
We are interested in a new release from master to have #212 in there as well. |
@smits, Yes, new python bindings need to be generated based on the updated PS. in #229 there are some fixes to the SIP version of PyKDL. I could create a separate PR for those commits, so these could be include in this release. Are you open for that? |
@MatthijsBurgh we have to maintain binary compatibility for the existing ROS releases, so I can create a new release to be incorporated into the next ROS release but not for kinetic/melodic etc. unless we try to cherrypick the binary compatible fixes for 1.3 and 1.4 |
I think cherrypicking it all is a lot of work. So just keep it to new python bindings based on the same release. People will just need to build from source, if they want a newer version of (Py)KDL. |
16.04 has reached end-of-life, problem still on 18.04. That requires a re-release of the same version, but with updated sip. |
We've just witnessed the following behavior with the python bindings generated with sip 4.13.2 on Ubuntu Precise:
Digging deeper revealed that the underlying C++ object is correct but that the generation of the Python KDL.Vector object is wrong:
This does not happen with bindings generated with sip 4.15.x on Ubuntu Precise or Trusty:
I currently see no easy way to resolve this on Ubuntu Precise except for updating your sip to 4.15. I personally used the following ppa for that: ppa:pali/kubuntu-backports
The text was updated successfully, but these errors were encountered: