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

MacOS: test crashes with SegFault #46

Open
mouse07410 opened this issue Aug 7, 2020 · 0 comments
Open

MacOS: test crashes with SegFault #46

mouse07410 opened this issue Aug 7, 2020 · 0 comments

Comments

@mouse07410
Copy link

MacOS 10.15.6, Xcode-11.6. Current master.

$ ./testnoham 
Running tests...
  test_ntruprime_inv_int   ✓
  test_ntruprime_inv_poly  ✓
Segmentation fault: 11

$ lldb ./testnoham
(lldb) target create "./testnoham"
Current executable set to '/Users/ur20980/src/libntru/testnoham' (x86_64).
(lldb) run
error: process exited with status -1 (Error 1)
(lldb) bt
error: invalid thread
(lldb) list
   13  	int main(int argc, char** argv) {
   14  	    printf("Running tests...\n");
   15  	    ntru_set_optimized_impl();   /* normally called by the functions in ntru.h */
   16  	    uint8_t pass = test_poly();
   17  	    pass &= test_ntruprime();
   18  	    pass &= test_ntru();
   19  	    pass &= test_idxgen();
   20  	    pass &= test_bitstring();
   21  	    pass &= test_key();
   22  	    pass &= test_hash();
(lldb) ^D
$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant