[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] problems in [observerSwarm go]
From: |
Paul Johnson |
Subject: |
Re: [Swarm-Support] problems in [observerSwarm go] |
Date: |
Sun, 13 Mar 2005 10:31:42 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041127) |
I think you are missing the point of "open source" software. You are
freely able to read the m file. THe source code for swarm is available.
Keep a copy of the source with you all the time! Also, keep a full set
of docs too!
I keep my directory structure like this
swarm
doc
set-2.1
PJProjects
OtherPeoplesCode
swarmapps-2.2
src
swarm-2.2
The first thing to do is run your model in gdb. Have you tried that? I
doubt that things that happen inside GUISwarm's go method are really
causing your crash, gdb usually will give you a hint about where it is.
http://www.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#6.1
Basically, you just type
# gdb ./your-program-name
-> run
-> bt
Now, to bicker with your terminology. -go is inherited, but it is not a
factory method.
Derek Farren wrote:
I realized that the method -go comes from the observerSwarm super class
GUISwarm. Since this is a "factory" class its already compiled and I
can´t look inside its code in an .m archive. So, there isn´t much to do
in order to see where my bug is.
Any advice would be appreciated...
Derek Farren
----- Original Message ----- From: Derek Farren
To: address@hidden
Sent: Friday, March 11, 2005 8:38 PM
Subject: [Swarm-Support] problems in [observerSwarm go]
On main.m every Swarm simulation calls the method -go in observerSwarm
via [observerSwarm go];
My simulation freezes when reching this method and the bash window shows
"Segmentation fault (core dumped)".
I really don´t know where to start looking to fix the problem... Where
can I find this method (-go)? What could be wrong?
Derek Farren
Universidad Adolfo Ibañez
CHILE
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700