bugGlobulation 2 - Bugs: bug #22672, Regular crash with...

 
 

bug #22672: Regular crash with Unit::handleMovement

Submitted by:  Kieran <k776>
Submitted on:  Thu 20 Mar 2008 05:55:50 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Bradley Arsenault <genixpro>Open/Closed: Closed
Release: 0.9.3 (Beta 3)Operating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 25 Mar 2008 04:20:35 AM UTC, comment #3:

No long getting this error, but am getting new ones :(

Kieran <k776>
Project Administrator
Mon 24 Mar 2008 09:43:35 AM UTC, comment #2:

Here is a bt full. I have to shut down the comp so let me know what gdb commands you want run next time, and I will.

(gdb) bt full
#0 0x0823b092 in Unit::handleMovement (this=0x8844078) at src/Unit.cpp:1820
unit = (Unit *) 0x0
tempTargetX = 20
other_distance = 2147483647
tempTargetY = 46
path = true
guid = 65
distance = 5
map = (class Map *) 0xbf7f9a9c
_PRETTY_FUNCTION_ = "void Unit::handleMovement()"
dxTab = {-4, -2, 2, 4, 4, 2, -2, -4}
dyTab = {-2, -4, -4, -2, 2, 4, 4, 2}
#1 0x0823dfd6 in Unit::endOfAction (this=0x8844078) at src/Unit.cpp:2293
No locals.
#2 0x0823e50a in Unit::syncStep (this=0x8844078) at src/Unit.cpp:525
_PRETTY_FUNCTION_ = "void Unit::syncStep()"
#3 0x08229024 in Team::syncStep (this=0x84e19c0) at src/Team.cpp:913
u = (Unit *) 0x8844078
i = 31
nbUsefullUnits = 29
nbUsefullUnitsAlone = 26
isDirtyGlobalGradient = 220
isEnoughFoodInSwarm = 225
isDying = 183
_PRETTY_FUNCTION_ = "void Team::syncStep()"
#4 0x080ef201 in Game::syncStep (this=0xbf7ecc64, localTeam=0) at src/Game.cpp:1197
i = 0
startTick = -537414788
endTick = 138372264
_PRETTY_FUNCTION_ = "void Game::syncStep(Sint32)"
#5 0x080e1b60 in Engine::run (this=0xbf7ecc4c) at src/Engine.cpp:346
speed = 40
networkReadyToExecute = true
startTime = -537541501
needToBeTime = 0
frameNumber = 0
doRunOnceAgain = true
_PRETTY_FUNCTION_ = "int Engine::run()"

Kieran <k776>
Project Administrator
Mon 24 Mar 2008 09:10:48 AM UTC, comment #1:

Now getting this randomly.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228855568 (LWP 6079)]
0x0823b092 in Unit::handleMovement (
this=0x8844078) at src/Unit.cpp:1820
1820 other_distance = unit->previousClearingAreaDistance;
(gdb) bt
#0 0x0823b092 in Unit::handleMovement (this=0x8844078) at src/Unit.cpp:1820
#1 0x0823dfd6 in Unit::endOfAction (this=0x8844078) at src/Unit.cpp:2293
#2 0x0823e50a in Unit::syncStep (this=0x8844078) at src/Unit.cpp:525
#3 0x08229024 in Team::syncStep (this=0x84e19c0) at src/Team.cpp:913
#4 0x080ef201 in Game::syncStep (this=0xbf7ecc64, localTeam=0) at src/Game.cpp:1197
#5 0x080e1b60 in Engine::run (this=0xbf7ecc4c) at src/Engine.cpp:346
#6 0x0812bf56 in Glob2::runTestGames (this=0xbf81a6c3) at src/Glob2.cpp:142
#7 0x0812c3ca in Glob2::run (this=0xbf81a6c3, argc=2, argv=0xbf81a764) at src/Glob2.cpp:174
#8 0x0812cbab in main (argc=Cannot access memory at address 0x7) at src/Glob2.cpp:337
(gdb)

Kieran <k776>
Project Administrator
Thu 20 Mar 2008 05:55:50 AM UTC, original submission:

It seems I'm getting a regular, but at the same time random crash on different maps, and different times. Here are three outputs from three different consoles running -test-games-nox.

http://glob2.pastebin.com/f24b7903c
http://glob2.pastebin.com/f69369d37
http://glob2.pastebin.com/f11a0fbd

I did nothing but pull the latest code, update, compile, and gdb glob2 run -test-games-nox.

Kieran <k776>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by genixpro (Updated the item)
  • -unavailable- added by k776 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Mar 2008 04:20:35 AM UTCk776StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 24 Mar 2008 05:46:23 AM UTCgenixproStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1