Bug 2415 - PacketMetadata Class Locks up Example
PacketMetadata Class Locks up Example
Status: RESOLVED DUPLICATE of bug 2407
Product: ns-3
Classification: Unclassified
Component: network
unspecified
PC Linux
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-18 17:58 EDT by Salazar
Modified: 2016-09-20 01:57 EDT (History)
2 users (show)

See Also:


Attachments
Example of crashing PacketMetadata when enabled. (3.37 KB, application/zip)
2016-05-18 17:58 EDT, Salazar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Salazar 2016-05-18 17:58:17 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.
Comment 1 Tom Henderson 2016-09-20 01:57:12 EDT

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