Actions
Bug #1225
closedndnsec-keygen should not ever segfault
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
ndnsec-keygen should handle all exceptional cases and gracefully exit. Right now, if osx keychain cannot be unlocked, it segfaults with the error:
libc++abi.dylib: terminating with uncaught exception of type ndn::SecTpmOsx::Error: Fail to initialize keychain ref
Abort trap: 6
Updated by Junxiao Shi over 11 years ago
- Status changed from New to Rejected
I cannot reproduce this bug with commit 5e1288efa66f6a54b80db912dc90442745bdcad3 on OSX 10.9.
# `security unlock-keychain` has not been executed
monaco:ndn-cpp-dev shijunxiao$ ndnsec-keygen ndn:/identity-31439
ERROR: Fail to create a key pair
# An error message is not a segfault.
Please provide more information such as system version and exact command.
Actions