-
Notifications
You must be signed in to change notification settings - Fork 6
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 During PIRProcessDatabase Execution #34
Comments
Can you run this command with
Then, in the
Hopefully, you'll see the crash, and be able to enter
which will return a backtrace of the issue. |
Thank you for your reply. Backtrace:
|
@alexlin-gogolook , thanks for reporting the issue. |
TL;DR:
Here is more information. The following is my environment (it has not changed since I first reported the issue):
Then, before
I tried the latest main branch, but building with My workaround is to copy Then, running
This is the same error as before, so I used the same workaround by generating InputIdentities from code instead of the text format string input. After this, PIRProcessDatabase seems to work correctly. |
Thanks @alexlin-gogolook, seems like one more change is needed: #39 |
@fboemer Thanks this issue was resolved |
Environment
Description
I followed the steps outlined in the TestingInstructions.md. When I executed the command:
I encountered an error. It seems that there is an EXC_BAD_ACCESS happening on line 61 of
ConstructDatabase.swift
at the call toexample.textFormatString()
.To troubleshoot, I commented out the
exampleIdentities
and directly initializedinputIdentities
instead of decoding it from textFormatString. After this change, I was able to generateblock.binpb
andidentity.binpb
.However, when I followed the instructions further and executed:
I encountered the following error:
Any insight into what might be causing the segmentation fault or the initial EXC_BAD_ACCESS would be greatly appreciated!
The text was updated successfully, but these errors were encountered: