URL:
<http://gna.org/bugs/?24418>
Summary: Global warming crashes Freeciv server
Project: Freeciv
Submitted by: andreasr
Submitted on: Tue 16 Feb 2016 08:05:01 PM UTC
Category: freeciv-web
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:
Global warming currently crashes the Freeciv server when running in
Freeciv-web. This was originally reported in the forum here:
http://forum.freeciv.org/f/viewtopic.php?f=24&t=781
The crash occurs in the latest version of Freeciv-web, which uses Freeciv
server svn rev 30568.
Pressing end-turn in the savegame causes global warming, which crashes the
server. The server does not segfault, but seems to be locked in an endless
loop.
Attaching gdb to the process shows this backtrace:
(gdb) bt
#0 0x00007f26e2562743 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x00000000004c3855 in flush_packets ()
#2 0x000000000048d8d0 in check_terrain_change ()
#3 0x000000000048dd93 in climate_change ()
#4 0x000000000048de22 in global_warming ()
#5 0x000000000040b7a5 in update_environmental_upset ()
#6 0x00000000004113cc in srv_main ()
#7 0x0000000000406f74 in main ()
I'm attaching the savegame (which is also attached in the forum thread).
buzman.sav.xz is the Freeciv savegame, file the other file is the json wrapped
savegame stored in the browser localstorage.
I have disabled global warming in Freeciv-web temporarily.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 16 Feb 2016 08:05:01 PM UTC Name: buzman.sav.xz Size: 57kB By:
andreasr
<http://gna.org/bugs/download.php?file_id=26739>
-------------------------------------------------------
Date: Tue 16 Feb 2016 08:05:01 PM UTC Name: freecivweb-aaaaabuzman of the
Lendian in year- 1740CE (T248).js Size: 76kB By: andreasr
<http://gna.org/bugs/download.php?file_id=26740>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24418>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev