glob2 assert failure: glob2: src/Building.cpp:2848: void Building::integrity(): Assertion `(*it)->targetBuilding==this' failed.

Bug #563808 reported by Lorenco Trichardt on 2010-04-15
This bug affects 8 people
Affects Status Importance Assigned to Milestone
glob2 (Debian)
Fix Released
glob2 (Ubuntu)

Bug Description

Binary package hint: glob2

Playing a network game

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: glob2
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
AssertionMessage: glob2: src/Building.cpp:2848: void Building::integrity(): Assertion `(*it)->targetBuilding==this' failed.
Date: Thu Apr 15 15:13:51 2010
ExecutablePath: /usr/games/glob2
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcCmdline: glob2
Signal: 6
SourcePackage: glob2
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/
 abort () from /lib/tls/i686/cmov/
 __assert_fail () from /lib/tls/i686/cmov/
 ?? ()
Title: glob2 assert failure: glob2: src/Building.cpp:2848: void Building::integrity(): Assertion `(*it)->targetBuilding==this' failed.
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Lorenco Trichardt (trichalo) wrote :
chrigu (ch-ba) wrote :


glob2: src/Game.cpp:2201: void Game::drawMapGroundBuildings(int, int, int, int, int, int, int, int, int, Uint32, std::set<Building*, std::less<Building*>, std::allocator<Building*> >*): Assertion `building' failed.

Seam to be the same group of fault.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glob2 (Ubuntu):
status: New → Confirmed
Fiona Klute (fiona-klute) wrote :

I see this kind of crash when there is a high number of active units in the game. I can't really give a precise number post-crash, but most likely >200.

Changed in glob2 (Debian):
status: Unknown → New
Volodya (volodya) wrote :

This bug does occur when you have large number of players in the game, but i find that the chances are much higher if you begin to do something which "changes the strategy" in some way (moving into the new territory, etc).

I'm attaching the saved game which causes this bug every time within a fraction of a second, with the hope that it will help to resolve the issue.

tags: added: apport-collected trusty

ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2015-01-19 (336 days ago)
InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
Package: glob2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.13.0-71.114-generic 3.13.11-ckt29
Tags: trusty
Uname: Linux 3.13.0-71-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

apport information

apport information

Changed in glob2 (Debian):
status: New → Fix Released
spbike (bill-broadley) wrote :

Not fixed. I'm using ubuntu 20.04 box and I had 47 workers and 27 soldiers and I have an autosave that dies with the same error within 30 seconds or so. I'm using:


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.