0

我为 ns3 创建了一个新应用程序,它似乎运行正常,但是,在执行几秒钟后(在正确接收到许多数据包之后),出现以下错误:

断言失败。cond="m_current + delta <= m_dataEnd",文件=./ns3/buffer.h,行=678

有什么想法会导致此错误,以及如何绕过/纠正它?

4

1 回答 1

1

This is just an assumption, but it seems that you have a buffer overflow, i.e. the current size exceeds it's maximum size. Maybe you can clear the buffer or increase its size. As the message tells you, the error occurs on line 678 in the buffer.h file. You could look at this position to have an idea, which operation causes the assertion and maybe this helps you finding out what you have to do to avoid this message.

于 2012-05-08T08:23:09.120 回答