Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2005:
[Freeciv-Dev] (PR#14728) 2.0 pubserver crash in AI hunter code
Home

[Freeciv-Dev] (PR#14728) 2.0 pubserver crash in AI hunter code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14728) 2.0 pubserver crash in AI hunter code
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Nov 2005 13:08:45 -0800
Reply-to: bugs@xxxxxxxxxxx

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



-------- Original Message --------
From: - Tue Nov 29 15:57:29 2005
X-Account-Key: account1
X-UIDL: GmailId107ddcc33d1da774
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
X-Gmail-Received: 0ca2cc53afce3ffed343bd7e727ccb046a29bab7
Delivered-To: jdorje@xxxxxxxxx
Received: by 10.65.74.10 with SMTP id b10cs3662qbl;        Tue, 29 Nov 
2005 12:52:26 -0800 (PST)
Received: by 10.37.2.53 with SMTP id e53mr4967027nzi;        Tue, 29 Nov 
2005 12:52:26 -0800 (PST)
Return-Path: <freeciv-dev-bounce@xxxxxxxxxxx>
Received: from mail.sourceforge.net (lists.sourceforge.net 
[66.35.250.206])        by mx.gmail.com with ESMTP id 
e1si852976nzd.2005.11.29.12.52.22;        Tue, 29 Nov 2005 12:52:25 
-0800 (PST)
Received-SPF: neutral (gmail.com: 66.35.250.206 is neither permitted nor 
denied by best guess record for domain of freeciv-dev-bounce@xxxxxxxxxxx)
Received: from glockenspiel.complete.org ([69.10.152.57])       by 
mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44)     id 
1EhCSY-0002hv-Rx        for jdorje@xxxxxxxxxxxxxxxxxxxxx; Tue, 29 Nov 2005 
12:52:22 -0800
Received: from localhost ([127.0.0.1] helo=glockenspiel)        by 
glockenspiel.complete.org with esmtp    (Exim 4.50)     id 1EhCPZ-0001Vj-Dq; 
Tue, 29 Nov 2005 14:49:18 -0600
Received: with ECARTIS (v1.0.0; list freeciv-dev); Tue, 29 Nov 2005 
14:49:04 -0600 (CST)
Received: from pubserver.freeciv.org ([207.158.49.131]) by 
glockenspiel.complete.org with esmtps   (with 
TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24)    (No TLS peer certificate)       (Exim 
4.50)   id 1EhCPM-0001VO-HH     for freeciv-dev@xxxxxxxxxxx; Tue, 29 Nov 2005 
14:49:02 -0600
Received: from pubserver.freeciv.org (localhost.localdomain 
[127.0.0.1])    by pubserver.freeciv.org (8.12.8/8.12.8) with ESMTP id 
jATKmTlQ031803  for <freeciv-dev@xxxxxxxxxxx>; Tue, 29 Nov 2005 12:48:30 
-0800
Received: (from freeciv@localhost)      by pubserver.freeciv.org 
(8.12.8/8.12.8/Submit) id jATKmTrV031801        for freeciv-dev@xxxxxxxxxxx; 
Tue, 29 Nov 2005 12:48:29 -0800
Date: Tue, 29 Nov 2005 12:48:29 -0800
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver crashed: 
http://pubserver.freeciv.org/games/510333
Message-ID: <20051129124829.A31799@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU"
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
X-Spam-Status: No (score 0.2): AWL=0.001, NO_REAL_NAME=0.178
X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Tue, 29 Nov 
2005 14:49:02 -0600
X-archive-position: 3352
X-ecartis-version: Ecartis v1.0.0
Sender: freeciv-dev-bounce@xxxxxxxxxxx
Errors-to: freeciv-dev-bounce@xxxxxxxxxxx
X-original-sender: freeciv@xxxxxxxxxxxxxxxxxxxxx
Precedence: bulk
List-help: <mailto:ecartis@xxxxxxxxxxx?Subject=help>
List-unsubscribe: 
<mailto:freeciv-dev-request@xxxxxxxxxxx?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: <freeciv-dev.freeciv.org>
X-List-ID: <freeciv-dev.freeciv.org>
List-subscribe: <mailto:freeciv-dev-request@xxxxxxxxxxx?Subject=subscribe>
List-owner: <mailto:freeciv-dev-admins@xxxxxxxxxxx>
List-post: <mailto:freeciv-dev@xxxxxxxxxxx>
X-list: freeciv-dev
X-Spam-Status: No (score 0.2): AWL=0.001, NO_REAL_NAME=0.178
X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Tue, 29 Nov 
2005 14:49:18 -0600
X-Spam-Score: 0.2 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.     See 
http://spamassassin.org/tag/ for more details.  Report problems to 
http://sf.net/tracker/?func=add&group_id=1&atid=200001  0.2 NO_REAL_NAME 
           From: does not include a real name



# examining core.1972 in /games/510333/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-11-29_16.00+mintimeout+original_gamelog/share/freeciv
# running: (echo bt full; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-11-29_16.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver
 core.1972
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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-redhat-linux"...
Core was generated by 
`/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-11-29_16.00+mintimeout+orig'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x400760a1 in kill () from /lib/libc.so.6
(gdb) #0  0x400760a1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x40075e99 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x40077364 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x4007015d in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4  0x080ebbff in ai_hunter_findjob (pplayer=0x82189ac, punit=0x8cdeac8)
    at aihunt.c:266
        best_id = -1
        best_val = -1
#5  0x080f14a3 in ai_military_findjob (pplayer=0x82189ac, punit=0x8cdeac8)
    at aiunit.c:1099
        pcity = (struct city *) 0x852e6b8
        acity = (struct city *) 0x0
        aunit = (struct unit *) 0x4
        val = 147712712
        def = 230400
        q = 0
        punittype = (struct unit_type *) 0x8285388
#6  0x080f2fd1 in ai_manage_military (pplayer=0x82189ac, punit=0x8cdeac8)
    at aiunit.c:2037
        pplayer = (struct player *) 0x82189ac
        punit = (struct unit *) 0x8cdeac8
        id = 1082
#7  0x080f35b2 in ai_manage_units (pplayer=0x82189ac) at aiunit.c:2208
        punit = (struct unit *) 0x0
        _ids = (int (*)[0]) 0xbfffe730
        _i = 5
        _size = 9
#8  0x0804e1d3 in ai_start_turn () at srv_main.c:464
        pplayer = (struct player *) 0x0
        i = 1
#9  0x0804e35e in begin_phase (is_new_phase=true) at srv_main.c:545
        is_new_phase = true
        pplayer = (struct player *) 0x82189ac
        PI_p_itr = 7
#10 0x0804f8b3 in main_loop () at srv_main.c:1554
        eot_timer = (struct timer *) 0x82b7f30
        save_counter = 1
        is_new_turn = true
#11 0x0804fa8d in srv_main () at srv_main.c:1673
No locals.
#12 0x0804a5f0 in main (argc=14, argv=0xbfffe8d4) at civserver.c:200
        argc = 14
        argv = (char **) 0xbfffe8d4
        inx = 14
        showhelp = false
        showvers = false
        option = 0x0
#13 0x400651c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) [... 0 lines skipped ...]



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14728) 2.0 pubserver crash in AI hunter code, Jason Short <=