[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] possible memory problem on mac g5
From: |
Paul Box |
Subject: |
[Swarm-Support] possible memory problem on mac g5 |
Date: |
Mon, 5 Apr 2004 10:24:53 -0600 |
Hello world
I have just set up a G5 mac, and installed swarm (Thanks again Bill!). I
have tried running some of my favorite swarm programs, and found that I am
getting segmentation faults when too many agents are added to the system. The
problem originally seemed to be memory: the program runs and eventually
crashes with the following message:
Program received signal EXC_BAD_ACCESS, Could not access memory.
objc_msg_lookup (receiver=0x29007265, op=0xf860) at
../../../libobjc/objc/sarray.h:232
232 ../../../libobjc/objc/sarray.h: No such file or directory.
A backtrace gives the following:
(gdb) bt
#0 objc_msg_lookup (receiver=0x29007265, op=0xf860) at
../../../libobjc/objc/sarray.h:232
#1 0x0095691c in objc_msg_lookup (receiver=0x29007265, op=0xf860) at
../../../libobjc/sendmsg.c:150
#2 0x0000c024 in -[Plant colonize].48 (self=0x11800a48, _cmd=0xf860) at
Plant.m:107
#3 0x0000bf68 in -[Plant grow].47 (self=0xf860, _cmd=0xf860) at Plant.m:77
#4 0x00004978 in -[Cell step].45 (self=0x29007265, _cmd=0xf860) at Cell.m:73
#5 0x0099586c in -[Collection_any forEach:].57 (self=0xb36fec, _cmd=0xf860,
aSelector=0xf464) at ../../../../src/collections/Collection.m:216
..... rest deleted....
The [Plant colonize] method is a plant trying to create a new plant somewhere
in the landscape.
The machine has 2.5G of memory. When I run the system profiler, I find that
the swarm application is using just under 130M, so memory is apparently not
the culprit. I do not have this problem running the same program with the
same parameters on linux or solaris.
Any ideas?
////////////////////////////////////////
// Paul Box
// Aquatic, Watershed, and Earth Resources
// Utah State University
- [Swarm-Support] possible memory problem on mac g5,
Paul Box <=