Project

General

Profile

Actions

Bug #1183

closed

ndnsec-keygen trap 5

Added by Junxiao Shi over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/31/2014
Due date:
% Done:

0%

Estimated time:

Description

Platform: OS X 10.9

ndn-cpp-security-tools version: from Macports

monaco:src shijunxiao$ sudo port installed | grep ndn-cpp-security-tools
  ndn-cpp-security-tools @0.1_0 (active)

Error message

monaco:src shijunxiao$ ndnsec-keygen -n shijunxiao@monaco | ndnsec-install-cert -
ERROR: Empty buffer during TLV processing
monaco:src shijunxiao$ ndnsec-keygen -n shijunxiao@monaco
Trace/BPT trap: 5
Actions #1

Updated by Alex Afanasyev over 11 years ago

Can you upgrade your ports and try again? This could be related to an outdated library/security-tools mismatch.

Actions #2

Updated by Junxiao Shi over 11 years ago

Bug persists after reinstalling all related ports.

monaco:~ shijunxiao$ sudo port installed | grep ndn-cpp-security-tools
  ndn-cpp-security-tools @0.1_2 (active)
monaco:~ shijunxiao$ ndnsec-keygen -n shijunxiao@monaco | ndnsec-install-cert -
ERROR: Empty buffer during TLV processing
monaco:~ shijunxiao$ ndnsec-keygen -n shijunxiao@monaco
Segmentation fault: 11
Actions #3

Updated by Alex Afanasyev over 11 years ago

Hmm. I just run exactly the same commands myself and they worked. Are you sure you're running macports command and not something previously installed in /usr/local (or /usr/local/ndn) ?

Actions #4

Updated by Junxiao Shi over 11 years ago

Another similar error message for the same command:

monaco:~ jeraldabraham$ ndnsec-keygen -n /tmp/jeraldabraham
libc++abi.dylib: terminating with uncaught exception of type ndn::SecTpmOsx::Error: Fail to initialize keychain ref
Abort trap: 6

One detail is that we are running this command over ssh, without a graphical session. This is reasonable for a server machine.

Actions #5

Updated by Junxiao Shi over 11 years ago

  • Status changed from New to Rejected

This bug is gone as of commit 5e1288efa66f6a54b80db912dc90442745bdcad3.

Actions

Also available in: Atom PDF