OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000644OMNeT++simulation kernelpublic2013-04-04 14:002013-04-04 14:00
Reporterrbettermann 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version4.2.2 
Target VersionFixed in Version 
Summary0000644: Error in Ideal Simulation Protocol, choosing next Event (assertion)
DescriptionThe bug appears when using the Ideal Simulation Protocol. At first I used the cISPEventLogger, which created the .dat files. Then running the cIdealSimulationProtocol synchronization class the assertion in line 115 is false(sim/parsim/cidealsimulationprot.cc).

To reproduce this issue generate a local event at time X and an external event at the exact same time. (msgTime == nextExternalEvent.t)

I the fixed this bug with the following code. I think this case is missing:
(inserted at line 103)

if (msgTime == nextExternalEvent.t && msg->getSrcProcId()==-1) // execute local event at first
{
    return msg;
}

Additional InformationAnd I think that another case is missing:
(msgTime == nextExternalEvent.t && msg->getSrcProcId()!=nextExternalEvent.srcProcId)
(But just adding this case to the assertion did not help)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-04-04 14:00 rbettermann New Issue


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker