Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2006:
[Freeciv-Dev] (PR#17775) pubserver 2.0 crash in maybe_cause_incident
Home

[Freeciv-Dev] (PR#17775) pubserver 2.0 crash in maybe_cause_incident

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#17775) pubserver 2.0 crash in maybe_cause_incident
From: "Jason Dorje Short" <jdorje@xxxxxxxxx>
Date: Fri, 9 Jun 2006 14:18:12 -0700
Reply-to: bugs@xxxxxxxxxxx

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



-------- Original Message --------
From: - Fri Jun  9 17:11:06 2006
X-Account-Key: account1
X-UIDL: GmailId10bba9f0813aa2db
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
X-Gmail-Received: b26ddd20b852163859d921698617005e4b444f74
Delivered-To: jdorje@xxxxxxxxx
Received: by 10.78.66.9 with SMTP id o9cs65633hua;        Fri, 9 Jun 
2006 14:07:33 -0700 (PDT)
Received: by 10.36.77.20 with SMTP id z20mr4761913nza;        Fri, 09 
Jun 2006 14:07:32 -0700 (PDT)
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 
17si4894435nzo.2006.06.09.14.07.29;        Fri, 09 Jun 2006 14:07:32 
-0700 (PDT)
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 
1FooCV-0002Ou-6G        for jdorje@xxxxxxxxxxxxxxxxxxxxx; Fri, 09 Jun 2006 
14:07:29 -0700
Received: from localhost ([127.0.0.1] helo=glockenspiel)        by 
glockenspiel.complete.org with esmtp    (Exim 4.50)     id 1Foo7Q-0000lY-Bc; 
Fri, 09 Jun 2006 16:02:28 -0500
Received: with ECARTIS (v1.0.0; list freeciv-dev); Fri, 09 Jun 2006 
16:02:02 -0500 (CDT)
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 1Foo73-0000ky-Jm     for freeciv-dev@xxxxxxxxxxx; Fri, 09 Jun 2006 
16:02:01 -0500
Received: from pubserver.freeciv.org (localhost.localdomain 
[127.0.0.1])    by pubserver.freeciv.org (8.12.8/8.12.8) with ESMTP id 
k59L1ZW0002215  for <freeciv-dev@xxxxxxxxxxx>; Fri, 9 Jun 2006 14:01:36 -0700
Received: (from freeciv@localhost)      by pubserver.freeciv.org 
(8.12.8/8.12.8/Submit) id k59L1Z6j002213        for freeciv-dev@xxxxxxxxxxx; 
Fri, 9 Jun 2006 14:01:35 -0700
Date: Fri, 9 Jun 2006 14:01:35 -0700
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver crashed: 
http://pubserver.freeciv.org/games/626208
Message-ID: <20060609140135.A2211@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="5vNYLRcllDrimb99"
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 Fri, 09 Jun 
2006 16:02:01 -0500
X-archive-position: 5145
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 Fri, 09 Jun 
2006 16:02:28 -0500
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.8845 in /games/626208/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/web/stable/freeciv-2.0.8+yaroserver+auth/share/freeciv
# running: (echo bt full; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/web/stable/freeciv-2.0.8+yaroserver+auth/share/freeciv/../../bin/civserver
 core.8845
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/web/stable/freeciv-2.0.8+yaroserver+auth/'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
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/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
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/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  0x400ac0a1 in kill () from /lib/libc.so.6
(gdb) #0  0x400ac0a1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x400abe99 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x400ad364 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x400a615d in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4  0x0804ba1a in real_die () at shared.c:675
        format = 0x81242a0 "Illegal diplstate in maybe_cause_incident."
#5  0x08090961 in maybe_cause_incident (action=DIPLOMAT_STEAL, 
    offender=0x81e88ac, victim_unit=0x0, victim_city=0x82cb890)
    at diplomats.c:1381
        ds = DS_TEAM
        punishment = 0
        offender = (struct player *) 0x81e88ac
        victim_city = (struct city *) 0x82cb890
        victim_player = (struct player *) 0x81e5634
        victim_tile = (struct tile *) 0x847e7f8
#6  0x0808f723 in diplomat_get_tech (pplayer=0x81e88ac, pdiplomat=0x8418638, 
    pcity=0x82cb890, technology=89) at diplomats.c:577
        pplayer = (struct player *) 0x81e88ac
        pdiplomat = (struct unit *) 0x8418638
        pcity = (struct city *) 0x82cb890
        technology = 89
        cplayer = (struct player *) 0x81e5634
        count = 47
        which = 0
        target = -1073749528
#7  0x0808bbbc in handle_unit_diplomat_action (pplayer=0x81e88ac, 
    diplomat_id=185, action_type=DIPLOMAT_STEAL, target_id=147, value=0)
    at unithand.c:267
        target_id = 137148560
        pdiplomat = (struct unit *) 0x8418638
        pvictim = (struct unit *) 0x0
        pcity = (struct city *) 0x82cb890
#8  0x0806b8c8 in server_handle_packet (type=PACKET_UNIT_DIPLOMAT_ACTION, 
    packet=0x82e7b00, pplayer=0x81e88ac, pconn=0x81556a0) at hand_gen.c:238
        packet = (void *) 0x8499f38
        pplayer = (struct player *) 0x6
        pconn = (struct connection *) 0x81556a0
#9  0x0804e84a in handle_packet_input (pconn=0x81556a0, packet=0x82e7b00, 
    type=70) at srv_main.c:997
        packet = (void *) 0x82e7b00
        type = 70
        pplayer = (struct player *) 0x81e88ac
#10 0x08087696 in sniff_packets () at sernet.c:634
        command_ok = 135616160
        packet = (void *) 0x82e7b00
        type = PACKET_UNIT_DIPLOMAT_ACTION
        result = true
        i = 61
        max_desc = 135616160
        readfs = {__fds_bits = {128, 0 <repeats 31 times>}}
        writefs = {__fds_bits = {0 <repeats 32 times>}}
        exceptfs = {__fds_bits = {0 <repeats 32 times>}}
        tv = {tv_sec = 0, tv_usec = 890000}
        year = -950
#11 0x0804f3d5 in main_loop () at srv_main.c:1564
        eot_timer = (struct timer *) 0x845c7d8
        save_counter = 1
        is_new_turn = true
#12 0x0804f555 in srv_main () at srv_main.c:1657
No locals.
#13 0x0804a18c in main (argc=16, argv=0xbffff894) at civserver.c:208
        argc = 16
[... 8 lines skipped ...]
        argv = (char **) 0xbffff894
        inx = 16
        showhelp = false
        showvers = false
        option = 0x0
#14 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) 


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#17775) pubserver 2.0 crash in maybe_cause_incident, Jason Dorje Short <=