[Freeciv-Dev] [bug #23966] Segfault when loading in Freeciv web

2015-10-27 Thread Andreas Røsdal
Follow-up Comment #2, bug #23966 (project freeciv):

Attaching a savegame where this crash can be reproduced.

(file #25495)
___

Additional Item Attachment:

File name: lambrus.sav.xz Size:299 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 #23966] Segfault when loading in Freeciv web

2015-10-27 Thread Marko Lindqvist
Follow-up Comment #3, bug #23966 (project freeciv):

First error it gives is about xz-compression:

XZ: "Progress not possible" (10)

Does freeciv-web in production have bug #23891 fixed?

___

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 #23966] Segfault when loading in Freeciv web

2015-10-27 Thread Andreas Røsdal
Follow-up Comment #4, bug #23966 (project freeciv):

>Does freeciv-web in production have bug #23891 fixed?

No. So this seems to be a very likely cause. Thanks!

___

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 #23966] Segfault when loading in Freeciv web

2015-10-24 Thread Andreas Røsdal
Follow-up Comment #1, bug #23966 (project freeciv):

bt full
#0  __strncpy_sse2 (s1=0x7ffcd2647aff "", s1@entry=0x7ffcd2647b00 "",
    s2=0x1 , n=n@entry=47)
    at ./strncpy.c:41
    n4 = 11
    c = 
    s = 0x7ffcd2647b00 ""
#1  0x7f0f3722dfba in __strncpy_chk (s1=s1@entry=0x7ffcd2647b00 "",
    s2=, n=n@entry=47, s1len=s1len@entry=4076) at
strncpy_chk.c:32
No locals.
#2  0x0047e08d in strncpy (__len=, __src=,
    __dest=0x7ffcd2647b00 "") at
/usr/include/x86_64-linux-gnu/bits/string3.h:120
No locals.
#3  send_ruleset_control (dest=dest@entry=0x2538470) at ruleset.c:3512
    part = {
  text =
"\000\000\000\000\000\000\000\000`{d\322\374\177\000\000\377\377\377\377\377\377\377\377\016",
'\000' , "
\000\000\000\000\000\000\000\000\000Ёd\322\374\177\000\000uta\000\000\000\000\000\002\000\000\000\000\000\000\000\020\000\000\000\"#FFyta\000\000\000\000\000*5
has been removed from the
game.\000APd\000\000\000`\202d\322\374\177\000\000
\204d\322\374\177\000\000`\202d\322\374\177\000\000W\205^\000\000\000\000\000\b\204d\322\374\177\000\000\001\000\000\000\000\000\000\000\377\003\000\000\000\000\000\000\030\000\000\000\060\000\000\000І"...}
    this_len = 
    packet = {num_unit_classes = 0, num_unit_types = 0,
num_impr_types = 0,
  num_tech_types = 0, num_extra_types = 14, num_base_types =
0,
  num_road_types = 0, num_goods_types = 1, num_disaster_types
= 0,
  num_achievement_types = 0, num_multipliers = 0, num_styles
= 0,
  num_music_styles = 0, government_count = 0, nation_count =
0,
  styles_count = 0, terrain_count = 0, resource_count = 0,
  num_specialist_types = 0, prefered_tileset = '\000'
,
  prefered_soundset = '\000' ,
  prefered_musicset = '\000' ,
popup_tech_help = false,
  name = "Web-default", '\000' ,
  version = '\000' , desc_length = 47}
    desc_left = 
    index = 0
#4  0x00490d21 in send_rulesets (dest=0x2538470) at ruleset.c:7176
No locals.
#5  0x00418527 in load_command (
    caller=caller@entry=0x87a560 ,
    filename=filename@entry=0x7ffcd264b1e0 "JLV", check=check@entry=false)
    at stdinhand.c:3662
    loadtimer = 0x6efde80
    uloadtimer = 0x33ac6a0
    file = 0x25f42b0
    arg =
"/home/freeciv/freeciv-web/freeciv-web/resin/webapps/ROOT/savegames/JLV.sav.xz",
'\000' ,
"I\a\032\067\017\177\000\000p\223d\322\374\177\000\000`\223d\322\374\177\000\000)0\027\067\017\177\000\000\071\341]\000\000\000\000\000\020\341]\000\000\000\000\000\352\364\026\067\017\177",
'\000' ...
    __FUNCTION__ = "load_command"
