Game freezes when exploring coast when not at coast

Bug #1196194 reported by P. van Tillo on 2013-06-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description


I was exploring the coast, the went northwest, and then I clicked "explore the islands coast clockwise".

That was my mistake, because I was not longer at the coast, but surrounded with water.

Result, the game freezes and I had to kill the proces.

P. van Tillo (pvtillo) wrote :
Nasenbaer (nasenbaer) wrote :

Unfortunally I can not reproduce this bug over here. And from code side of view, this should trigger an assert.
Any idea how to reproduce the bug?

Changed in widelands:
status: New → Incomplete
milestone: none → build18-rc1
tags: added: seafaring
P. van Tillo (pvtillo) wrote :

I reproduced the bug.

Wat I did was the following: let the ship explore. Head to the coast. When reached the coast. you get a message. Now click a direction away from the coast, and the directly click on explore coast clockwise or anticlockwise.
The the game freezes.

Nasenbaer (nasenbaer) on 2013-06-30
Changed in widelands:
assignee: nobody → Nasenbaer (nasenbaer)
Nasenbaer (nasenbaer) wrote :

Thank you for your reply P. van Tillo.
I was able to reproduce the bug the way you described it - therefore it should be quite easy to fix it.
Anyway, as I stated in #2: Widelands indeed runs into an assert - so it closes down, but does not freeze.
Any reason why the behaviour might be different at your computer? Did you use any patches to the source code? did you run Widelands in a debugger?

P. van Tillo (pvtillo) wrote :

Sorry for the inconvenience, I do not know what assert means. For me, the game stops, there is no movement anymore.

Widelands is not closing down. I have to kill the proces.

I forgot to mension, I work with Ubuntu.

I did not use any patches to the source code, and do not run Widelands in a debugger.

Nasenbaer (nasenbaer) wrote :

No need to say sorry :). Thank you P. van Tillo for reporting the bug and for providing more data.
The bug should be fixed in bzr revision 6593. :)

Changed in widelands:
importance: Undecided → Medium
status: Incomplete → Fix Committed
Nasenbaer (nasenbaer) on 2013-07-31
Changed in widelands:
assignee: Nasenbaer (nasenbaer) → nobody
SirVer (sirver) wrote :

Released in build-18 rc1.

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

Other bug subscribers