bugGlobulation 2 - Bugs: bug #8066, Game crashes

 
 

bug #8066: Game crashes

Submitted by:  Lionel Eyraud <Nagael>
Submitted on:  Tue 09 Mar 2004 04:51:03 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.

 

Sun 20 Jun 2004 07:59:36 PM UTC, comment #4:

This assert() is not a crash. There is another (duplicated) report. This is now fixed in cvs, and will be aviable in alpha7.

Luc-Olivier de Charrière <nuage>
Project Administrator
Wed 24 Mar 2004 01:08:10 AM UTC, comment #3:

In the saved game Nagael provided me, this was caused by an inexisting "gid" on air units layer. I could not find where is comes from, beacause this mark already exists when I start the game. I added new assert() to find the bug as soon as possible. This way, I hop we'll be able to save a game with this bug. An earlier detection would say something like:
Unit.cpp: assert(owner->map->getAirUnit(posX, posY)==gid); failed.

Luc-Olivier de Charrière <nuage>
Project Administrator
Tue 23 Mar 2004 03:07:20 PM UTC, comment #2:

Globulation 2 - 0.8.4

Compiled on Mar 23 2004 at 15:35:22

Compiled with SDL version 1.2.7
Linked with SDL version 1.2.7

-------------------------------

It's still happening with the saved game I have. It is when I'm looking at units fighting. But maybe the integrity failure is in the saved game. I'll report more if I get this error with games played from the start. I'm sending you the game right now too.

Lionel Eyraud <Nagael>
Mon 22 Mar 2004 04:35:58 PM UTC, comment #1:

This assert() depends on what you'r looking at. It's raised when there is a basic-land-square locked by a (dead) inexistent unit. This is an integritiy failure between engine and map somehow. Since some integrity have beedn fixed in alpha4, please report:

1- if this is still happening or not.
2- if it's still happening, try to tell us what you'r looking at ? Is there any fight/towers/dying units/pathfinding-trouble event ?
3- You can send me the saved game to -unavailable- I'll check this out.
Thanks!

Luc-Olivier de Charrière <nuage>
Project Administrator
Tue 09 Mar 2004 04:51:03 PM UTC, original submission:

Globulation 2 - 0.8.2

Compiled on Mar 8 2004 at 10:15:00

Compiled with SDL version 1.2.7
Linked with SDL version 1.2.7

I sometimes get this failed assertion :

glob2: Game.cpp:1170: void Game::drawUnit(int, int, short unsigned int, int, int, int, bool, bool, bool): Assertion `unit' failed.
Abandon

It's not very easy to reproduce, but I have a save game where it (almost) always happen. Got a couple of cores dumped too.

Lionel Eyraud <Nagael>

 

(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

 

CC list is empty

 

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
Sun 20 Jun 2004 07:59:36 PM UTCnuageStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1