swarm-support
[Top][All Lists]
Advanced

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

Re: "Too many arguments", SuSE 6.2


From: Matt Aylward
Subject: Re: "Too many arguments", SuSE 6.2
Date: Sun, 28 Nov 1999 12:25:56 +0800

On Fri, 26 Nov 1999, you wrote:
Marcus G. Daniels: >>>>>> "MA" == Matt Aylward <address@hidden> writes:
................................clipped..............................
Marcus G. Daniels: >
Marcus G. Daniels: >MA> 2. Segfault after 11 timesteps.
Marcus G. Daniels: >
Marcus G. Daniels: >If you want a sanity check, use something that is known to 
work, say,
Marcus G. Daniels: >heatbugs.  If you want to figure out why your app doesn't 
work,
Marcus G. Daniels: >the first step is to provide a backtrace.

Marcus,
I applied the objc.diff, recompiled gcc2.95.1, recompiled swarm,
compiled and tested heatbugs -- all OK, great!!
next recompiled my seagrass model, fixing a couple of bits of sloppy code
which made -Werror spit (a very good idea).  The model segfaults after time
step 11 so I fired up gdb. The problem is gbd segfaults itself after "run".
So I recompiled gdb4.18 with the new gcc, no better. Tried the 
gdb-objc-4.16.i586.linux.ELF.tar.gz from the swarm needed software (installed
as ~/bin/gdb.swarm), this doesn't segfault but gives me the following output:

------------------------------------------------------------------------------
  address@hidden:model> gdb.swarm .libs/sg3
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) run
Starting program: /home/matt/swarm/seagrass99/model/.libs/sg3 

Program received signal ?, Unknown signal.
0x40643b6e in __sigsuspend (set=0xbfffe990)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
../sysdeps/unix/sysv/linux/sigsuspend.c:48: No such file or directory.
Current language:  auto; currently c
------------------------------------------------------------------------------

Any suggestions for my next step, I am going through my code to see why time
step 11 may be significant, but there is 5500 lines in this model.
The code has not been changed since the model was run with swarm-1.4.1. At
that time I ran it frequently for over 1000 time steps without any problems.
Any suggestions would be greatly appreciated. 

Cheers and many thanks for the help so far,
Matt

 --
      Matt Aylward <address@hidden>
Deptartment of Botany, University of Western Australia
   Long live Linux, Swarm modelling and Grass GIS.

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