aomdv seg fault

21 views
Skip to first unread message

eyasu tadese

unread,
Mar 21, 2026, 10:50:15 AM (11 days ago) Mar 21
to ns-3-users
Protocol: AOMDV
    Run 1/1
assert failed. cond="cur->tid != tag.GetInstanceTypeId ()", msg="Error: cannot add the same kind of tag twice.", file=../src/network/model/packet-tag-list.cc, line=250
terminate called without an active exception

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x000078c7210abe87 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x000078c7210ad7f1 in __GI_abort () at abort.c:79
#2  0x000078c721cbf957 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x000078c721cc5ae6 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x000078c721cc5b21 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x000078c725ccfaa9 in ns3::PacketTagList::Add(ns3::Tag const&) const ()
    at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-network-debug.so
#6  0x000078c725cbd95d in ns3::Packet::AddPacketTag(ns3::Tag const&) const ()
    at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-network-debug.so
#7  0x000078c7299b47bd in ns3::UdpSocketImpl::DoSendTo(ns3::Ptr<ns3::Packet>, ns3::Ipv4Address, unsigned short, unsigned char) ()
    at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-internet-debug.so
#8  0x000078c7299bb02f in ns3::UdpSocketImpl::SendTo(ns3::Ptr<ns3::Packet>, unsigned int, ns3::Address const&) ()
    at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-internet-debug.so
#9  0x000078c72fca6d2b in ns3::aomdv::RoutingProtocol::SendTo(ns3::Ptr<ns3::Socket>, ns3::Ptr<ns3::Packet>, ns3::Ipv4Address) ()
    at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-aomdv-debug.so
#10 0x000078c72fcbf7f5 in ns3::EventImpl* ns3::MakeEvent<void (ns3::aomdv::RoutingProtocol::*)(ns3::Ptr<ns3::Socket>, ns3::Ptr<ns3::Packet>, ns3::Ipv4Address), ns3::aomdv::RoutingProtocol*, ns3::Ptr<ns3::Socket>, ns3::Ptr<ns3::Packet>, ns3::Ipv4Address>(void (ns3::aomdv::RoutingProtocol::*)(ns3::Ptr<ns3::Socket>, ns3::Ptr<ns3::Packet>, ns3::Ipv4Address), ns3::aomdv::RoutingProtocol*, ns3::Ptr<ns3::Socket>, ns3::Ptr<ns3::Packet>, ns3::Ipv4Address)::EventMemberImpl3::Notify() () at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-aomdv-debug.so
#11 0x000078c7254743b0 in ns3::EventImpl::Invoke() () at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-core-debug.so
#12 0x000078c725478178 in ns3::DefaultSimulatorImpl::ProcessOneEvent() ()
    at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-core-debug.so
#13 0x000078c72547862e in ns3::DefaultSimulatorImpl::Run() () at /home/ns3_project/ns-allinone-3.26/ns-3.26/build/libns3.26-core-debug.so
#14 0x00005573e0a0fe64 in RunOneSimulation(ProtocolType, unsigned int, unsigned int, double, unsigned int) ()
#15 0x00005573e0a08f74 in main ()
(gdb)

Tommaso Pecorella

unread,
Mar 21, 2026, 9:30:15 PM (10 days ago) Mar 21
to ns-3-users
We did already answer this question, didn't we?
We already gave the help we could give, and asking again is pretty useless.
Reply all
Reply to author
Forward
0 new messages