<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi,</font><div><font face="arial, helvetica, sans-serif">i want to stop the ConsumerWindow application when a download is finished, so I used the call to Consumer::StopApplication() in the ConsumerWindow::OnData() method, but I got an error of segmentation fault.</font></div>
<div><font face="arial, helvetica, sans-serif">Running with the debugger I got this:</font></div><div><div><font face="arial, helvetica, sans-serif">0x00007ffff77c839f in ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Ref() const ()</font></div>
<div><font face="arial, helvetica, sans-serif">   from /ndnSIM/ns-3/build/libns3-dev-ndnSIM-debug.so</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">and trying to see which call cause me the error I found that is the <span style="line-height:1;white-space:pre-wrap"><font color="#000000">step 2 of the </font></span>App::StopApplication<span style="font-size:13px;color:rgb(0,0,0);line-height:13px;white-space:pre-wrap;background-color:rgb(252,252,252)"> ()</span><span style="font-size:13px;color:rgb(0,0,0);line-height:13px;white-space:pre-wrap;background-color:rgb(252,252,252)">:</span></font></div>
<div class="" style="font-size:13px;line-height:1;min-height:13px;white-space:pre-wrap;word-wrap:break-word;padding-left:53px;padding-bottom:0px;margin:0px;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">  GetNode ()->GetObject<L3Protocol> ()->RemoveFace (m_face);</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div>What can I do?</div><div>I add that at the same time of the StopApplication() call, I've different ConsumerWindow Application installed on the same node.</div>
<div><br></div><div>Best regards,</div><div>Fabrizio</div></div>