<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: Î¢ÈíÑźÚ; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>

<META name=GENERATOR content="MSHTML 11.00.9600.16428"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi Alex, Ilya and every ndnSIM users,</DIV>
<DIV>I found a problem in ndn-fib-entry.h. When I called the founction 
GetRoutingCost() of  ndn-fib-entry.h in DoPropagateInterest 
of flooding.cc , I caught a SIGSEGV error. I did this just as <SPAN 
class=keyword>previous</SPAN> calling GetStatus() in 
 flooding.cc.  The bt result of gdb about this error is listed 
below:</DIV>
<DIV>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>#0  0xb4be06d4 in std::string::begin() () from 
/usr/lib/i386-linux-gnu/libstdc++.so.6<BR>#1  0xb677dcb2 in 
boost::range_detail::range_begin<std::string> (c=...) at 
/usr/include/boost/range/begin.hpp:49<BR>#2  0xb677d737 in 
boost::range_adl_barrier::begin<std::string> (r=...) at 
/usr/include/boost/range/begin.hpp:108<BR>#3  0xb677cf61 in 
boost::iterator_range_detail::iterator_range_impl<__gnu_cxx::__normal_iterator<char*, 
std::string> >::adl_begin<std::string> (r=...) at 
/usr/include/boost/range/iterator_range_core.hpp:56<BR>#4  0xb677c91e in 
boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::string> 
>::iterator_range<std::string> (<BR>    this=0xbfffe010, 
r=...) at /usr/include/boost/range/iterator_range_core.hpp:204<BR>#5  
0xb677be9f in boost::make_iterator_range<std::string> (r=...) at 
/usr/include/boost/range/iterator_range_core.hpp:556<BR>#6  0xb677b2c4 in 
boost::range_detail::make_range<std::string> (r=...) at 
/usr/include/boost/range/as_literal.hpp:93<BR>#7  0xb677a4ee in 
boost::as_literal<std::string> (r=...) at 
/usr/include/boost/range/as_literal.hpp:102<BR>#8  0xb6779663 in 
boost::algorithm::iter_split<std::vector<std::string, 
std::allocator<std::string> >, std::string, 
boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char> 
> > (Result=..., Input=..., Finder=...)<BR>    at 
/usr/include/boost/algorithm/string/iter_find.hpp:153<BR>#9  0xb677882f in 
boost::algorithm::split<std::vector<std::string, 
std::allocator<std::string> >, std::string, 
boost::algorithm::detail::is_any_ofF<char> > (Result=..., Input=..., 
Pred=..., eCompress=boost::algorithm::token_compress_off)<BR>    
at /usr/include/boost/algorithm/string/split.hpp:149<BR>#10 0xb67768f8 in 
ns3::ndn::ConsumerCbr::SendPacket (this=0x8390390) at 
../src/ndnSIM/apps/ndn-consumer-cbr.cc:229<BR>#11 0xb67779a9 in 
ns3::EventMemberImpl0::Notify (this=0x84fb408) at ./ns3/make-event.h:96<BR>#12 
0xb5035e4b in ns3::EventImpl::Invoke (this=0x84fb408) at 
../src/core/model/event-impl.cc:45<BR>#13 0xb5039f88 in 
ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x809a380) at 
../src/core/model/default-simulator-impl.cc:138<BR>#14 0xb503a1a8 in 
ns3::DefaultSimulatorImpl::Run (this=0x809a380) at 
../src/core/model/default-simulator-impl.cc:193<BR>#15 0xb5036c51 in 
ns3::Simulator::Run () at ../src/core/model/simulator.cc:160<BR>#16 0x08059c3f 
in main (argc=2, argv=0xbffff184) at 
../src/ndnSIM/examples/ndn-tree-cs-tracers.cc:473<BR>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>I am confused, why the GetStatus() can be called here but the 
GetRoutingCost() can not? </DIV>
<DIV>Please help. I have tried several times, but still have this problem. Look 
forward your help. </DIV>
<DIV>Thanks & Regards</DIV>
<DIV>
<HR style="HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>
</DIV>
<DIV>Kevin Xu</DIV></BODY></HTML>