Public bug reported:

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://bitbucket.org/osrf/sdformat/issue/63/gzsdf-segfaults-in-trusty

[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://github.com/ros/rosdistro/issues/4933. 

[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/include/sdformat-1.4 test.cc -lsdformat -o test
 * ./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 goes worst. 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

** Affects: sdformat (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: trusty

** Attachment added: "fixed_joint_reduction_visual.urdf"
   
https://bugs.launchpad.net/bugs/1338845/+attachment/4147718/+files/fixed_joint_reduction_visual.urdf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1338845

Title:
  [SRU] sdformat on Trusty crash due to a bug in debian patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sdformat/+bug/1338845/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to