Skip to content

Server crash with bad descriptor data #92

@prashastk

Description

@prashastk

Some bug in my code added descriptor blobs which had gone through the following transformations:

np_blob = a 64 dim np float32 array
blob = np.frombuffer(np_blob.tobytes()).tobytes()

After this blob becomes a 32 dim np.float array.

Issue 1 - AddDescriptor for a 64 dim set worked fine with this blob
Issue 2 - A FindDescriptor query with k_neighbors crashes the server:
Server log

vdms: src/property.cc:44: PMGD::Property::Property(const PMGD::Property&): Assertion `0' failed.

Metadata

Metadata

Assignees

Labels

BugIndicates unexpected or undesired behaviors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions