[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with BatchSwarm
From: |
Paul E Johnson |
Subject: |
Re: Problem with BatchSwarm |
Date: |
Tue, 03 Apr 2001 07:29:56 -0500 |
Use gdb to run your program, when it seg faults, type "bt" to get a back
trace. It will show, your program steps leading to the crash. As I
recall, to start the program with arguments, in gdb you'd do something
like (on Linux)
$ gdb .libs/program
(that starts gdb)
> set args -b
(that sets the run argument -b for batch, righ?)
> run
> bt
Don't bother with ddd unless you really know it works.
Marian Mihalo wrote:
>
> Hello,
>
> so I have a problem with BatchSwarm in my simulation. I use a Swarm 2.1.1.
> and Objective C... I know, that my initSwarm case is good... The GUI mode is
> working all right, but my batch mode is not working...I don't know where is
> a problem...I used a ddd debuger, and strace, too. But I realy don't know
> where is a problem...
>
> Would anybody help me????
>
> When I used a ddd debuger, the warning is:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x401bb415 in swarm_directory_objc_find (env=0x0, object=0x811f7f0) at
> /usr/src/redhat/BUILD/swarm-2.1.1/src/defobj/directory.m:206
> 206 /usr/src/redhat/BUILD/swarm-2.1.1/src/defobj/directory.m: Folder or
> file is not existing
>
> Thanks...
>
> Marian
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.240 / Virus Database: 116 - Release Date: 23.3.2001
>
> ==================================
> 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.
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
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.