Skip to content

Snappy is built with debug assertions enabled #342

@zcronix

Description

@zcronix

The source files pulled in from google/snappy make use of assert() for debugging, which are expected to be disabled in release builds when following their cmake build process by the presence of -DNDEBUG in the CXXFLAGS.

This flag is not specified for building those files as part of snappy-java. As a result, we discovered (due to a bug in our software) that it is possible to trigger failures of those assertions when using snappy-java, which terminates the process instead of propagating an exception back to Java code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions