You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2016/07/19 15:50:20 UTC
[jira] [Updated] (MESOS-5861) Address sanitizer reports SEGV being
passed to bufferevent_write_buffer
[ https://issues.apache.org/jira/browse/MESOS-5861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bannier updated MESOS-5861:
------------------------------------
Attachment: log
Attached output for
{code}
% ./libprocess-tests --gtest_filter='SSLTest.RequireBadCA:SSLTest.SSLSocket:SSLTest.NoVerifyBadCA:SSLTest.VerifyBadCA:SSLTest.VerifyCertificate:SSLTest.ProtocolMismatch:SSLTest.HTTPSGet:SSLTest.HTTPSPost:SSLTest.SilentSocket'
{code}
> Address sanitizer reports SEGV being passed to bufferevent_write_buffer
> -----------------------------------------------------------------------
>
> Key: MESOS-5861
> URL: https://issues.apache.org/jira/browse/MESOS-5861
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Affects Versions: 1.0.0
> Reporter: Benjamin Bannier
> Labels: mesosphere, ssl
> Attachments: log
>
>
> Building mesos with gcc-4.9.3 with
> {code}
> % ../configure --disable-java --disable-python --enable-silent-rules --enable-libevent --enable-ssl
> {code}
> with GCC address sanitizers, e.g., by adding this before the last mention of {{CXXFLAGS}} in {{configure.ac}},
> {code}
> % CXXFLAGS="$CXXFLAGS -fsanitize=address"
> % CCFLAGS="$CCFLAGS -fsanitize=address"
> {code}
> I am seeing reports suggested we pass bad memory to libevent functions from code triggered by
> libprocess' {{SSLTest}}. In particular the following tests fail:
> * {{RequireBadCA}}
> * {{SSLSocket}}
> * {{NoVerifyBadCA}}
> * {{VerifyBadCA}}
> * {{VerifyCertificate}}
> * {{ProtocolMismatch}}
> * {{HTTPSGet}}
> * {{HTTPSPost}}
> * {{SilentSocket}}
> Detailed logs are attached.
> To install gcc-4.9.3 from source one could follow the instructions in the
> configuration section [here](https://gcc.gnu.org/wiki/InstallingGCC), or
> install it from a distribution repository.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)