Bug 2415

Summary: PacketMetadata Class Locks up Example
Product: ns-3 Reporter: Salazar <salazar33>
Component: networkAssignee: ns-bugs <ns-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: salazar33, tomh
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   
Attachments: Example of crashing PacketMetadata when enabled.

Description Salazar 2016-05-18 17:58:17 UTC
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.
Comment 1 Tom Henderson 2016-09-20 01:57:12 UTC

*** This bug has been marked as a duplicate of bug 2407 ***