bugGlobulation 2 - Bugs: bug #22582, Nicowar crashed in -test-games

 
 

bug #22582: Nicowar crashed in -test-games

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Thu 13 Mar 2008 03:53:01 PM UTC  
 
Severity: 3 - NormalStatus: Works For Me
Assigned to: NoneOpen/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.

 

Mon 31 Mar 2008 04:42:28 PM UTC, comment #2:

I do not have enough information to be able to debug this. I do know that there have been recent changes to nicowar, some of which may have fixed this bug. Test-games has not turned up this crash since. Also, your gdb output says that the source file is more recent then executable, so the line numbers it gives are useless.

Bradley Arsenault <genixpro>
Project Administrator
Thu 13 Mar 2008 06:55:42 PM UTC, comment #1:

I need that map textx

Bradley Arsenault <genixpro>
Project Administrator
Thu 13 Mar 2008 03:53:01 PM UTC, original submission:

testx is nothing special that i know of. tha was a very recent map i tested loading and saving of maps with.

Randomly Chosen Map: testx
Player: Giszmo2 for team 0
Player: AINumbi 0 for team 1
Player: AINumbi 1 for team 2
Player: Nicowar 2 for team 0
nox::game started
[New Thread 0x2ab281125c10 (LWP 10683)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x2ab281125c10 (LWP 10683)]
0x000000000044e9fa in NewNicowar::upgrade_buildings (this=0x9f7a20, echo=@0xa8a140) at src/AINicowar.cpp:1539
warning: Source file is more recent than executable.
1539 ManagementOrder* uro = new UpgradeRepair(id);
(gdb) bt
#0 0x000000000044e9fa in NewNicowar::upgrade_buildings (this=0x9f7a20, echo=@0xa8a140) at src/AINicowar.cpp:1539
#1 0x0000000000458ae8 in NewNicowar::tick (this=0x9f7a20, echo=@0xa8a140) at src/AINicowar.cpp:345
#2 0x000000000042f0c4 in AIEcho::Echo::getOrder (this=0xa8a140) at src/AIEcho.cpp:4886
#3 0x0000000000416a66 in AI::getOrder (this=0xa95500, paused=false) at src/AI.cpp:108
#4 0x000000000049b45f in Engine::run (this=0x7fff2ede4160) at src/Engine.cpp:300
#5 0x00000000004e8d79 in Glob2::runTestGames (this=0x7fff2ee193ef) at src/Glob2.cpp:143
#6 0x00000000004e91ec in Glob2::run (this=0x7fff2ee193ef, argc=2, argv=0x7fff2ee194d8) at src/Glob2.cpp:175
#7 0x00000000004e99ad in main (argc=2, argv=0x7fff2ee194d8) at src/Glob2.cpp:338

Leo Wandersleb <giszmo>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15260:  testx.map.gz added by giszmo (48KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by k776 (Updated the item)
  • -unavailable- added by genixpro (Posted a comment)
  • -unavailable- added by giszmo (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Mar 2008 04:42:28 PM UTCgenixproStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Thu 13 Mar 2008 10:58:48 PM UTCgiszmoAttached File-=>Added testx.map.gz, #15260
    Thu 13 Mar 2008 10:39:48 PM UTCk776ReleaseNone=>0.9.3 (Beta 3)
      Custom Text Area #1=>Nicowar crashed with a Arithmetic exception, while using -test-games and a custom map.
    Thu 13 Mar 2008 06:55:42 PM UTCgenixproStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1