Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5489) server crash with /take
Home

[Freeciv-Dev] (PR#5489) server crash with /take

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#5489) server crash with /take
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Thu, 28 Aug 2003 07:31:10 -0700
Reply-to: rt@xxxxxxxxxxxxxx

CVS 28 AUG 2003 w/ conndlg12-2

I loaded a game, connected, and started.
Then connect another client and /take AI player:

> 
2: Alfred of Wessex von localhost erbittet Verbindung.
2: c2 hat Client 1.14.99-devel.
2: Alfred of Wessex von localhost hat Verbindung aufgenommen.
> 
Alfred of Wessex: '/take Al'
Speicherzugriffsfehler (core dumped)

1268      len = strlen(prefix);
(gdb) bt
#0  0x0804c66d in match_prefix (accessor_fn=0x80b1940 <pname_accessor>,
n_names=5, 
    max_len_name=31, cmp_fn=0x804c820 <mystrncasecmp>, 
    prefix=0x6b617465 <Address 0x6b617465 out of bounds>,
ind_result=0xbfffd0e8)
    at shared.c:1268
#1  0x080b198c in find_player_by_name_prefix (
    name=0x6b617465 <Address 0x6b617465 out of bounds>, result=0xbfffd140)
at player.c:195
#2  0x080549bf in take_command (caller=0x810b94c, str=0xbfffddac "Al") at
stdinhand.c:3477
#3  0x0805594f in handle_stdin_input (caller=0x810b94c, str=0x83df5f8 "/take
Al")
    at stdinhand.c:3952
#4  0x08072ee4 in handle_chat_msg (pconn=0x810b94c, packet=0x83df5f8) at
handchat.c:184
#5  0x0804eb5f in handle_packet_input (pconn=0x810b94c, packet=0x83df5f8,
type=16)
    at srv_main.c:750
#6  0x08093eef in sniff_packets () at sernet.c:608
#7  0x0804fcc6 in main_loop () at srv_main.c:1500
#8  0x08050450 in srv_loop () at srv_main.c:1836
#9  0x0804fec5 in srv_main () at srv_main.c:1622
#10 0x0804a297 in main (argc=3, argv=0xbffff604) at civserver.c:154
#11 0x400a07ee in __libc_start_main () from /lib/libc.so.6

There was an AI player 'Alfred of Wessex' in the game.

Christian

-- 
Christian Knoke          * * *          http://www.cknoke.de
* Please note new mail address - Neue Mailadresse beachten *
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



[Prev in Thread] Current Thread [Next in Thread]