[SRU] sdformat on Trusty crash due to a bug in debian patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sdformat (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
Using the version of sdformat library from Trusty (1.4.11-1) will make the applications using it to abort (core dumped) under certain circumstances in the input file. The problem is in the patch applied in Debian.
Upstream bug:
https:/
[Impact]
* Unfortunately, it is affecting what is probably the most extensive open source robotics framework (ROS - Robot operative system) community and a show stopper for their LTS next release. The bug is marked as critical. https:/
[Development version]
The problem does not affect to the version in Utopic since the current patch works fine with the liburdfdom version in Utopic.
[Test Case]
* apt-get install libsdformat-dev
* Attached to this bug will be an .urdf file, download it using wget.
* Attached to this bug will be a test.cc file. Download it in the same directory than urdf
* g++ -I/usr/
* ./test < ... invalid pointer ... >
[Regression Potential]
* The proposed solution is removing part of the patch introduced in debian which is only triggered under certain circunstances. These circunstances now lead to a segfault, so situation can not virtually go worse. This patch (and a testing package) has been released, tested and is now in use by the ROS framework users, which should lead us to minimize regressions.
[Other Info]
* None
Attached is the debdiff needed to solve the problem described in the bug.