crash with r8903

Bug #1800571 reported by Toni Förster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Critical
Unassigned

Bug Description

The game crashes with r8903. This is the output from the console:

Assertion failed: (ware_filled_ < ware_capacity_), function add_ware, file /Users/toni/Launchpad/widelands-repo/working_tree/src/economy/flag.cc, line 394.
Abort trap: 6

Savegame an detailed log are attached. (The savegame crashes at the 2:01:18 mark)

Tags: crash economy
Revision history for this message
Toni Förster (stonerl) wrote :
GunChleoc (gunchleoc)
tags: added: crash economy
Changed in widelands:
milestone: none → build20-rc1
Revision history for this message
Notabilis (notabilis27) wrote :

I have the bad feeling that might be due to my newest merge, not that I have any idea how. The bug happened to me after a few minutes of leaving the game running.

By the way: Thanks for reporting all these bugs!

Changed in widelands:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Notabilis (notabilis27)
Revision history for this message
Toni Förster (stonerl) wrote :

It's the changes you mentioned. r8902 doesn't crash.

Revision history for this message
Notabilis (notabilis27) wrote :

Thanks for confirming that.
What was the saying about premature optimization? -_-
I think I found the bug, will do some more testing (should have done this last time already, sorry) and then push a branch.

Revision history for this message
Toni Förster (stonerl) wrote :

Just tested r8904. And everything is fine now.

Revision history for this message
GunChleoc (gunchleoc) wrote :

> What was the saying about premature optimization? -_-

Probably similar to the one about side effects :P

Changed in widelands:
status: Confirmed → Fix Committed
assignee: Notabilis (notabilis27) → nobody
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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