<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi John,</div><div><br></div><div>Thanks for catching the problem!  I haven't realized that V2vTracer implementation was broken and the scenario was not effectively working at all.  I have fixed the bugs and pushed an update to the github, so it should work now.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Apr 3, 2013, at 10:28 AM, John McKendry <<a href="mailto:john.mckendry@gmail.com">john.mckendry@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div>I am trying to run the car-push scenario from the car-to-car ndnSIM code from <a href="https://github.com/cawka/ndnSIM-nom-rapid-car2car">https://github.com/cawka/ndnSIM-nom-rapid-car2car</a> . The car-relay example is working, but I get an "Incompatible Types" error when I try to run car-push. The error comes from the first line in V2vTracer::Connect(), which is a call to TraceConnectWithoutContext().<br>
</div><br>This is the error:<br>Waf: Entering directory `/home/mzeal/ns-dev/ns-3/ndnSIM-nom-rapid-car2car-master/build'<br>Waf: Leaving directory `/home/mzeal/ns-dev/ns-3/ndnSIM-nom-rapid-car2car-master/build'<br>
'build' finished successfully (0.069s)<br>0s -1 ndn.Consumer:Consumer()<br>msg="Incompatible types. (feed to "c++filt -t" if needed)<br>got=ns3::MemPtrCallbackImpl<ns3::ndn::V2vTracer*, void (ns3::ndn::V2vTracer::*)(std::string, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::Face const>), void, std::string, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::Face const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty><br>
expected=ns3::CallbackImpl<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::Face const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>*", file=./ns3/callback.h, line=470<br>
terminate called without an active exception<br><br></div>This is the gdb traceback:<br>Program received signal SIGABRT, Aborted.<br>0x00007ffff53ac445 in raise () from /lib/x86_64-linux-gnu/libc.so.6<br>(gdb) bt<br>#0  0x00007ffff53ac445 in raise () from /lib/x86_64-linux-gnu/libc.so.6<br>
#1  0x00007ffff53afbab in abort () from /lib/x86_64-linux-gnu/libc.so.6<br>#2  0x00007ffff5f1769d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6<br>#3  0x00007ffff5f15846 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6<br>
#4  0x00007ffff5f15873 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6<br>#5  0x00007ffff71e7286 in ns3::Callback<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::Face const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::DoAssign (this=0x7fffffffc560, other=...) at ./ns3/callback.h:468<br>
#6  0x00007ffff71e6c46 in ns3::Callback<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::Face const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::Assign (this=0x7fffffffc560, other=...) at ./ns3/callback.h:445<br>
#7  0x00007ffff71e691e in ns3::TracedCallback<ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::Face const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::ConnectWithoutContext (this=0x71b990, callback=...) at ./ns3/traced-callback.h:118<br>
#8  0x00007ffff71ee362 in ns3::Accessor::ConnectWithoutContext (this=0x6b6870, obj=0x71b940, cb=...) at ./ns3/trace-source-accessor.h:98<br>#9  0x00007ffff76df314 in ns3::ObjectBase::TraceConnectWithoutContext (this=0x71b940, name=..., cb=...)<br>
    at ../src/core/model/object-base.cc:277<br>#10 0x0000000000455bbd in ns3::ndn::V2vTracer::Connect (this=0x11eb4f0) at ../extensions/v2v-tracer.cc:113<br>#11 0x0000000000455a17 in ns3::ndn::V2vTracer::V2vTracer (this=0x11eb4f0, os=..., node=...) at ../extensions/v2v-tracer.cc:99<br>
#12 0x00000000004565f0 in boost::make_shared<ns3::ndn::V2vTracer, boost::shared_ptr<std::basic_ofstream<char, std::char_traits<char> > >, ns3::Ptr<ns3::Node> > (a1=..., a2=...) at /usr/local/include/boost/smart_ptr/make_shared.hpp:696<br>
#13 0x000000000045573d in ns3::ndn::V2vTracer::InstallAll (file=...) at ../extensions/v2v-tracer.cc:69<br>#14 0x000000000043065b in main (argc=1, argv=0x7fffffffdde8) at ../scenarios/car-pusher.cc:169<br><br></div>This is in a fresh install of ns-3.16, ndnSIM, and the car2car extensions from two days ago in Ubuntu 12.04. The code in V2vTracer looks just like the code in CarRelayTracer to my naive eye, and I don't know enough about ns-3 tracing to know where to begin fixing it. Any help will be greatly appreciated.<br>
<br></div>John<br><br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>