Follow-up Comment #1, bug #23966 (project freeciv):
bt full
#0 __strncpy_sse2 (s1=0x7ffcd2647aff "", s1@entry=0x7ffcd2647b00 "",
s2=0x1 <error: Cannot access memory at address 0x1>, n=n@entry=47)
at ./strncpy.c:41
n4 = 11
c = <optimized out>
s = 0x7ffcd2647b00 ""
#1 0x00007f0f3722dfba in __strncpy_chk (s1=s1@entry=0x7ffcd2647b00 "",
s2=<optimized out>, n=n@entry=47, s1len=s1len@entry=4076) at
strncpy_chk.c:32
No locals.
#2 0x000000000047e08d in strncpy (__len=<optimized out>, __src=<optimized
out>,
__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' <repeats 13 times>, "
\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.</font>\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 = <optimized out>
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'
<repeats 47 times>,
prefered_soundset = '\000' <repeats 47 times>,
prefered_musicset = '\000' <repeats 47 times>,
popup_tech_help = false,
name = "Web-default", '\000' <repeats 36 times>,
version = '\000' <repeats 47 times>, desc_length = 47}
desc_left = <optimized out>
index = 0
#4 0x0000000000490d21 in send_rulesets (dest=0x2538470) at ruleset.c:7176
No locals.
#5 0x0000000000418527 in load_command (
caller=caller@entry=0x87a560 <connections>,
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' <repeats 27 times>,
"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' <repeats 50 times>...
__FUNCTION__ = "load_command"
#6 0x000000000041ab2c in handle_stdin_input_real (
caller=caller@entry=0x87a560 <connections>, str=<optimized out>,
str@entry=0x7ffcd264bd00 "/load JLV", check=check@entry=false,
read_recursion=read_recursion@entry=0) at stdinhand.c:4229
full_command = "load JLV", '\000' <repeats 40 times>,
"\377\377\377\377\377\377\377\377", '\000' <repeats 14 times>, "
\000\000\000\000\000\000\000\000\000N\000\000\000\374\177", '\000' <repeats 34
times>, "\001\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377N",
'\000' <repeats 11 times>, "\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' <repeats 13 times>...
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' <repeats 22 times>,
"\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' <repeats 28 times>,
"\300V\031\004\000\000\000\000\n\000\000\000\000\000\000\000\000+Freeci"...---Type
<return> to continue, or q <return> to quit---
arg = "JLV", '\000' <repeats 13 times>,
"\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 = <optimized out>
cptr_d = <optimized out>
cmd = CMD_LOAD
level = <optimized out>
__FUNCTION__ = "handle_stdin_input_real"
#7 0x000000000041d199 in handle_stdin_input (
caller=caller@entry=0x87a560 <connections>,
str=str@entry=0x7ffcd264bd00 "/load JLV") at stdinhand.c:4028
No locals.
#8 0x00000000004c1e00 in handle_chat_msg_req (
pconn=pconn@entry=0x87a560 <connections>, message=<optimized out>)
at handchat.c:343
real_message = "/load JLV", '\000' <repeats 95 times>,
"\024\353\060\070\017\177\000\000\016\204S\002\000\000\000\000\020\202S\002\000\000\000\000\016\204S\002\377\000\000\000\024\353\060\070\017\177\000\000\016\204S\002\000\000\000\000\020\202S\002\000\000\000\000\016\204S\002\377\000\000\000\064\276d\322\374\177\000\000\276Q\207\000\000\000\000\000\362Q\207\000\000\000\000\000\370o`\000\000\000\000\000"...
cp = <optimized out>
double_colon = <optimized out>
#9 0x000000000046f568 in server_handle_packet (
type=type@entry=PACKET_CHAT_MSG_REQ, packet=<optimized out>,
pplayer=pplayer@entry=0x0, pconn=pconn@entry=0x87a560 <connections>)
at hand_gen.c:40
No locals.
#10 0x000000000040c008 in server_packet_input (
pconn=pconn@entry=0x87a560 <connections>, packet=<optimized out>,
type=26)
at srv_main.c:1884
pplayer = <optimized out>
__FUNCTION__ = "server_packet_input"
#11 0x00000000004a624e in incoming_client_packets (pconn=<optimized out>)
at sernet.c:460
command_ok = <optimized out>
packet = {data = 0x25f6c60, type = PACKET_CHAT_MSG_REQ}
#12 server_sniff_all_input () at sernet.c:856
pconn = 0x87a560 <connections>
nb = <optimized out>
i = <optimized out>
s = <optimized out>
max_desc = <optimized out>
readfs = {fds_bits = {64, 0 <repeats 15 times>}}
writefs = {fds_bits = {0 <repeats 16 times>}}
exceptfs = {fds_bits = {0 <repeats 16 times>}}
tv = {tv_sec = 0, tv_usec = 17389}
__FUNCTION__ = "server_sniff_all_input"
#13 0x000000000040e5cd in srv_main () at srv_main.c:3187
__FUNCTION__ = "srv_main"
#14 0x0000000000406c19 in main (argc=20, argv=0x7ffcd264ed18) at
civserver.c:459
inx = 20
showhelp = <optimized out>
showvers = <optimized out>
option = <optimized out>
__FUNCTION__ = "main"
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23966>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev