Bugzilla – Full Text Bug Listing |
Summary: | Packet Metadata Bad State with Small Packet Size | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Salazar <salazar33> |
Component: | network | Assignee: | ns-bugs <ns-bugs> |
Status: | NEEDINFO --- | ||
Severity: | normal | CC: | salazar33, tomh |
Priority: | P5 | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux | ||
Attachments: | wscript file and example application as described above |
I'm not able to reproduce on ns-3-dev, for various send sizes; e.g. ./waf --run 'tcp-bulk-send-small-packet --sendSize=16 --maxBytes=0' 'build' finished successfully (3.622s) Total Bytes Received: 11267984 will leave open until after the 3.26 release and close if no further information is available |
Created attachment 2424 [details] wscript file and example application as described above While using the bulk-send-application, I enabled PacketMetadata and then proceeded to change the size of the pack from default value of 512 byte to something small, such as 16 bytes. When running the simulation, I get the following error message: assert failed. cond="IsStateOk ()", file=../src/network/model/packet-metadata.cc, line=877 terminate called without an active exception I've included two files to help illustrate this error: wscript - belongs in examples/tcp/ tcp-bulk-send-small-packet.cc - belongs in examples/tcp/tcp-bulk-send-small-packet.cc Once compiled, you can run the example and try the different values for the size of the packet as follows: ./waf --run "tcp-bulk-send-small-packet --sendSize=16 --maxBytes=0" For reference, it looks like it fails with a size less than 28 in this example, but I've had this as an error for sizes less than 20 for another example.