user1@user1:~/ns-allinone-3.19/ns-3.19$ ./waf --run pmip6-wifi --command-template="gdb --args %s <agrs>"
Waf: Entering directory `/home/user1/ns-allinone-3.19/ns-3.19/build'
Waf: Leaving directory `/home/user1/ns-allinone-3.19/ns-3.19/build'
'build' finished successfully (1.284s)
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /home/abdelwahed/ns-allinone-3.19/ns-3.19/build/scratch/pmip6-wifi...done.
(gdb) run
Starting program: /home/abdelwahed/ns-allinone-3.19/ns-3.19/build/scratch/pmip6-wifi \<agrs\>
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb43561df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb4359825 in __GI_abort () at abort.c:91
#3 0xb45e513d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#4 0xb45e2ed3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb45e2f0f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb5b0b017 in ns3::PacketTagList::Add (this=0x81180a4, tag=...) at ../src/network/model/packet-tag-list.cc:251
#7 0xb5afa7dc in ns3::Packet::AddPacketTag (this=0x8118080, tag=...) at ../src/network/model/packet.cc:844
#8 0xb69a092e in ns3::TunnelNetDevice::Send (this=0x8116b40, packet=..., dest=..., protocolNumber=34525) at ../src/pmip6/model/tunnel-net-device.cc:351
#9 0xb651141f in ns3::Ipv6Interface::Send (this=0x80efe78, p=..., dest=...) at ../src/internet/model/ipv6-interface.cc:425
#10 0xb654144d in ns3::Ipv6L3Protocol::SendRealOut (this=0x80a2150, route=..., packet=..., ipHeader=...) at ../src/internet/model/ipv6-l3-protocol.cc:994
#11 0xb653ddd2 in ns3::Ipv6L3Protocol::Send (this=0x80a2150, packet=..., source=..., destination=..., protocol=58 ':', route=...) at ../src/internet/model/ipv6-l3-protocol.cc:792
#12 0xb64a1877 in ns3::MemPtrCallbackImpl<ns3::Ptr<ns3::Ipv6L3Protocol>, void (ns3::Ipv6L3Protocol::*)(ns3::Ptr<ns3::Packet>, ns3::Ipv6Address, ns3::Ipv6Address, unsigned char, ns3::Ptr<ns3::Ipv6Route>), void, ns3::Ptr<ns3::Packet>, ns3::Ipv6Address, ns3::Ipv6Address, unsigned char, ns3::Ptr<ns3::Ipv6Route>, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (
this=0x80a2480, a1=..., a2=..., a3=..., a4=58 ':', a5=...) at ./ns3/callback.h:390
#13 0xb649f824 in ns3::Callback<void, ns3::Ptr<ns3::Packet>, ns3::Ipv6Address, ns3::Ipv6Address, unsigned char, ns3::Ptr<ns3::Ipv6Route>, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a2378, a1=..., a2=..., a3=..., a4=58 ':', a5=...) at ./ns3/callback.h:1073
#14 0xb65883f2 in ns3::Icmpv6L4Protocol::SendMessage (this=0x80a2350, packet=..., src=..., dst=..., ttl=255 '\377') at ../src/internet/model/icmpv6-l4-protocol.cc:886
#15 0xb65887d1 in ns3::Icmpv6L4Protocol::DelayedSendMessage (this=0x80a2350, packet=..., src=..., dst=..., ttl=255 '\377') at ../src/internet/model/icmpv6-l4-protocol.cc:892
#16 0xb6592686 in ns3::EventMemberImpl4::Notify (this=0x81172d8) at ./ns3/make-event.h:223
#17 0xb5824c85 in ns3::EventImpl::Invoke (this=0x81172d8) at ../src/core/model/event-impl.cc:45
#18 0xb5829aac in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x80a12b8) at ../src/core/model/default-simulator-impl.cc:141
#19 0xb5829e45 in ns3::DefaultSimulatorImpl::Run (this=0x80a12b8) at ../src/core/model/default-simulator-impl.cc:194
#20 0xb5825abc in ns3::Simulator::Run () at ../src/core/model/simulator.cc:161
---Type <return> to continue, or q <return> to quit---
#21 0x0805af42 in main (argc=2, argv=0xbffff084) at ../scratch/pmip6-wifi.cc:353
(gdb)