python3-pykdl: PyKDL crashes Python 3 interpretter (SIGABRT) if any API accepting a str is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
orocos-kdl (Debian) |
Fix Released
|
Unknown
|
|||
orocos-kdl (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Groovy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* The package python3-pykdl in focal crashes the Python 3 interpreter if any API accepting a str is used.
* python3-pykdl is used in the ROS robot control software (https:/
* The patch is taken from upstream and uses PyUnicode_AsUTF8, as provided by Python 3.
[Test Case]
$ python3 -c "import PyKDL; PyKDL.Tree(
python3: /build/
Aborted (core dumped)
$ echo $?
134
[Regression Potential]
* The patch is part of upstream git since 2018 [1], Debian bullseye [2] , Ubuntu groovy and has been accepted into Debian buster [3].
* I don't see a regression potential as is basically the utf-8 transition of Python 3.
[1] https:/
[2] https:/
[3] https:/
[Original Description]
Dear Maintainer,
The package python3-pykdl crashes the Python 3 interpreter if any API
accepting a str is used. I've tested this using the latest Focal packages.
Minimal reproducible example:
$ python3 -c "import PyKDL; PyKDL.Tree(
python3: /build/
Aborted (core dumped)
$ echo $?
134
There is a patch fixing this issue in this upstream Debian Buster bug:
https:/
Would you be willing to apply that patch in Ubuntu Focal?
Cheers,
Shane
description: | updated |
Changed in orocos-kdl (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in orocos-kdl (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in orocos-kdl (Ubuntu Groovy): | |
importance: | Undecided → Medium |
Changed in orocos-kdl (Debian): | |
status: | Unknown → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.