swarm-support
[Top][All Lists]
Advanced

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

Segmentation Fault error...what causes it?


From: bleydorf
Subject: Segmentation Fault error...what causes it?
Date: Wed, 20 Aug 1997 15:56:45 -0400

Hi,
I copyed all the source for a copy of heatbugs that was working,
Went through the code, changing and removing stuff related to "heat",
thought that I created a simple simulation where I had two kinds of
agents A and B, both copied from the heatbug object.  I got rid of all
heat mentions, things that affected heat.  

I created a Discrete2d space instead of Diffuse2d, but it didnt have any
methods or varibles in it.

In model, I took out all mentions to heat, and in the schedule all I
have is 
[modelAction..."A"....M(step)];
[modelAction..."B"....M(step)];

In the steps, A's moved randomly, and B's just sat there.  

Schedule was the same as before...

In Observer, I commented out heatDisplay stuff, and only have the
worldRaster stuff, and displayA and displayB.  Do A and B each need
their own worldRasters?  I had commented out all the stuff involving
colormap, since I am using Pixmaps, and then uncommented them, and it
still gives me a "segmentation Fault" error, when I press "Go".

Can anyone suggest where I should look for the cause?  (what possible
things cause "segmentation fault" errors)

Thanks,
Brad.

                  ==================================
   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]