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 11:01:00 UTC
[jira] [Comment Edited] (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 edited comment on MINIFICPP-824 at 4/25/19 11:00 AM:
--------------------------------------------------------------------
Are we properly setting the root dir when calling find rocksdb?
The only reason we allowed the system link was to reduce build time if I recall – not sure that's worth it.
was (Author: phrocker):
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)