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

Benjamin Bannier commented on MESOS-7583:
-----------------------------------------

Thank you for your report [~ilovezfs]. Do you know what version of the protobuf 
python bindings was used here?

I know the Mesos Homebrew formula uses the bundled protobuf which for its 
version 1.2.0 is protobuf-2.6.1, 
https://github.com/Homebrew/homebrew-core/blob/088b88832e53a012abf006904fc5b381be59e868/Formula/mesos.rb#L115.
 Needed symbols are linked statically into Mesos libraries. Additionally we 
pull in a dependency on protobuf Python bindings with rather lax requirements 
where anything above or at 2.6.1 is fine, 
https://github.com/apache/mesos/blob/de306b5786de3c221bae1457c6f2ccaeb38eef9f/src/python/interface/setup.py.in#L29.
 I suspect we might run into incompatibilities among protobuf versions here, 
and the Mesos Homebrew formula should either always use the system-provided 
protobuf (by specifying something along the lines of 
{{--with-protobuf=Formula\["protobuf"\].prefix}} to {{./configure}}), or by 
tightening the protobuf requirements in the Mesos Python modules. Note that 
currently passing above flag to {{./configure}} does not work reliable if e.g., 
Boost is also in the same prefix, see MESOS-7581.

> _scheduler.so segfault when Mesos is built with Xcode 8.3.2
> -----------------------------------------------------------
>
>                 Key: MESOS-7583
>                 URL: https://issues.apache.org/jira/browse/MESOS-7583
>             Project: Mesos
>          Issue Type: Bug
>          Components: python api
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: ilovezfs
>
> Testing on macOS Sierra 10.12.5.
> Note: This bug does *not* occur if you build Mesos with Xcode 8.2.1 instead 
> of with Xcode 8.3.2.
> The bug affects affects Mesos 1.2.0, and still affects 1.3.0-rc3.
> The crash occurs at run time if you run `python -c "import mesos.native"`
> It appears to be a segfault in _scheduler.so.
> Crash log here: 
> https://gist.github.com/ilovezfs/3a63cf1f2a1ed104f15ac38226ce24d5
> In particular, this is Mesos built with Homebrew 
> (https://github.com/Homebrew/homebrew-core/blob/master/Formula/mesos.rb)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to