bro segfaults after compile in MacOS X 10.11 El Capitan

Description

After compile with

And try to execute bro with:

bro segfaults with

Environment

None

Activity

Show:
Johanna Amann
February 23, 2016, 10:50 PM

This is fixed in topic/johanna/openssl in master and cmake.

The branch adds a new configure time check that tests if the OpenSSL headers and libraries match. I tested that this check works and identifies the problem if present.

Furthermore, we switch from our self-made macros of finding OpenSSL to the ones provided by cmake. These do a better job of identifying the correct library and include paths and probably will prevent the error from occurring nearly at all times.

Johanna Amann
February 23, 2016, 11:07 PM

Please note that I pushed a second update to the cmake branch and the bro repository branch does not point to the current submodule commit anymore.

Carlos Terrón
February 29, 2016, 8:49 AM

Hi Johanna

Sorry for the delay

(the binary that segfaults). I'm going to try compile with an openssl library and check that the include headers are not mixed with system ones.

Robin Sommer
March 4, 2016, 4:36 PM
Edited

Is it possible that broccoli needs some tweaking here to? After merging, I get lots of these:

I pushed the cmake merge, without yet moving the submodules (so master won't pull it in yet). Can you try pulling those cmake updates into the all the submodules and see if it compiles fine for you then?

Johanna Amann
March 4, 2016, 7:20 PM

Sorry, this is fixed now.

Could you also merge
topic/johanna/openssl-osx in cmake
topic/johanna/openssl in binpac, broccoli, bro-aux and master (updated there)?

After that everything should build fine.

Assignee

Robin Sommer

Reporter

Carlos Terrón

Labels

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal
Configure