|Anonymous | Login||2021-03-07 12:25 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000195||OMNeT++||runtime / Tkenv||public||2010-07-29 17:06||2010-07-29 17:16|
|Target Version||4.2||Fixed in Version||4.2|
|Summary||0000195: Tkenv crashes if Broadcast Animation option is turned on with parsim|
|Description||If 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.
|Tags||No tags attached.|
|Attached Files||bcast-anim.patch [^] (4,802 bytes) 2010-07-29 17:14 [Show Content]|
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.
|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 - 2021 MantisBT Team|