<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have a custom application <i>"CustomApp". </i>I have put SendInterest() in public so I can call it from scenario, for testing purposes. With this snap:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">  ndn::AppHelper app1("CustomApp");<br>  ApplicationContainer appCont = app1.Install(ConsNode);<br><br>  Ptr<CustomApp> app1ptr = DynamicCast<CustomApp>(appCont.Get(0));<br>  app1ptr->SendInterest();<br></blockquote><div><br></div><div>I'm getting:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Command ['.../ns-3/build/scratch/simple-custom-app'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").<br></blockquote><div><br></div><div>which buy following gdb(insight) I end up :<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">BOOST_ASSERT_MSG(!m_isExecuting, "cannot emit signal from a handler");</blockquote><div><br> It is from:<br><a href="https://github.com/named-data-ndnSIM/ndn-cxx/blob/master/src/util/signal-signal.hpp:224">https://github.com/named-data-ndnSIM/ndn-cxx/blob/master/src/util/signal-signal.hpp:224</a><br></div><div>Branch: ndn-cxx.0.3.4-ndnSIM<br><br></div><div>I have tested app1ptr with some sample doing-nothing-but-LOG member function and it worked.<br><br></div><div>I appreciate it if you could help me on what is wrong.<br><br></div><div>Thanks,<br></div><div>Sabet<br></div></div> <br></div></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br></div></div></div>
</div>