Node #115 total: 300 ini: 300 @94.0773
assert failed. cond="m_totalEnergyConsumption <= m_source->GetInitialEnergy ()", file=../src/wifi/model/wifi-radio-energy-model.cc, line=403
terminate called without an active exception
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: Arquivo ou diretório inexistente.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff3be3535 in __GI_abort () at abort.c:79
#2 0x00007ffff3fff957 in ?? ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff4005aa6 in ?? ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff4005ae1 in std::terminate() ()
--Type <RET> for more, q to quit, c to continue without paging--
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff77c9e16 in ns3::WifiRadioEnergyModel::ChangeState (
this=0x555555b6cca0, newState=3)
at ../src/wifi/model/wifi-radio-energy-model.cc:403
#6 0x00007ffff77d2da4 in ns3::MemPtrCallbackImpl<ns3::WifiRadioEnergyModel*, void (ns3::DeviceEnergyModel::*)(int), void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x555555c1c830, a1=3)
--Type <RET> for more, q to quit, c to continue without paging--
at ./ns3/callback.h:612
#7 0x00005555555f129b in ns3::Callback<void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x555555a7fe38, a1=3)
at ./ns3/callback.h:1291
#8 0x00007ffff77cbd4e in ns3::WifiRadioEnergyModelPhyListener::NotifyRxStart (this=0x555555a7fe30, duration=...)
at ../src/wifi/model/wifi-radio-energy-model.cc:600
--Type <RET> for more, q to quit, c to continue without paging--
#9 0x00007ffff75d926b in ns3::WifiPhyStateHelper::NotifyRxStart (
this=0x555555aa6b90, duration=...)
at ../src/wifi/model/wifi-phy-state-helper.cc:243
#10 0x00007ffff75dba6b in ns3::WifiPhyStateHelper::SwitchToRx (
this=0x555555aa6b90, rxDuration=...)
at ../src/wifi/model/wifi-phy-state-helper.cc:419
#11 0x00007ffff75be9b2 in ns3::WifiPhy::StartRx (
this=0x555555990680, packet=..., txVector=...,
--Type <RET> for more, q to quit, c to continue without paging--
mpdutype=ns3::NORMAL_MPDU, rxPowerW=1.5365568558683919e-12,
rxDuration=..., event=...) at ../src/wifi/model/wifi-phy.cc:3687
#12 0x00007ffff75b4b6e in ns3::WifiPhy::StartReceivePreambleAndHeader (this=0x555555990680, packet=..., rxPowerW=1.5365568558683919e-12,
rxDuration=...) at ../src/wifi/model/wifi-phy.cc:2483
#13 0x00007ffff7603ef7 in ns3::YansWifiChannel::Receive (phy=...,
packet=..., rxPowerDbm=-88.134513652917093, duration=...)
at ../src/wifi/model/yans-wifi-channel.cc:128
--Type <RET> for more, q to quit, c to continue without paging--
#14 0x00007ffff7605ade in ns3::MakeEvent<ns3::Ptr<ns3::YansWifiPhy>, ns3::Ptr<ns3::Packet>, double, ns3::Time, ns3::Ptr<ns3::YansWifiPhy>, ns3::Ptr<ns3::Packet>, double, ns3::Time>(void (*)(ns3::Ptr<ns3::YansWifiPhy>, ns3::Ptr<ns3::Packet>, double, ns3::Time), ns3::Ptr<ns3::YansWifiPhy>, ns3::Ptr<ns3::Packet>, double, ns3::Time)::EventFunctionImpl4::Notify() (this=0x55555835fd10) at ./ns3/make-event.h:716
#15 0x00007ffff4226971 in ns3::EventImpl::Invoke (
this=0x55555835fd10) at ../src/core/model/event-impl.cc:51
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00007ffff422bff0 in ns3::DefaultSimulatorImpl::ProcessOneEvent
(this=0x55555574ed10)
at ../src/core/model/default-simulator-impl.cc:149
#17 0x00007ffff422c3f5 in ns3::DefaultSimulatorImpl::Run (
this=0x55555574ed10)
at ../src/core/model/default-simulator-impl.cc:202
#18 0x00007ffff4227ba9 in ns3::Simulator::Run ()
at ../src/core/model/simulator.cc:230
--Type <RET> for more, q to quit, c to continue without paging--
#19 0x000055555565128a in ns3::UavNetwork::Run (this=0x555555752620)
at ../scratch/flynetwork/uav-network.cc:328
#20 0x00005555555c9134 in main (argc=7, argv=0x7fffffffdbd8)
at ../scratch/flynetwork/main.cc:103
(gdb) q
A debugging session is active.
Inferior 1 [process 7456] will be killed.
Quit anyway? (y or n) y