You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Bakai (JIRA)" <ji...@apache.org> on 2019/04/25 09:56:00 UTC
[jira] [Created] (MINIFICPP-824) MacOS build uses RocksDB from
brew, if installed, causing segfaults
Daniel Bakai created MINIFICPP-824:
--------------------------------------
Summary: 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
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.
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)