[
https://issues.apache.org/jira/browse/MESOS-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15748851#comment-15748851
]
Benjamin Bannier commented on MESOS-6658:
-----------------------------------------
Not sure if you got any closer to a proper solution [~kaysoky], in the end the
whole schlamassel seems to be due to a combination of destructors being called
too late and dynamically loaded libraries.
I posted a possible fix [here|https://reviews.apache.org/r/54753/], should we
go from there with you as shepherd?
> 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)