OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000195OMNeT++runtime / Tkenvpublic2010-07-29 17:062010-07-29 17:16
Reporterandras 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.1 
Target Version4.2Fixed in Version4.2 
Summary0000195: Tkenv crashes if Broadcast Animation option is turned on with parsim
DescriptionIf Broadcast Animation in Simulation Options is on, animation of parallel simulation will crash on messages going out of the partition.

Reason: the message object does not exist by the time Tkenv tries to display it. Broadcast animation postpones the message sending animation to after handleMessage() returns, but the message has been sent out of the partition and deleted by then.
TagsNo tags attached.
Attached Filespatch file icon bcast-anim.patch [^] (4,802 bytes) 2010-07-29 17:14 [Show Content]

- Relationships

-  Notes
(0000334)
andras (administrator)
2010-07-29 17:16

See attached patch.

Note: current solution still has issues in the rare case if a message is deleted and a new message object is created at the same memory address, as their animations will get mixed up. A workaround would be to augment the message pointer with the message ID in anim_remember_msg to disambiguate it, but the result is still not perfect.

- Issue History
Date Modified Username Field Change
2010-07-29 17:06 andras New Issue
2010-07-29 17:14 andras File Added: bcast-anim.patch
2010-07-29 17:16 andras Note Added: 0000334
2010-07-29 17:16 andras Status new => resolved
2010-07-29 17:16 andras Fixed in Version => 4.2
2010-07-29 17:16 andras Resolution open => fixed
2010-07-29 17:16 andras Assigned To => andras


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker