swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASM on Tru64 UNIX - writedata problem - fix


From: W . Northcott
Subject: Re: ASM on Tru64 UNIX - writedata problem - fix
Date: Tue, 6 Feb 2001 15:50:41 +1000



I am glad to say this does not seem to be a problem with the libraries.

Problem:
Running ASM after selecting writeSimulationData in the GUI crashes trying
to send message to null object.

Cause
The writeSimulationButton sets asmModelSwarm->getOutputForData = 1
However at ASMModelSwarm.m:154 the code tests
asmModelParams->getOutputForData which is never set except by the user in
a completeProbe map.

Fix
Add the folloing in place of ASMModelSwarm:153

  if (asmModelParams->setOutputForData)
    setOutputForData = asmModelParams->setOutputForData;
  if (setOutputForData == 1)

All is now sweetness and light.  I will go back to finding other ways to
crash it.

Bill Northcott



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]