[ 
https://issues.apache.org/jira/browse/MINIFICPP-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Bakai updated MINIFICPP-824:
-----------------------------------
    Description: 
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.

  was:
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 version is _very_ incompatible.)

After RocksDB was uninstalled from brew, and minifi was rebuilt, the test ran 
correctly.

This might affect other platforms as well.


> 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
>            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)

Reply via email to