Skip to content

bench exits with error status 1 (libjudy related?) #7

Open
@SuperFluffy

Description

Trying to compile simhash-cpp, I am running into a couple of issues. The first one is that I am unable to compile test.cpp. The issue is described already in #2.

The other issue is related to bench.cpp. It compiles, but when I am trying to run the executable, I get the following error message:

Inserting 10000000 hashes...
Running 40000000 queries...
Queries complete with 0 errors
There are 9997291 items in the table
File 'simhash.h', line 137: Judy1FreeArray(), JU_ERRNO_* == 9, ID == 113
zsh: exit 1     ./bench 10000000

I have used the following packages for compilation:

judy 1.0.5
g++ 4.9.2
Catch build 53

Any idea what is happening?

EDIT: The JU_ERRNO above corresponds to (from July.h):

// JU_ERRNO_CORRUPT occurs when Judy detects an impossible value in a Judy data
// structure:
//
// Note:  The Judy data structure contains some redundant elements that support
// this type of checking.

        JU_ERRNO_CORRUPT        = 9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions