terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' what(): Field cannot be repeated Program received signal SIGABRT, Aborted. 0x00007fffe99bd428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007fffe99bd428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007fffe99bf02a in __GI_abort () at abort.c:89 #2 0x00007fffea30084d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007fffea2fe6b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007fffea2fe701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007fffea2fe919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff661e22b in boost::throw_exception > (e=...) at /usr/include/boost/throw_exception.hpp:69 #7 0x00007ffff661db49 in boost::exception_detail::throw_exception_ (x=..., current_function=0x7ffff6abdcc0 >(ndn::lp::FieldDecl::ValueType const&)::__PRETTY_FUNCTION__> "ndn::lp::Packet& ndn::lp::Packet::$ dd(const typename FIELD::ValueType&) [with FIELD = ndn::lp::FieldDecl; typename FIELD::ValueType = lon"..., file=0x7ffff6abdae8 "ns3/ndnSIM/ndn-cxx/lp/packet.hpp", line=156) at /usr/include/boost/throw_exception.hpp:86 #8 0x00007ffff661d6cc in ndn::lp::Packet::add > (this=0x7fffffffaf20, value=@0x7fffffffaee0: 3) at ns3/ndnSIM/ndn-cxx/lp/packet.hpp:156 #9 0x00007ffff661c584 in ns3::ndn::NetDeviceTransport::receiveFromNetDevice (this=0x7c1d00, device=..., p=..., protocol=30583, from=..., to=..., packetType=ns3::NetDevice::PACKET_BROADCAST) at ../src/ndnSIM/model/ndn-net-device-transport.cpp:128 #10 0x00007ffff661ef53 in ns3::MemPtrCallbackImpl, ns3::Ptr, unsigned short, ns3::Address const&, ns3: :Address const&, ns3::NetDevice::PacketType), void, ns3::Ptr, ns3::Ptr, u ---Type to continue, or q to quit--- nsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x7c36a0, a1=..., a2=..., a3=30583, a4=..., a5=..., a6=ns3::NetDevice::PACKET_BROADCAST) at ./ns3/callback.h:662 #11 0x00007fffef539b54 in ns3::Callback, ns3::Ptr, unsigne d short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3:: empty>::operator() (this=0x7c3718, a1=..., a2=..., a3=30583, a4=..., a5=..., a6=ns3::NetDevice::PACKET_BROADCAST) at ./ns3/callback.h:1341 #12 0x00007fffed725d0c in ns3::Node::ReceiveFromDevice (this=0x6c2df0, device=..., packet=..., protocol=30583, from=..., to=..., packetType=ns3::NetDevice::PACKET_BROADCAST, promiscuous=true) at ../src/network/model/node.cc:324 #13 0x00007fffed72517c in ns3::Node::PromiscReceiveFromDevice (this=0x6c2df0, device=..., packet=..., protocol=30583, from=..., to=..., packetType=ns3::NetDevice::PACKET_BROADCAST) at ../src/network/model/node.cc:289 #14 0x00007fffed72e289 in ns3::MemPtrCallbackImpl, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::Packe tType), bool, ns3::Ptr, ns3::Ptr, unsigned short, ns3::Address const&, ns 3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty>::operator() ( this=0x7c36d0, a1=..., a2=..., a3=30583, a4=..., a5=..., a6=ns3::NetDevice::PACKET_BROADCAST) at ./ns3/callback.h:662 #15 0x00007ffff71e5c60 in ns3::Callback, ns3::Ptr, unsigne d short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3:: empty>::operator() (this=0x760e20, a1=..., a2=..., a3=30583, a4=..., a5=..., a6=ns3::NetDevice::PACKET_BROADCAST) at ./ns3/callback.h:1341 #16 0x00007ffff425ef28 in ns3::WifiNetDevice::ForwardUp (this=0x760dd0, packet=..., from=..., to=...) at ../src/wifi/model/wifi-net-device.cc:424 #17 0x00007ffff4269d8f in ns3::MemPtrCallbackImpl to continue, or q to quit--- , ns3::Mac48Address, ns3::Mac48Address), void, ns3::Ptr, ns3::Mac48Address, ns3::M ac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() ( this=0x765f00, a1=..., a2=..., a3=...) at ./ns3/callback.h:629 #18 0x00007ffff421c3a9 in ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, n s3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x7611b0, a1=..., a2=..., a3=...) at ./ns3/callback.h:1308 #19 0x00007ffff42139af in ns3::RegularWifiMac::ForwardUp (this=0x7610e0, packet=..., from=..., to=...) at ../src/wifi/model/regular-wifi-mac.cc:883 #20 0x00007ffff425ad3c in ns3::AdhocWifiMac::Receive (this=0x7610e0, packet=..., hdr=0x7fffffffc2b0) at ../src/wifi/model/adhoc-wifi-mac.cc:210 #21 0x00007ffff4223656 in ns3::MemPtrCallbackImpl, ns3::WifiMacHeader const*), void, ns3::Ptr, ns3::WifiMacHeader const*, ns3::em pty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x761320, a1=..., a2=0x7fffffffc2b0) at ./ns3/callback.h:620 #22 0x00007ffff41b36ad in ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x761308, a1=..., a2=0x7fffffffc2b0) at ./ns3/callback.h:1299 #23 0x00007ffff41d1f93 in ns3::MacRxMiddle::Receive (this=0x7612a0, packet=..., hdr=0x7fffffffc2b0) at ../src/wifi/model/mac-rx-middle.cc:337 #24 0x00007ffff470a2fd in ns3::MemPtrCallbackImpl, void (ns3::MacRxMiddle::*)(ns3 ::Ptr, ns3::WifiMacHeader const*), void, ns3::Ptr, ns3::WifiMacHeader const*, ns3: :empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() ( this=0x762640, a1=..., a2=0x7fffffffc2b0) at ./ns3/callback.h:620 #25 0x00007ffff41b36ad in ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x7613d0, a1=..., a2=0x7fffffffc2b0) at ./ns3/callback.h:1299 ---Type to continue, or q to quit--- #26 0x00007ffff41983b1 in ns3::MacLow::ReceiveOk (this=0x7613a0, packet=..., rxSnr=2.3232769846103158, txVector=..., ampduSubframe=false) at ../src/wifi/model/mac-low.cc:1151 #27 0x00007ffff41aac97 in ns3::MacLow::DeaggregateAmpduAndReceive (this=0x7613a0, aggregatedPacket=..., rxSnr=2.3232769846103158, txVector=...) at ../src/wifi/model/mac-low.cc:2651 #28 0x00007ffff41bd483 in ns3::MemPtrCallbackImpl, double, ns3::WifiTxVector), void, ns3::Ptr, double, ns3::WifiTxVector, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x765ea0, a1=..., a2=2.3232769846103158, a3=...) at ./ns3/callback.h:629 #29 0x00007ffff4155990 in ns3::Callback, double, ns3::WifiTxVector, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x765cc0, a1=..., a2=2.3232769846103158, a3=...) at ./ns3/callback.h:1308 #30 0x00007ffff41531b4 in ns3::WifiPhyStateHelper::SwitchFromRxEndOk (this=0x765bd0, packet=..., snr=2.3232769846103158, txVector=...) at ../src/wifi/model/wifi-phy-state-helper.cc:451 #31 0x00007ffff412e543 in ns3::WifiPhy::EndReceive (this=0x765890, packet=..., preamble=ns3::WIFI_PREAMBLE_LONG, mpdutype=ns3::NORMAL_MPDU, event=...) at ../src/wifi/model/wifi-phy.cc:2579 #32 0x00007ffff413eeef in ns3::EventImpl* ns3::MakeEvent, ns3:: WifiPreamble, ns3::MpduType, ns3::Ptr), ns3::WifiPhy*, ns3::Ptr , ns3::WifiPreamble, ns3::MpduType, ns3::Ptr >(void (ns3::WifiPhy::*)(ns3::P tr, ns3::WifiPreamble, ns3::MpduType, ns3::Ptr), ns3::WifiPhy*, ns3::Ptr, ns3::WifiPreamble, ns3::MpduType, ns3::Ptr)::EventMe mberImpl4::Notify() (this=0x78aeb0) at ./ns3/make-event.h:505 #33 0x00007fffecfafc2f in ns3::EventImpl::Invoke (this=0x78aeb0) at ../src/core/model/event-impl.cc:51 #34 0x00007fffecfb50bf in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x6c2d10) at ../src/core/model/default-simulator-impl.cc:149 #35 0x00007fffecfb54d3 in ns3::DefaultSimulatorImpl::Run (this=0x6c2d10) ---Type to continue, or q to quit--- at ../src/core/model/default-simulator-impl.cc:202 #36 0x00007fffecfb0e63 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:230 #37 0x0000000000414f93 in ns3::main (argc=2, argv=0x7fffffffe3f8) at ../scratch/ndn-line-topo-random-mobility.cc:199 #38 0x0000000000416488 in main (argc=2, argv=0x7fffffffe3f8) at ../scratch/ndn-line-topo-random-mobility.cc:210