openfheorg / openfhe-python

Official Python wrapper for OpenFHE. Current release is v0.8.8 (released on June 25, 2024).
https://openfheorg.github.io/openfhe-python/html/index.html
BSD 2-Clause "Simplified" License
60 stars 18 forks source link

Segmentation Fault on GenerateLUTViaFunction #85

Closed reneroliveira closed 4 months ago

reneroliveira commented 7 months ago

When trying to run FuncViaSchemeSwitching function from scheme-swithing.py example, the code apparently runs fine, but it throws a segmentation fault at the end. image

By debugging it, the cause of the problem is at the line:

lut = ccLWE.GenerateLUTviaFunction(fp, pLWE)

if i comment the rest of the code after it, segmentation fault still occurs. But if I comment also the above line, no error occurrs!

bpradeep508 commented 5 months ago

When trying to run scheme-swithing.py example, it throws a segmentation fault . Screenshot from 2024-02-09 18-27-35

the below statement creates problem cc = GenCryptoContext(parameters)

yspolyakov commented 4 months ago

These issues have been fixed in #112 All scheme switching examples are now working