swarm-support
[Top][All Lists]
Advanced

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

Osx version - Status - simpleobjcBug runs fine


From: Perrone Alessandro
Subject: Osx version - Status - simpleobjcBug runs fine
Date: Fri, 13 Dec 2002 15:43:42 +0100

Hi
 I'm very happy to say that  Swarm runs on osx.
Not all Swarm runs, but simpleCBug, simpleObjcBug, simpleObjcBug2, simpleSwarmBug, runs fine.
Here it is the result of simpleObjBug2 simulation
----
[Alessandro-Perrones-Computer:swarmapps-2.1.1/tutorial/simpleObjCBug2] alex% ./bug
I started at X = 40 Y = 40

I found food at X = 39 Y = 40 !
I found food at X = 38 Y = 40 !
I found food at X = 37 Y = 42 !
I found food at X = 38 Y = 43 !
I found food at X = 38 Y = 44 !
I found food at X = 38 Y = 45 !
I found food at X = 39 Y = 43 !
I found food at X = 39 Y = 42 !
I found food at X = 40 Y = 44 !
I found food at X = 41 Y = 45 !
I found food at X = 43 Y = 45 !
I found food at X = 44 Y = 45 !
I found food at X = 43 Y = 46 !
I found food at X = 42 Y = 44 !
I found food at X = 42 Y = 45 !
I found food at X = 41 Y = 44 !
I found food at X = 46 Y = 46 !
I found food at X = 46 Y = 45 !
I found food at X = 48 Y = 45 !
I found food at X = 47 Y = 44 !
I found food at X = 47 Y = 43 !
I found food at X = 45 Y = 44 !
I found food at X = 45 Y = 43 !
I found food at X = 46 Y = 42 !
I found food at X = 47 Y = 41 !
I found food at X = 48 Y = 40 !
I found food at X = 49 Y = 38 !
I found food at X = 50 Y = 36 !
[Alessandro-Perrones-Computer:swarmapps-2.1.1/tutorial/simpleObjCBug2] alex%
----
The other simulations have a few problems. for example here it is the result of simpleSwarmBug2
--
Starting program: /Users/alex/needed/swarmapps-2.1.1/tutorial/simpleSwarmBug2/bug
[Switching to process 14083 thread 0xb03]
Reading symbols for shared libraries ..... done
I found food at X = 10 Y = 1 !
I found food at X = 11 Y = 1 !
I found food at X = 11 Y = 2 !
I found food at X = 12 Y = 3 !
I found food at X = 11 Y = 5 !
I found food at X = 11 Y = 4 !
*** malloc: vm_allocate(size=262144) failed with 3
*** malloc[14083]: error: Can't allocate region
xmalloc.c:95 xmalloc
Program received signal SIGABRT, Aborted.
0x9001ba4c in kill ()
(gdb) bt
#0  0x9001ba4c in kill ()
#1  0x9005d40c in abort ()
#2  0x0007f3e4 in stpcpy (dest=0x0, src=0x0) at debugabort.c:9
#3  0x0007dde4 in xmalloc_atomic (size=0) at xmalloc.c:95
#4  0x9005d40c in abort ()
#5 0x0005b298 in -[ComponentZone_c allocIVars:] (self=0x0, _cmd=0x0, aClass=0x9d0) at Zone.m:564 #6 0x0005d778 in +[FArguments_c createBegin:] (self=0x65f518, _cmd=0x0, aZone=0x65fe40) at FArguments.m:62 #7 0x0003a134 in -[ActionTo_c _createCall_:] (self=0x65fdf8, _cmd=0x0, theTarget=0x65f518) at Action.m:301 #8 0x0003a3e4 in -[ActionTo_c _performAction_:] (self=0xfff38fd0, _cmd=0x0, anActivity=0x0) at Action.m:327 #9 0x00035cf4 in -[Activity_c _run_] (self=0xfff38f20, _cmd=0x0) at XActivity.m:257 #10 0x00035d6c in -[Activity_c _run_] (self=0xfff38ed0, _cmd=0x0) at XActivity.m:207 #11 0x00035d6c in -[Activity_c _run_] (self=0x68c8f0, _cmd=0x0) at XActivity.m:207 #12 0x00035d6c in -[Activity_c _run_] (self=0x68af70, _cmd=0x0) at XActivity.m:207
#13 0x000358e0 in -[Activity_c run] (self=0x68af70, _cmd=0x0) at XActivity.m:93
#14 0x0000317c in main (argc=0, argv=0x0) at main.m:36
#15 0x00002bb0 in _start (argc=1, argv=0xbffffc44, envp=0xbffffc4c) at /SourceCache/Csu/Csu-45/crt.c:267
#16 0x00002a30 in start ()
(gdb)
----
But this is a good starting point!!!!
I have still to solve the problem of implicit declaration of "__i_Object_s__drop" in defobj.m,.
tonight I'll work on it.
Regards.
                                        ALEX

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