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

Bug #563808 reported by Lorenco Trichardt
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Globulation
Unknown
Unknown
glob2 (Debian)
Fix Released
Unknown
glob2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: glob2

Playing a network game

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: glob2 0.9.4.4-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
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
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_ZA.utf8
Signal: 6
SourcePackage: glob2
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 __assert_fail () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
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

Revision history for this message
Lorenco Trichardt (trichalo) wrote :
Revision history for this message
chrigu (ch-ba) wrote :

Offline-Game:

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.
Aborted

Seam to be the same group of fault.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in glob2 (Ubuntu):
status: New → Confirmed
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Volodya (volodya) wrote : apport information

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 0.9.4.4-2.2build1
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

Revision history for this message
Volodya (volodya) wrote : Dependencies.txt

apport information

Revision history for this message
Volodya (volodya) wrote : ProcEnviron.txt

apport information

Changed in glob2 (Debian):
status: New → Fix Released
Revision history for this message
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:

Version: 0.9.4.4-3ubuntu1

To post a comment you must log in.
This report contains Public information  
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.