[
https://issues.apache.org/jira/browse/MESOS-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15712936#comment-15712936
]
Benjamin Bannier commented on MESOS-6658:
-----------------------------------------
Added a move ctr and move assignment operator to {{Owned}}, and then
{{std::move}}'ing the {{Owned<DynamicLibrary>}} into the storage map inside the
body of {{ModuleManager::loadManifest}} was not enough to make this problem go
away. It might be worthwhile to look into related upstream issues such as e.g.,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60731 or
https://sourceware.org/bugzilla/show_bug.cgi?id=17833 (there are more).
> Mesos tests generated with cmake build fail to unload libraries properly
> ------------------------------------------------------------------------
>
> Key: MESOS-6658
> URL: https://issues.apache.org/jira/browse/MESOS-6658
> Project: Mesos
> Issue Type: Bug
> Components: cmake, tests
> Affects Versions: 1.2.0
> Reporter: Benjamin Bannier
> Assignee: Joseph Wu
> Labels: mesosphere
>
> A default cmake build created from {{ec0546e}} creates a {{mesos-tests}}
> which cannot unload dependency without an error,
> {code}
> $ ./src/mesos-tests --gtest_filter=''
> Source directory: /vagrant
> Build directory: /home/vagrant/mesos
> Note: Google Test filter =
> [==========] Running 0 tests from 0 test cases.
> [==========] 0 tests from 0 test cases ran. (0 ms total)
> [ PASSED ] 0 tests.
> Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion
> `map->l_init_called' failed!
> {code}
> This problem appears e.g., ubuntu-14.04 with cmake-2.8.12, but also on
> debian-8, or ubuntu-16.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)