bugGlobulation 2 - Bugs: bug #37145, Destroying Racetrack in...

 
 

bug #37145: Destroying Racetrack in "Flags and Completion" tutorial always crashes Globulation 2

Submitted by:  None
Submitted on:  Sun 19 Aug 2012 12:03:58 AM UTC  
 
Severity: 3 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 0.9.4 (Beta 4)Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 21 Aug 2012 12:05:29 AM UTC, comment #2:

The patch named fullyremove.patch is for revision b2f8ce1340f5 in https://bitbucket.org/giszmo/glob2 .

Nathan <globber>
Mon 20 Aug 2012 11:46:37 PM UTC, comment #1:

The assertion fails because the team removed the building from its list of buildings, but the building is still on the map. Building::kill() tried to remove it, but the building's type said its dimensions were 4x4, but there were 36 squares of Racetrack on the map. This made the dimensions of the Racetrack on the map effectively 6x6. After Building::kill() removed a 4x4 square of the Racetrack, 20 squares of the Racetrack were left on the map. One of those squares triggered the assertion. The Racetrack is level 1, which means it is only 4x4, not 6x6. The attached patch will ensure that each destroyed building is completely removed from the map even if the building and the map don't agree on the dimensions of the building.

(file #26403)

Nathan <globber>
Sun 19 Aug 2012 12:03:58 AM UTC, original submission:

Here's how to make it crash:

  1. Start the Flags and Completion tutorial.
  2. Press Space until the tutorial says "On the top row, there are flags."
  3. Select your Swarm.
  4. Set Working to 18.
  5. Set the Warrior bar to 2.
  6. Place a War Flag on the enemy's Racetrack.
  7. Set the Range to 0.
  8. Set Working to 20.
  9. Set Minimum Required Level to 2.

The game will always crash when the enemy's Racetrack is destroyed.
This crash happens regardless of whether OpenGL is enabled or whether the game is fullscreen. The game aborts with the same assertion as in bug 25730, but crashes in a different method. Bug 25730 and this one might be caused by the same problem.
I have the version of Globulation 2 from the openSUSE 11.4 repositories which is in the RPM package glob2-0.9.4.4-1.pm.3.3.x86_64. The packaged executable is stripped of debugging information, but I can't get the package with the debugging information because Version 12.1 of openSUSE doesn't have Globulation 2 in the official repositories. The backtrace looks like this:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26403:  fullyremove.patch added by globber (555B - text/x-patch - Removes all traces of destroyed building from map.)
file #26385:  consolecrashinfo added by None (640B - application/octet-stream - consolecrashinfo shows what Globulation 2 printed on the console before it crashed. globulationversion is the output of "glob2 -version". Auto_save.game is the game saved right before crashing.)
file #26386:  Auto_save.game added by None (647kB - application/octet-stream - consolecrashinfo shows what Globulation 2 printed on the console before it crashed. globulationversion is the output of "glob2 -version". Auto_save.game is the game saved right before crashing.)
file #26387:  globulationversion added by None (480B - application/octet-stream - consolecrashinfo shows what Globulation 2 printed on the console before it crashed. globulationversion is the output of "glob2 -version". Auto_save.game is the game saved right before crashing.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by globber (Updated 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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Aug 2012 11:46:37 PM UTCglobberAttached File-=>Added fullyremove.patch, #26403
    Sun 19 Aug 2012 12:03:58 AM UTCNoneAttached File-=>Added consolecrashinfo, #26385
      Attached File-=>Added Auto_save.game, #26386
      Attached File-=>Added globulationversion, #26387

    Back to the top


    Powered by Savane 3.1-cleanup