You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mr TheSegfault (JIRA)" <ji...@apache.org> on 2019/04/25 10:54:00 UTC

[jira] [Commented] (MINIFICPP-824) MacOS build uses RocksDB from brew, if installed, causing segfaults

    [ https://issues.apache.org/jira/browse/MINIFICPP-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825957#comment-16825957 ] 

Mr TheSegfault commented on MINIFICPP-824:
------------------------------------------

Are we properly setting the root dir when calling find rocksdb?

> MacOS build uses RocksDB from brew, if installed, causing segfaults
> -------------------------------------------------------------------
>
>                 Key: MINIFICPP-824
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-824
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Daniel Bakai
>            Assignee: Daniel Bakai
>            Priority: Major
>
> If RocksDB is installed from brew, libminifi/test/rocksdb-tests/RepoTests segfaults, because of a wrong call to rocksdb::DBImpl's destructor (instead of the destructor, an another member function is called).
> It seems like somehow the shipped and the system versions mix up, probably causing an ODR violation and ultimately the segfault. (Or the version shipped in brew is _very_ incompatible.)
> After RocksDB was uninstalled from brew, and minifi was rebuilt, the test ran correctly.
> This might affect other platforms as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)