<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I would guess that you do not initialize some variable somewhere in your code, therefore, what you see is undefined behavior.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 5, 2017, at 9:25 AM, Mateus Sousa <<a href="mailto:mateus.aluufc@gmail.com" class="">mateus.aluufc@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Hi all, <br class=""><br class=""></div>I'm facing a problem to retrieve the current node index in forwarding class. Sometimes it works, sometimes it doesn't and returns the following error message:<br class=""><br class="">assert failed. cond="n < m_nodes.size ()", msg="Node index 4294967295 is out of range (only have 4 nodes).", file=../src/network/model/<a href="http://node-list.cc" class="">node-list.cc</a>, line=209<br class="">terminate called without an active exception<br class="">.  <br class=""><br class=""></div>I'm calling this function in 'MulticastStrategy::afterReceiveInterest' (ns3::Simulator::GetContext()). Can someone explain this? <br class=""><br class=""></div><div class="">Thanks in advance.<br class=""></div></div></div></blockquote></div><br class=""></div></body></html>