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


ERROR: Error in timer on entity 612, 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

ERROR: Error in timer on entity 547, 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

ERROR: Error in timer on entity 612, 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

ERROR: Error in timer on entity 547, 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

ERROR: Error in timer on entity 612, 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

ERROR: Error in timer on entity 547, 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

ERROR: Error in timer on entity 612, 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

ERROR: Error in timer on entity 547, 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

ERROR: Error in timer on entity 612, 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

 

Link to comment
Share on other sites

The sequences thing usually happens when you change the number of players mid editing.
Do you remember what you placed when the crash occured ? My bad i thought it was a generation error but actually you somehow managed to create more than 100% territory, which means something was creating extra territory

Link to comment
Share on other sites

30 minutes ago, Stan&#x60; said:

Ce problème de séquences survient généralement lorsqu'on modifie le nombre de joueurs en cours d'édition.
Te souviens-tu de ce que tu as placé au moment du plantage ? Autant pour moi, je pensais à une erreur de génération, mais en fait, tu as réussi à créer plus de 100 % du territoire, ce qui signifie que quelque chose créait du territoire supplémentaire.

I noticed something outside the map—I could see terrain in the darkness. But I encountered this bug when I added a 4th Command Center for Player 1.

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