#6  0x0041ab2c in handle_stdin_input_real (
    caller=caller@entry=0x87a560 , str=,
    str@entry=0x7ffcd264bd00 "/load JLV", check=check@entry=false,
    read_recursion=read_recursion@entry=0) at stdinhand.c:4229
    full_command = "load JLV", '\000' ,
"\377\377\377\377\377\377\377\377", '\000' , "
\000\000\000\000\000\000\000\000\000N\000\000\000\374\177", '\000' , "\001\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377N",
'\000' , "\374\177
\000\000\000\000\000\000\000\000\000`\260d\322\374\177\000\000cy`\000\000\000\000\000\002\000\000\000\000\000\000\000O\000\000\000\017\177\000\000fy`",
'\000' ...
    command =
"load\000\000\000\000\300V\031\004\000\000\000\000\000\020\000\000\000\000\000\000\006)\031\067\017\177\000\000\020\000\000\000\000\000\000\000i%\000\000\000\000\000\000\001\000\000\000\000\000\000\000\244\201",
'\000' ,
"\372\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\b\000\000\000\000\000\000\000\252\312)V\000\000\000\000\b\302>8\000\000\000\000)y(V\000\000\000\000\340\201\321\b\000\000\000\000)y(V\000\000\000\000\340\223K\t",
'\000' ,
"\300V\031\004\000\000\000\000\n\000\000\000\000\000\000\000\000+Freeci"...---Type
 to continue, or q  to quit---

    arg = "JLV", '\000' ,
"\340\263d\322\374\177\000\000P\262d\322\374\177\000\000\340\223Z\002\000\000\000\000p\224Z\002\000\000\000\000search
your-server.de\n\000\061\060\060\n\000BY HAND -- YOUR CHANGES WILL BE
OVERWRITTEN\n\000nf(8)\n\000|\000\000\000\374\177\000\000\300\225Z\002\000\000\000\000\200\224Z\002\000\000\000\000@Dž0\017\177\000\000`\264d\322\374\177\000\000\200\265d\322\374\177\000\000\000\024[\002\000\000\000\000)\333\024\067\017\177\000\000\000challeng"...
    cptr_s = 
    cptr_d = 
    cmd = CMD_LOAD
    level = 
    __FUNCTION__ = "handle_stdin_input_real"
#7  0x0041d199 in handle_stdin_input (
    caller=caller@entry=0x87a560 ,
    str=str@entry=0x7ffcd264bd00 "/load JLV") at stdinhand.c:4028
No locals.
#8  0x004c1e00 in handle_chat_msg_req (
    pconn=pconn@entry=0x87a560 , message=)
    at handchat.c:343
    real_message = "/load JLV", '\000' ,

[Freeciv-Dev] [bug #23966] Segfault when loading in Freeciv web

2015-10-24 Thread Andreas Røsdal
URL:
  

 Summary: Segfault when loading in Freeciv web
 Project: Freeciv
Submitted by: andreasr
Submitted on: Sat 24 Oct 2015 11:07:49 AM UTC
Category: general
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:

The following segfault occurs regularly when loading å game in Freeciv web:




pplayer = 
__FUNCTION__ = "server_packet_input"
#11 0x004a624e in incoming_client_packets (pconn=)
at sernet.c:460
command_ok = 
packet = {data = 0x25f6c60, type = PACKET_CHAT_MSG_REQ}
#12 server_sniff_all_input () at sernet.c:856
pconn = 0x87a560 
nb = 
i = 
s = 
max_desc = 
readfs = {fds_bits = {64, 0 }}
writefs = {fds_bits = {0 }}
exceptfs = {fds_bits = {0 }}
tv = {tv_sec = 0, tv_usec = 17389}
__FUNCTION__ = "server_sniff_all_input"
#13 0x0040e5cd in srv_main () at srv_main.c:3187
__FUNCTION__ = "srv_main"
#14 0x00406c19 in main (argc=20, argv=0x7ffcd264ed18) at
civserver.c:459
inx = 20
showhelp = 
showvers = 
option = 
__FUNCTION__ = "main"




___

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