URL:
<http://gna.org/bugs/?24309>
Summary: Freeciv-web server using max cpu
Project: Freeciv
Submitted by: andreasr
Submitted on: Thu 14 Jan 2016 10:42:45 PM UTC
Category: freeciv-web
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: GNU/Linux
Planned Release:
_______________________________________________________
Details:
In the current version of Freeciv-web, sometimes the Freeciv C server begins
using 100% CPU and several gigabytes of memory. This is with Freeciv server
svn revision 30535.
Here is a backtrace from attaching to such as process:
(gdb) bt full
#0 utf8_check_string (string=string@entry=0x7ffef2285ec0 "<font
color=\"#FF0000\">You can't modify your spaceship after launch!</font>",
length=length@entry=74) at utf.c:174
count = 1
i = 62
#1 0x00007f059f346e96 in json_stringn (value=0x7ffef2285ec0 "<font
color=\"#FF0000\">You can't modify your spaceship after launch!</font>",
len=74) at value.c:699
No locals.
#2 0x000000000060ea82 in dio_put_string_json ()
No symbol table info available.
#3 0x0000000000589f89 in send_packet_chat_msg_100 ()
No symbol table info available.
#4 0x00000000004092d8 in notify_conn_packet ()
No symbol table info available.
#5 0x0000000000409a19 in notify_player ()
No symbol table info available.
#6 0x0000000000433714 in adv_spaceship_autoplace ()
No symbol table info available.
#7 0x000000000041156b in srv_main ()
No symbol table info available.
#8 0x0000000000407e89 in main ()
No symbol table info available.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24309>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev