[Nfd-dev] nfd segmentation fault

Gusev, Peter peter at remap.ucla.edu
Sun Jul 3 18:47:59 PDT 2016


Hi all,

After some manipulations with the system (don’t recall what exactly - moving around boost libraries, updating to El Captain, re-installing ndn-cxx) I no longer can launch NFD:

nfd-start
/usr/local/bin/ndnsec-install-cert: line 4: 54673 Segmentation fault: 11  (core dumped) `dirname "$0"`/ndnsec cert-install "$@"
/usr/local/bin/ndnsec-keygen: line 4: 54674 Segmentation fault: 11  (core dumped) `dirname "$0"`/ndnsec key-gen "$@"
$ nfd --version
Segmentation fault: 11
$ ndnsec version
0.4.1
$ ndnsec list
Segmentation fault: 11

Tried to revert changes (migrated Ports to El Captain, making sure boost libraries are in /opt/local/lib, rebuilt/reinstalled ndn-cxx-0.4.1 and NFD-0.4.1), with no effect - still the same problem.

Before digging deeper, just wanted to check-in with people in this mailing list, whether they experienced anything like this before.
Here’s the core dump from the "nfd-start” crash:

* thread #1: tid = 0x0000, 0x00007fff8f531638 libc++.1.dylib`std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 14, stop reason = signal SIGSTOP
  * frame #0: 0x00007fff8f531638 libc++.1.dylib`std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 14
    frame #1: 0x0000000107c6f411 nfd`boost::program_options::typed_value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>::notify(boost::any const&) const + 97
    frame #2: 0x0000000108156319 libboost_program_options-mt.dylib`boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool) + 1353
    frame #3: 0x0000000107c6332d nfd`main + 493
    frame #4: 0x00007fff8f8a25ad libdyld.dylib`start + 1
    frame #5: 0x00007fff8f8a25ad libdyld.dylib`start + 1


Possibly, something with libc++/libstdc++ libraries mismatch...

Thanks,

--
Peter Gusev

peter at remap.ucla.edu<mailto:peter at remap.ucla.edu>
+1 213 5872748
peetonn_ (skype)

Software Engineer/Programmer Analyst @ REMAP UCLA

Video streaming/ICN networks/Creative Development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160704/82521b3d/attachment.html>


More information about the Nfd-dev mailing list