Save game very slow in debug mode and crashes in release version due to blocked bobs

Bug #1392470 reported by Joe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Medium
Unassigned

Bug Description

The attached save game runs at 1fps in debug mode. Loading the game in release mode crahes widelands.
I am using bzr7259 self compiled on OpenSuse 13.2.

Revision history for this message
Joe (joe-kleine-schweiz) wrote :
description: updated
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue.

The attached save game runs slow here too. I noticed the fps catch up when pausing the so it might be processing/AI which is the bottleneck (just speculation, so someone should take a look at it with a profiler).

I wasn't able to trigger the crash mentioned though. Could you please run Widelands in a terminal and attach the error message (if any) printed when the crash occurs? (Or attach a gdb backtrace?)

Changed in widelands:
importance: Undecided → Medium
status: New → Confirmed
tags: added: crash savegame
Revision history for this message
Joe (joe-kleine-schweiz) wrote :

Output from release build

Revision history for this message
Joe (joe-kleine-schweiz) wrote :

Output from crash / abort

Revision history for this message
Joe (joe-kleine-schweiz) wrote :

gdb output for backtrace

Revision history for this message
Joe (joe-kleine-schweiz) wrote :

I have attached the requested outputs.

The AI bottleneck might be caused by the enemy soldiers at (159,158). Looks like they want to attack me, but cannot find a way through the rocks.

Revision history for this message
SirVer (sirver) wrote :

The game does not crash for me, but it runs very slow. 20% of the CPU time is spend in BlockedTracker::CoordOrdering which means that many bobs are blocked and cannot make progress. The implementation of blocked bobs needs to change to be more efficient.

GunChleoc (gunchleoc)
summary: - Save game very slow in debug mode and crashes in release version
+ Save game very slow in debug mode and crashes in release version due to
+ blocked bobs
tags: added: economy
tags: added: performance
GunChleoc (gunchleoc)
Changed in widelands:
milestone: none → build21-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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