Bugzilla – Bug 2415
PacketMetadata Class Locks up Example
Last modified: 2016-09-20 01:57:12 EDT
Created attachment 2439 [details] Example of crashing PacketMetadata when enabled. There is an issue when PacketMetadata is enabled for an example application. This occurs on small packet sizes. In this particular example, it occurs with packets less than 28 bytes in size. I've seen it vary in size depending on the example. How to Replicate: 1. Compile NS-3 after unzipping the attached files (wscript and tcp-bulk-send-small-packet.cc) and placing them in `examples/tcp/` 2. Run the following: ./waf --run "tcp-bulk-send-small-packet --sendSize=20" *Note that the flag "sendSize=20" indicates the size in bytes of each packet being sent 3. Wait for the following error message: Error: assert failed. cond="IsStateOk ()", file=../src/network/model/packet-metadata.cc, line=877 Please see the attached zip file for the example.
*** This bug has been marked as a duplicate of bug 2407 ***