Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9371) server crash cvs-20040712
Home

[Freeciv-Dev] Re: (PR#9371) server crash cvs-20040712

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#9371) server crash cvs-20040712
From: "User Eugene" <eugene@xxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Jul 2004 15:54:39 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9371 >

i recompiled freeciv and it still coredumps... this time i hope i get better 
gdb results...

freeciv version: cvs-Jul-15

cflags: -O2 -march=athlon-tbird -g

configure parameters: ./configure --enable-debug=no --with-included-gettext

i changed the no-debug-cflags directly in configure...

now when i try to continue my saved game the following may help:

-- civserver output:

Starting game.
> 
Player 'Ausgestossene' now has AI skill level 'normal'.
Player 'Wegelagerer' now has AI skill level 'normal'.
Player 'Korsaren' now has AI skill level 'normal'.
Player 'Kopfgeldjaeger' now has AI skill level 'normal'.
Player 'Hessen' now has AI skill level 'normal'.
Player 'Theodoric' now has AI skill level 'normal'.
Player 'Alaric' now has AI skill level 'normal'.
> Segmentation fault (core dumped)

-- gdb output:

bash-2.05b$ gdb /usr/local/bin/civserver civserver.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `civserver'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libreadline.so.4...done.
Loaded symbols for /lib/libreadline.so.4
Reading symbols from /lib/libm.so.2...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /lib/libz.so.2...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  aiferry_gobyboat (pplayer=0x819e748, punit=0x8873500, dest_x=33, dest_y=74) 
at aiferry.c:460
460         if (ferryboat->ai.passenger <= 0
(gdb) bt full
#0  aiferry_gobyboat (pplayer=0x819e748, punit=0x8873500, dest_x=33, dest_y=74) 
at aiferry.c:460
        ferryboat = (struct unit *) 0x0
#1  0x0810fe0d in ai_gothere (pplayer=0x0, punit=0x8873500, dest_x=33, 
dest_y=74) at aitools.c:231
No locals.
#2  0x0809d443 in auto_settler_findwork (pplayer=0x819e748, punit=0x8873500) at 
settlers.c:1266
        gx = 33
        gy = 74
        best_newv = 144731080
        best_act = ACTIVITY_UNKNOWN
        ferryboat = (struct unit *) 0x0
#3  0x0809d904 in auto_settlers_player (pplayer=0x819e748) at settlers.c:1357
        myiter = (struct genlist_link *) 0x88abec0
        t = (struct timer *) 0x8838a40
#4  0x0809dee7 in auto_settlers () at settlers.c:1502
        pplayer = (struct player *) 0x0
        i = 1
#5  0x0804dcd3 in end_phase () at srv_main.c:558
        pplayer = (struct player *) 0x81adf54
        PI_p_itr = 8
#6  0x0804f28e in main_loop () at srv_main.c:1456
        eot_timer = (struct timer *) 0x88388e0
        save_counter = 1
        is_new_turn = true
#7  0x0804f3c0 in srv_main () at srv_main.c:1533
No locals.
#8  0x0804a299 in main (argc=135552384, argv=0xbfbfea04) at civserver.c:161
        inx = 3
        showhelp = false
        showvers = false
        option = 0x0
(gdb) 

--

hope that helps,

Eugene




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