Jump to content

Atlas crash: Assertion failed: "percentage <= 100"


lilypoppy
 Share

Recommended Posts

Summary
Atlas crashed after ~3 hours of map editing with an assertion failure in the territory manager. The map could no longer be opened in Atlas. I recovered it by using Mercator to delete the entities I had added, and the map opened fine again.

Environment

  • 0 A.D. via Snap, revision 753

  • OS: Linux (AppArmor-confined Snap)

  • GPU: Intel Haswell (MESA-INTEL Vulkan warning present, but game runs on OpenGL)

Steps / context

  1. Editing a map in Atlas  (adding entities/territories).

  2. Atlas crashed with the assertion below.

  3. Reopening the map in Atlas failed (same crash).

  4. Used Mercator to remove the entities added during the session.

  5. Map reopened successfully — work recovered.

Relevant log excerpt

logs
(atlas:13314): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
GAME STARTED, ALL INIT COMPLETE

(atlas:13314): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
ERROR: Error in timer on entity 476, IID93, function UpdateSequences: TypeError: this.sequences is undefined
  StatisticsTracker.prototype.UpdateSequences@simulation/components/StatisticsTracker.js:522:2
  Timer.prototype.OnUpdate@simulation/components/Timer.js:140:44

[... repeated 6 times ...]

Assertion failed: "percentage <= 100"
Location: CCmpTerritoryManager.cpp:652 (GetTerritoryPercentage)

Call stack:
(0x5ea7f180b18e) /snap/0ad/753/binaries/system/pyrogenesis(+0x90018e)
(0x5ea7f17f74bf) /snap/0ad/753/binaries/system/pyrogenesis(+0x8ec4bf)
(0x5ea7f17f9222) /snap/0ad/753/binaries/system/pyrogenesis(+0x8ee222)
(0x5ea7f17f9ac5) /snap/0ad/753/binaries/system/pyrogenesis(+0x8eeac5)
(0x5ea7f11e9af2) /snap/0ad/753/binaries/system/pyrogenesis(+0x2deaf2)
(0x5ea7f111b1e8) /snap/0ad/753/binaries/system/pyrogenesis(+0x2101e8)
(0x1960381a0a02) [0x1960381a0a02]

errno = 11 (Try again later)
OS error = ?

Killed
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...