<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39432 >


2.1.0-beta4 SVN 03 JUL 2007 GTK2

When I start a new game in civclient GUI, an pick a nation and leader
for my user, the civserver crashes.

Reproducible. Backtrace attached. Core available.

Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

Core was generated by `civserver -p 5557 -q 1 -e --saves ~/.freeciv/saves'.

Program terminated with signal 11, Segmentation fault.



warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler



Reading symbols from /lib/libreadline.so.5...done.

Loaded symbols for /lib/libreadline.so.5

Reading symbols from /lib/tls/libm.so.6...done.

Loaded symbols for /lib/tls/libm.so.6

Reading symbols from /usr/lib/libz.so.1...done.

Loaded symbols for /usr/lib/libz.so.1

Reading symbols from /lib/tls/libc.so.6...done.

Loaded symbols for /lib/tls/libc.so.6

Reading symbols from /lib/libncurses.so.5...done.

Loaded symbols for /lib/libncurses.so.5

Reading symbols from /lib/ld-linux.so.2...done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /lib/tls/libnss_files.so.2...done.

Loaded symbols for /lib/tls/libnss_files.so.2

#0  bounds_check_nation (pnation=0x0, loglevel=0, func_name=0x817a86c 
"nation_of_player") at nation.c:52

52        if (pnation->index < 0

(gdb) bt full

#0  bounds_check_nation (pnation=0x0, loglevel=0, func_name=0x817a86c 
"nation_of_player") at nation.c:52

No locals.

#1  0x080bd8ba in nation_of_player (plr=0x82834c8) at nation.c:254

No locals.

#2  0x08051f17 in is_allowed_player_name (pplayer=0x828066c, nation=0x84d6ae8, 
name=0x83d6089 "Luitpold", 

    error_buf=0xbfffe370 "", bufsz=1024) at srv_main.c:1218

        other_player = (struct player *) 0x82834c8

        PI_p_itr = 1

        pconn = (struct connection *) 0x81a9200

#3  0x08052258 in handle_nation_select_req (requestor=0x0, player_no=0, 
nation_no=0, is_male=true, 

    name=0x83d6089 "Luitpold", city_style=0) at srv_main.c:1348

        message = '\0' <repeats 128 times>, "\b", '\0' <repeats 127 times>, 
"[EMAIL PROTECTED]@[EMAIL PROTECTED])<\bL*<[EMAIL PROTECTED]<\bô4<[EMAIL 
PROTECTED](\035P"...

        new_nation = (struct nation_type *) 0x84d6ae8

        pplayer = (struct player *) 0x828066c

#4  0x08078b43 in server_handle_packet (type=PACKET_NATION_SELECT_REQ, 
packet=0x7d, pplayer=0x828066c, pconn=0x1)

    at hand_gen.c:24

No locals.

#5  0x08051b83 in handle_packet_input (pconn=0x81a9200, packet=0x1, type=10) at 
srv_main.c:1114

        pplayer = (struct player *) 0x828066c

#6  0x0809dde4 in handle_incoming_client_packets (pconn=0x81a9200) at 
sernet.c:389

        command_ok = false

        packet = {data = 0x83d6080, type = PACKET_NATION_SELECT_REQ}

#7  0x0809e1d5 in sniff_packets () at sernet.c:732

        i = 135959040

        max_desc = 3

        readfs = {__fds_bits = {8, 0 <repeats 31 times>}}

        writefs = {__fds_bits = {0 <repeats 32 times>}}

        exceptfs = {__fds_bits = {0 <repeats 32 times>}}

        tv = {tv_sec = 0, tv_usec = 455000}

        year = 0

#8  0x080533c7 in srv_loop () at srv_main.c:1845

No locals.

#9  0x08052dba in srv_main () at srv_main.c:1777

        pplayer = (struct player *) 0x0

        PI_p_itr = 0

#10 0x0804aa9b in main (argc=135630382, argv=0xbffffc14) at civserver.c:256

---Type <return> to continue, or q <return> to quit---

        inx = 8

        showhelp = false

        showvers = false

        option = 0x5 <Address 0x5 out of bounds>

(gdb) 

(gdb) quit

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to