swarm-support
[Top][All Lists]
Advanced

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

Fixed the segmentation fault and now hanging..


From: DARREN MATTHEW SCHREIBER
Subject: Fixed the segmentation fault and now hanging..
Date: Mon, 2 Aug 1999 12:55:04 -0700 (PDT)

Thanks to all who sent me help regarding my last email.  I have altered
the creation of the Census Tract objects so they are created in the same
loop that puts people on the grid and thus avoids trying to call objects
that aren't yet created.  I have also figured out that my segementation
fault was cured by changing

tract=[tract create: [self getZone]];

to 

tract=[Tract create: [self getZone]];

I tracked this down by using backtrace in gdb (thanks to Paul's
suggestion).

Now, I get it to compile, and run intially, but when I hit the start
button... the program hangs.  It won't quit or respond to anything.

What is the best way to locate the cause of hangs?  Since, it is hanging,
I don't get the opportunity to use backtrace in gdb.

Also, has anyone been collecting common Swarm bugs so that new programmers
would have a place to look for simple/frequent errors they are making?

        Darren




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