Hi, Alex <br>I found the error. I made the mistake of the variable size in the function of CAHeader::GetSerializedSize (void) const<br><div><div>:)<br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Aaron"<aaronishere@qq.com>;</div><div><b>发送时间:</b> 2013年2月16日(星期六) 中午12:40</div><div><b>收件人:</b> "alexander.afanasyev"<alexander.afanasyev@ucla.edu>; <wbr></div><div><b>抄送:</b> "ndnsim"<ndnsim@lists.cs.ucla.edu>; <wbr></div><div><b>主题:</b> [ndnSIM] questions for compiling</div></div><div><br></div>Hi, Alex<br>I added a new CAHeader like InterestHeader and a CA file like PIT. I also add new function OnCA and a series of  related functions such as PropagateCA in forwardstrategy.h/.cc and some functions in L3protocol.h/.cc as well as HeaderHelp.h/.cc . It can compile without error, however, when I typed "./waf --run=ndn-grid", it shows below:<br><br>Waf: Leaving directory `/home/ndnSIM-2-4/ns-3/build'<br>'build' finished successfully (51.112s)<br>assert failed. cond="m_current + delta <= m_dataEnd", file=./ns3/buffer.h, line=697<br>terminate called without an active exception<br>Command ['/home/ndnSIM-2-4/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-grid-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").<br><br>I have no idea about it. What's probably cause? <br> <br></div>