bugGlobulation 2 - Bugs: bug #17272, Assertion `gid<32768' failed

 
 

bug #17272: Assertion `gid<32768' failed

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Wed 02 Aug 2006 11:44:08 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 09 Oct 2007 11:56:37 PM UTC, comment #5:

haven't heard of it in a while and save game has changed so closing it.

Leo Wandersleb <giszmo>
Project Member
Sat 30 Dec 2006 02:56:32 AM UTC, comment #4:

http://www.leowandersleb.de/sonstiges/Auto_save.game

has the same problem. again with nicowar:

glob2: Building.cpp:2483: static Sint32 Building::GIDtoTeam(Uint16): Assertion `gid<32768' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 46960806209792 (LWP 5370)]
0x00002ab5e859e07b in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002ab5e859e07b in raise () from /lib/libc.so.6
#1 0x00002ab5e859f84e in abort () from /lib/libc.so.6
#2 0x00002ab5e8597af4 in __assert_fail () from /lib/libc.so.6
#3 0x000000000049a193 in Building::GIDtoTeam ()
#4 0x000000000044d0a4 in Nicowar::getBuildingFromGid ()
#5 0x0000000000416ba7 in Nicowar::DistributedUnitManager::getNeededUnits ()
#6 0x00000000004170f9 in Nicowar::DistributedUnitManager::available ()
#7 0x000000000041b2d9 in Nicowar::RandomUpgradeRepairModule::startNewConstruction ()
#8 0x000000000041ce84 in Nicowar::RandomUpgradeRepairModule::perform ()
#9 0x0000000000422b56 in Nicowar::AINicowar::getOrder ()
#10 0x000000000040b86b in AI::getOrder ()
#11 0x00000000004adfa7 in Engine::run ()
#12 0x00000000004ec80f in Glob2::run ()
#13 0x00000000004ecea9 in main ()

Leo Wandersleb <giszmo>
Project Member
Sat 05 Aug 2006 05:40:35 PM UTC, comment #3:

This, and another bug has been fixed in alpha21, which was released the same day as alpha 20.

Anonymous
Thu 03 Aug 2006 04:52:36 PM UTC, comment #2:

I got this bug playing mostly against nicowars, once with castors. I haven't done much research into it, but its caused by a unit with an invalid GID getting attacked. When the "event systen" tries to attain a pointer to the unit from this invalid GID so it can display a message, it outputs that error and crashes.

Bradley Arsenault <genixpro>
Project Administrator
Thu 03 Aug 2006 03:44:44 PM UTC, comment #1:

I've got the same bug playing vs 2 AICastor. I was playing with the markets. There may be a relation.

Steph

Stephane Magnenat <nct>
Project Administrator
Wed 02 Aug 2006 11:44:08 PM UTC, original submission:

glob2: Unit.cpp:2698: static Sint32 Unit::GIDtoTeam(Uint16): Assertion `gid<32768' failed.

got this while playing against 3 nicowars on 4 squares.

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:
   

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 giszmo (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 09 Oct 2007 11:56:37 PM UTCgiszmoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1