Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault in binFHE serial examples #239

Closed
kvgarimella opened this issue Nov 22, 2022 · 1 comment · Fixed by #241
Closed

Segmentation Fault in binFHE serial examples #239

kvgarimella opened this issue Nov 22, 2022 · 1 comment · Fixed by #241
Assignees
Labels
bug Something isn't working Priority: HIGH
Milestone

Comments

@kvgarimella
Copy link

A segmentation fault occurs for the serialization examples for binFHE. Example:

$ ./build/bin/examples/binfhe/boolean-serial-binary
Generating keys.
Done generating all keys.
The cryptocontext has been serialized.
The refreshing key has been serialized.
The key switching key has been serialized.
The secret key sk1 key been serialized.
A ciphertext has been serialized.
The cryptocontext has been deserialized.
The refresh key has been deserialized.
The switching key has been deserialized.
The secret key has been deserialized.
The ciphertext has been deserialized.
Segmentation fault (core dumped)

OS: Ubuntu 20.04.4 LTS
Installation Process: https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/linux.html

@yspolyakov yspolyakov added this to the Release 1.0.1 milestone Nov 24, 2022
@yspolyakov yspolyakov added bug Something isn't working Priority: HIGH labels Nov 24, 2022
@yspolyakov
Copy link
Contributor

The bug affects serialization for any binfhe scenario. The serialization unit tests were not capturing this use case.

@dsuponitskiy Please fix the bug and add Encrypt and EvalBinGate to the binfhe serialization unit tests.

@yspolyakov yspolyakov linked a pull request Nov 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: HIGH
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants