Bug 1914

Summary: Null Message fails without a stop time
Product: ns-3 Reporter: Jared Ivey <j.ivey>
Component: mpiAssignee: George Riley <riley>
Status: NEW ---    
Severity: minor CC: joshpelkey, ns-bugs
Priority: P5    
Version: ns-3.19   
Hardware: PC   
OS: Linux   
Attachments: A modified version of simple-distributed.cc that removes stop times and provides a maximum number of bytes for the OnOffApplications

Description Jared Ivey 2014-05-12 11:13:33 UTC
Created attachment 1839 [details]
A modified version of simple-distributed.cc that removes stop times and provides a maximum number of bytes for the OnOffApplications

When using OnOffApplications, if a stop time for the simulator and applications is not given and instead a maximum number of bytes is provided, an assert will fail in the NullMessageSimulatorImpl when the event queue for an LP is empty but the simulator attempts to pull the next event anyway. 

The attached example is a modified version of simple-distributed.cc that removes stop times and provides a maximum number of bytes for the OnOffApplications.