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

unit tests shutdown issues #135

Closed
anindex opened this issue Aug 4, 2018 · 0 comments
Closed

unit tests shutdown issues #135

anindex opened this issue Aug 4, 2018 · 0 comments

Comments

@anindex
Copy link
Contributor

anindex commented Aug 4, 2018

Description
The unit tests successfully generate results. However, they do not shutdown correctly because of suspected issue as deadlock of mutexes.

Issue reproduction on Ubuntu 16.04:

[ OK ] ExampleTest.PlaneEstimatorTest (466 ms)
[----------] 2 tests from ExampleTest (1367 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (1367 ms total)
[ PASSED ] 2 tests.
Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion 'map->l_init_called' failed!

Issue reproduction on Ubuntu 18.04:

[ OK ] ExampleTest.PlaneEstimatorTest (801 ms)
[----------] 2 tests from ExampleTest (2013 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (2014 ms total)
[ PASSED ] 2 tests.
terminate called after throwing an instance of > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error >'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Aborted (core dumped)`

@bbferka bbferka mentioned this issue Jul 2, 2019
bbferka added a commit that referenced this issue Jul 2, 2019
* changes to how RSProcessManage is constructed (no more init function)

* a bit of cleanup in the code

* fix #169 and #135
@bbferka bbferka closed this as completed Jul 2, 2019
bbferka added a commit that referenced this issue Jul 3, 2019
* changes to how RSProcessManage is constructed (no more init function)

* a bit of cleanup in the code

* fix #169 and #135
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants