swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] batchswarm problem - getActivity


From: Corinne Coen
Subject: [Swarm-Support] batchswarm problem - getActivity
Date: Mon, 24 Mar 2008 14:01:22 -0400

Dear all,
Per your earlier suggestions, I have been debugging a model using gdb. The odd feature of the model's current performance is that everything works fine in GUI mode but there are errors in the Batch mode. After much elimination of other bugs I have gotten down to one final gdb message and I am stuck.

With my code as is, this is the error message.

(gdb) set args -b
(gdb) break BatchSwarm.m:104
Breakpoint 1 at 0x804bc8c: file BatchSwarm.m, line 104.
(gdb) run
Starting program: /home/ccoen/Desktop/InvestmentRivalry103/rivalry -b

Breakpoint 1, -[BatchSwarm stopRunning] (self=0xa0a9f48, _cmd=0x8059820)
   at BatchSwarm.m:104
104     }
(gdb) bt
#0  -[BatchSwarm stopRunning] (self=0xa0a9f48, _cmd=0x8059820)
   at BatchSwarm.m:104
#1  0x00a3a2db in __builtin_avcall () from /usr/lib/swarm/libswarm.so.0
#2  0x00a387da in objc_call () from /usr/lib/swarm/libswarm.so.0
#3  0x00a27f4a in updateTarget () from /usr/lib/swarm/libswarm.so.0
#4 0x00a02079 in get_number_of_arguments () from /usr/lib/swarm/libswarm.so.0 #5 0x00a0d186 in _update_mergeSchedules () from /usr/lib/swarm/libswarm.so.0 #6 0x00a0d04e in _update_mergeSchedules () from /usr/lib/swarm/libswarm.so.0 #7 0x00a0d04e in _update_mergeSchedules () from /usr/lib/swarm/libswarm.so.0 #8 0x00a0cd26 in _update_mergeSchedules () from /usr/lib/swarm/libswarm.so.0
#9  0x0804bbfe in -[BatchSwarm go] (self=0xa0a9f48, _cmd=0x8058288)
   at BatchSwarm.m:94
#10 0x080494f6 in main (argc=2, argv=0xbff456f4) at main.m:45


If I comment out Batchswarm.m line 94  [[self Activity] run];
I get the following message:

(gdb) set args -b
(gdb) break BatchSwarm.m:104
Breakpoint 1 at 0x804bc4e: file BatchSwarm.m, line 104.
(gdb) run
Starting program: /home/ccoen/Desktop/InvestmentRivalry103/rivalry -b

Program exited normally.
(gdb) bt
No stack.

Can you help me with further diagnostics?
Thanks,
Corinne Coen



reply via email to

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