[Freeciv-Dev] [bug #23884] Some segmentation faults seen in production

2015-09-20 Thread Marko Lindqvist
Follow-up Comment #1, bug #23884 (project freeciv):

All of these are unit data out-of-sync issues. Numbers 1 and 3 have ai_task of
the unit set to one that requires destination tile, but destination tile is
NULL (maybe it gets improperly set to NULL somewhere where entire task should
be changed to AIUNIT_NOT instead). Number 2 is about unit having an targeted
activity, but no target (this has high probability of being freeciv-web
specific, as it has its own target setting logic since the web-client lacks
the functionality to request correct target)

While the root-cause(s) are unknown, I at least updated the freeciv-web patch
so that units won't get forever stuck to unusable state, AI just bypassing
their handling, in cases 1 & 3.

___

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 #23884] Some segmentation faults seen in production

2015-09-20 Thread Andreas Røsdal
Follow-up Comment #2, bug #23884 (project freeciv):

Thanks! Pushed to production.

___

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 #23884] Some segmentation faults seen in production

2015-09-19 Thread Andreas Røsdal
URL:
  

 Summary: Some segmentation faults seen in production
 Project: Freeciv
Submitted by: andreasr
Submitted on: Sat 19 Sep 2015 07:10:26 AM UTC
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: trunk
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

I'm seeing a slight increase in the number of crashes in production with the
current Freeciv server running on play.freeciv.org. This is running SVN
revision 29829 of the Freeciv server.

I'm attaching backtraces from three separate segmentation faults seen in
production on Freeciv-web.

I have added a quick-fix to try to temporarily fix these crashes here:
https://github.com/freeciv/freeciv-web/commit/fb7de683581b7830160ad96a46998a3c7a3cd799



___

File Attachments:


---
Date: Sat 19 Sep 2015 07:10:26 AM UTC  Name: segfault1.txt  Size: 3kB   By:
andreasr


---
Date: Sat 19 Sep 2015 07:10:26 AM UTC  Name: segfault2.txt  Size: 3kB   By:
andreasr


---
Date: Sat 19 Sep 2015 07:10:26 AM UTC  Name: segfault3.txt  Size: 3kB   By:
andreasr



___

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