Skip to content
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

sr_robot_lib test is failing #26

Open
toliver opened this issue Dec 13, 2013 · 0 comments
Open

sr_robot_lib test is failing #26

toliver opened this issue Dec 13, 2013 · 0 comments

Comments

@toliver
Copy link
Contributor

toliver commented Dec 13, 2013

At some point we need to fix this test.

I've spent some time investigating and I've found that the test fails when it's destroying the SrMotorHandLib object.
The crash is a
''pure virtual function called"

It is happening when an object of the class
self_test::TestRunner
is destroyed. The package self_test (http://wiki.ros.org/self_test) is not part of our code base.

This object is created in the sr_self_test package (as the SrTestRunner inherits from it).

The crash appears to be happening when a ros::ServiceServer inside TestRunner is destroyed.

It needs further investigation.

The crash can be easily reproduced by running the test in GDB, and calling it using the text option:

rostest --text sr_robot_lib motor_updater.test

I've tested that by merely instantiating an object of class self_test::TestRunner and subsequently destroying it, the crash happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant