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

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

Sorry I missed the notification – was all you wrote the case for BUILD_ROCKSDB 
on or OFF? We have that flag so that if a consumer has RocksDB they may build 
anyway, otherwise we favor what exists within the repos. The same conditional 
can exist in tests, but it may make sense to move those tests to the extension 
directory and just have the conditional one place if we can, that way the 
inclusion directory isn't in two places. 

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

Reply via email to