[Freeciv-Dev] [bug #21040] crash after building city on fortress tile

2013-08-27 Thread Marko Lindqvist
Update of bug #21040 (project freeciv):

  Status:  Ready For Test => Fixed  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21040] crash after building city on fortress tile

2013-08-24 Thread Marko Lindqvist
Update of bug #21040 (project freeciv):

Category:None => general
  Status:None => Ready For Test 
 Planned Release: => 2.5.0, 2.6.0   

___

Follow-up Comment #3:

Patch to remove bases before city claims borders, so that base removal does
not remove what city claimed.

(file #18755, file #18756)
___

Additional Item Attachment:

File name: BaseRmBeforeCityClaim.patchSize:1 KB
File name: BaseRmBeforeCityClaim-S2_5.patch Size:1 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21040] crash after building city on fortress tile

2013-08-19 Thread Bo Di Bo
Follow-up Comment #2, bug #21040 (project freeciv):

For your information: Please note that in earlier versions of freeciv this
type of action has never caused a crash for me.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21040] crash after building city on fortress tile

2013-08-19 Thread Marko Lindqvist
Follow-up Comment #1, bug #21040 (project freeciv):

I haven't checked but this sounds like tile ownership from the city is set
first, then ownership is removed as part of base removal leading the city tile
without ownership.
Obvious solution for this (and maybe not-yet-encountered similar ones) would
be adding refcount about tile ownership, but I'd rather not make tile
structure bigger (more memory hungry) just for corner-case like this.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21040] crash after building city on fortress tile

2013-08-19 Thread Bo Di Bo
URL:
  

 Summary: crash after building city on fortress tile
 Project: Freeciv
Submitted by: bodibo
Submitted on: Mon 19 Aug 2013 01:11:55 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: svn - revision 23210
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

See saved game - if you use the settler to build a city on the fortress tile,
the following error is reported:

in auto_arrange_workers() [cityturn.c::319]: assertion '((void *)0) !=
((pcenter)->owner)' failed.
(  23,   21) in "Southampton"[1]
Please report this message at http://gna.org/projects/freeciv/
in auto_arrange_workers() [cityturn.c::398]: assertion '((void *)0) !=
((pcenter)->owner)' failed.
(  23,   21) in "Southampton"[1]
Please report this message at http://gna.org/projects/freeciv/
You have founded Southampton.
in create_city() [citytools.c::1403]: assertion '((void *)0) !=
((pcenter)->owner)' failed.
(  23,   21) in "Southampton"[1]
Please report this message at http://gna.org/projects/freeciv/

Pressing turn done results in a crash.


Notes:
* Source code downloaded via svn - revision 23210:
  svn co svn://svn.gna.org/svn/freeciv/trunk freeciv
* Package installed via:
./autogen.sh --disable-nls --mandir=/usr/local/share/man --enable-client=gtk3
  make 
  make install
* freeciv started via freeciv-gtk3


Operating system:
* OpenSuSe 12.3 linux 32-bit with all updates installed



___

File Attachments:


---
Date: Mon 19 Aug 2013 01:11:55 PM GMT  Name:
freeciv-T0185-Y01350-manual.sav.gz  Size: 168kB   By: bodibo



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev