swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Segmentation fault in cygwin1.dll


From: Paul Thompson
Subject: [Swarm-Support] Segmentation fault in cygwin1.dll
Date: Tue, 12 Oct 2004 16:19:41 -0400

Hello - I'm debugging a program, and I'm getting a segmentation fault
in the cygwin DLL.  I tried looking at the backtrace, but I couldn't
find any mention of any of my own code, so I'm not sure where the
error is.

The program starts the control panel, and initalizes the observerSwarm
and modelSwarm fine (as far as I can tell).  When I hit 'next' (or
'start'), it draws the raster windows, then crashes.  The GDB output
is shown below

$ gdb HCCant.exe
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /cygdrive/c/thesis/SwarmSource/HCCant.exe
Main
after createBegin observerSwarm
after observerswarm createend
Observer buildobjects method
modelSwarm createdmodelSwarm buildObjects method done
Colormaps set
Rasters created
Displays created
numAntsGraph created
numAntsGraph destroy set
Sequences added to numAntsGraph
changesAndHormonesGraph created
changesAndHormonesGraph destroy set
Sequences added to changesAndHormonesGraph
totalChangesAndHormonesGraph created
totalChangesANdHormonesGraph destroy set
Sequences added to totalChangesAndHormonesGraph
averageEnergyLevelGraph created
averageEnergy destroy set
Sequences added to AVerageEnergy
after observerswarm buildobjects
in observer bulidactions before super
after super
in modelswarm buildactions before super
after super
modelAntActions line 1 ok
modelAntActions line 2 ok
modelAntActions line 3 ok
modelAntActions line 4 ok
modelAntActions line 5 ok
modelAntActions line 6 ok
modelAntActions line 7 ok
after modelAntActions
after modelAntSchedule
after modelSeasonActions
after modelSeasonSchedule
after modelSwarm buildactions
after observerswarm buildactions
after activatein

Program received signal SIGSEGV, Segmentation fault.
0x61092ccc in strtosigno () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x61092ccc in strtosigno () from /usr/bin/cygwin1.dll
#1  0x610934cb in strtosigno () from /usr/bin/cygwin1.dll
#2  0x6103e986 in malloc () from /usr/bin/cygwin1.dll
#3  0x00000006 in ?? ()
(gdb)


reply via email to

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